From 468d72df3c8d8a3c867446a8801846079e2c98fe Mon Sep 17 00:00:00 2001 From: Olivia Liu Date: Fri, 27 Sep 2024 13:43:12 -0700 Subject: [PATCH] Fix a typo in the memory planning doc (#5723) Summary: Pull Request resolved: https://github.com/pytorch/executorch/pull/5723 Found this typo in the doc. Reviewed By: dvorjackz Differential Revision: D63500296 fbshipit-source-id: 23ba7f287324bcaaa200a8ec55d28aac919f43b8 (cherry picked from commit c1c50803103e937d04bbada39b066f3f73482d3b) --- docs/source/compiler-memory-planning.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/compiler-memory-planning.md b/docs/source/compiler-memory-planning.md index 0377ed77c31..f7bda678e4c 100644 --- a/docs/source/compiler-memory-planning.md +++ b/docs/source/compiler-memory-planning.md @@ -34,7 +34,7 @@ program = edge_program.to_executorch( memory_planning_pass=MemoryPlanningPass( memory_planning_algo="greedy", alloc_graph_input=False, # Inputs will not be memory planned, the data_ptr for input tensors after model load will be nullptr - alloc_graph_output=True, # Outputs will be memory planned, the data_ptr for input tensors after model load will be in the `planned_memory`. + alloc_graph_output=True, # Outputs will be memory planned, the data_ptr for output tensors after model load will be in the `planned_memory`. ) ) )