[doc] fix typo, codege to codegen (#4383)
authorLiang ZOU <liang.d.zou@gmail.com>
Wed, 20 Nov 2019 13:05:01 +0000 (21:05 +0800)
committermasahi <masahi129@gmail.com>
Wed, 20 Nov 2019 13:05:01 +0000 (22:05 +0900)
docs/dev/codebase_walkthrough.rst
python/tvm/relay/backend/__init__.py

index e6df9be..ffda632 100644 (file)
@@ -160,7 +160,7 @@ Next, we apply a number of lowering passes to ``stmt``. These passes are impleme
 
 After lowering is done, ``build()`` function generates target machine code from the lowered function. This code can contain SSE or AVX instructions if you target x86, or PTX instructions for CUDA target. In addition to target specific machine code, TVM also generates host side code that is responsible for memory management, kernel launch etc.
 
-Code generation is done by ``build_module()`` function, defined in ``python/tvm/codege.py``. On the C++ side, code generation is implemented in ``src/codegen`` subdirectory. ``build_module()`` Python function will reach ``Build()`` function below in ``src/codegen/codegen.cc``:
+Code generation is done by ``build_module()`` function, defined in ``python/tvm/codegen.py``. On the C++ side, code generation is implemented in ``src/codegen`` subdirectory. ``build_module()`` Python function will reach ``Build()`` function below in ``src/codegen/codegen.cc``:
 
 ::
 
index 1af8fc5..4fc2b63 100644 (file)
@@ -14,5 +14,5 @@
 # KIND, either express or implied.  See the License for the
 # specific language governing permissions and limitations
 # under the License.
-"""Backend codege modules for relay."""
+"""Backend codegen modules for relay."""
 from . import compile_engine