Skip to content

Commit 4b924da

Browse files
pytorchbotzxc503
andauthored
Modify executorch_module_static and executorch_tensor spelling problem in doc (#9995)
### Summary Modify executorch_module_static and executorch_tensor in doc to extension_module_static and extension_tensor cc @mergennachin @byjlw Co-authored-by: zxc503 <554182714@163.com>
1 parent 412b93b commit 4b924da

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

docs/source/backends-coreml.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,8 @@ add_subdirectory("executorch")
172172
target_link_libraries(
173173
my_target
174174
PRIVATE executorch
175-
executorch_module_static
176-
executorch_tensor
175+
extension_module_static
176+
extension_tensor
177177
optimized_native_cpu_ops_lib
178178
coremldelegate)
179179
```

docs/source/backends-xnnpack.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,8 @@ add_subdirectory("executorch")
128128
target_link_libraries(
129129
my_target
130130
PRIVATE executorch
131-
executorch_module_static
132-
executorch_tensor
131+
extension_module_static
132+
extension_tensor
133133
optimized_native_cpu_ops_lib
134134
xnnpack_backend)
135135
```

docs/source/getting-started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,8 @@ add_subdirectory("executorch")
172172
target_link_libraries(
173173
my_target
174174
PRIVATE executorch
175-
executorch_module_static
176-
executorch_tensor
175+
extension_module_static
176+
extension_tensor
177177
optimized_native_cpu_ops_lib
178178
xnnpack_backend)
179179
```

docs/source/using-executorch-cpp.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Running a model using the low-level runtime APIs allows for a high-degree of con
3838
3939
## Building with CMake
4040
41-
ExecuTorch uses CMake as the primary build system. Inclusion of the module and tensor APIs are controlled by the `EXECUTORCH_BUILD_EXTENSION_MODULE` and `EXECUTORCH_BUILD_EXTENSION_TENSOR` CMake options. As these APIs may not be supported on embedded systems, they are disabled by default when building from source. The low-level API surface is always included. To link, add the `executorch` target as a CMake dependency, along with `executorch_module_static` and `executorch_tensor`, if desired.
41+
ExecuTorch uses CMake as the primary build system. Inclusion of the module and tensor APIs are controlled by the `EXECUTORCH_BUILD_EXTENSION_MODULE` and `EXECUTORCH_BUILD_EXTENSION_TENSOR` CMake options. As these APIs may not be supported on embedded systems, they are disabled by default when building from source. The low-level API surface is always included. To link, add the `executorch` target as a CMake dependency, along with `extension_module_static` and `extension_tensor`, if desired.
4242
4343
```
4444
# CMakeLists.txt
@@ -47,8 +47,8 @@ add_subdirectory("executorch")
4747
target_link_libraries(
4848
my_target
4949
PRIVATE executorch
50-
executorch_module_static
51-
executorch_tensor
50+
extension_module_static
51+
extension_tensor
5252
optimized_native_cpu_ops_lib
5353
xnnpack_backend)
5454
```

0 commit comments

Comments
 (0)