You are viewing a plain text version of this content. The canonical link for it is here.
Posted to discuss-archive@tvm.apache.org by "tlopex (via GitHub)" <gi...@apache.org> on 2026/04/10 04:48:06 UTC
[PR] [Docs] Add API reference for tvm.arith, tvm.testing, tvm.exec, tvm.tirx.backend and extend topi/contrib/ir/target docs [tvm]
tlopex opened a new pull request, #19379:
URL: https://github.com/apache/tvm/pull/19379
as per title
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: discuss-archive-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: discuss-archive-unsubscribe@tvm.apache.org
For additional commands, e-mail: discuss-archive-help@tvm.apache.org
Re: [PR] [Docs] Add API reference for tvm.arith, tvm.testing, tvm.exec, tvm.tirx.backend and extend topi/contrib/ir/target docs [tvm]
Posted by "MasterJH5574 (via GitHub)" <gi...@apache.org>.
MasterJH5574 merged PR #19379:
URL: https://github.com/apache/tvm/pull/19379
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: discuss-archive-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: discuss-archive-unsubscribe@tvm.apache.org
For additional commands, e-mail: discuss-archive-help@tvm.apache.org
Re: [PR] [Docs] Add API reference for tvm.arith, tvm.testing, tvm.exec, tvm.tirx.backend and extend topi/contrib/ir/target docs [tvm]
Posted by "gemini-code-assist[bot] (via GitHub)" <gi...@apache.org>.
gemini-code-assist[bot] commented on code in PR #19379:
URL: https://github.com/apache/tvm/pull/19379#discussion_r3062102784
##########
docs/reference/api/python/index.rst:
##########
@@ -24,10 +24,13 @@ Python API
error
ir
+ arith
Review Comment:

The module `arith` is inserted out of alphabetical order. For better maintainability and navigation, the toctree entries should be sorted alphabetically (e.g., `arith` should be the first entry in this list).
##########
docs/reference/api/python/index.rst:
##########
@@ -62,6 +65,7 @@ Python API
tirx/analysis
tirx/stmt_functor
tirx/transform
+ tirx/backend
Review Comment:

The module `tirx/backend` is added at the end of the list, which breaks the alphabetical order. It should ideally follow `tirx/analysis`.
##########
docs/reference/api/python/tirx/backend.rst:
##########
@@ -0,0 +1,31 @@
+.. Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+.. http://www.apache.org/licenses/LICENSE-2.0
+
+.. Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+tvm.tirx.backend
+================
+
+tvm.tirx.backend
+*****************
+.. automodule:: tvm.tirx.backend
+ :members:
+ :imported-members:
+
+tvm.tirx.backend.adreno
+***********************
+.. automodule:: tvm.tirx.backend.adreno
+ :members:
+ :imported-members:
Review Comment:

The heading style in this file is inconsistent with other API reference files in this directory (which typically use `-` for the main title and `~` for sub-sections). Additionally, the title `tvm.tirx.backend` is redundant as it appears twice.
Please ensure the underline length matches the title length exactly.
```suggestion
tvm.tirx.backend
----------------
.. automodule:: tvm.tirx.backend
:members:
:imported-members:
tvm.tirx.backend.adreno
~~~~~~~~~~~~~~~~~~~~~~~
.. automodule:: tvm.tirx.backend.adreno
:members:
:imported-members:
```
##########
docs/reference/api/python/index.rst:
##########
@@ -24,10 +24,13 @@ Python API
error
ir
+ arith
instrument
transform
target
driver
+ testing
+ exec
Review Comment:

These entries are not sorted alphabetically. `exec` should come before `testing`.
```suggestion
exec
testing
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: discuss-archive-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: discuss-archive-unsubscribe@tvm.apache.org
For additional commands, e-mail: discuss-archive-help@tvm.apache.org