You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by tq...@apache.org on 2024/10/07 18:09:10 UTC
(tvm-site) branch asf-site updated: deploying docs (apache/tvm@abb901f08cdc646d69758eb32503dcab59a904e0)
This is an automated email from the ASF dual-hosted git repository.
tqchen pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/tvm-site.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 9fd956187e deploying docs (apache/tvm@abb901f08cdc646d69758eb32503dcab59a904e0)
9fd956187e is described below
commit 9fd956187e8c74b26e28ca3f62fb408c6aafb260
Author: tvm-bot <95...@users.noreply.github.com>
AuthorDate: Mon Oct 7 18:09:02 2024 +0000
deploying docs (apache/tvm@abb901f08cdc646d69758eb32503dcab59a904e0)
---
.../relax/tutorials/sg_execution_times.rst.txt | 6 +-
.../tensor_ir/tutorials/sg_execution_times.rst.txt | 6 +-
.../tensor_ir/tutorials/tir_transformation.rst.txt | 6 +-
.../tutorials/sg_execution_times.rst.txt | 6 +-
.../how_to/compile_models/from_darknet.rst.txt | 2 +-
.../how_to/compile_models/from_keras.rst.txt | 2 +-
.../how_to/compile_models/from_oneflow.rst.txt | 2 +-
.../how_to/compile_models/from_paddle.rst.txt | 2 +-
.../how_to/compile_models/from_pytorch.rst.txt | 2 +-
.../how_to/compile_models/from_tensorflow.rst.txt | 2 +-
.../compile_models/sg_execution_times.rst.txt | 20 +-
.../deploy_models/deploy_model_on_adreno.rst.txt | 4 +-
.../deploy_model_on_adreno_tvmc.rst.txt | 2 +-
.../deploy_models/deploy_model_on_android.rst.txt | 2 +-
.../deploy_object_detection_pytorch.rst.txt | 4 +-
.../deploy_models/deploy_prequantized.rst.txt | 6 +-
.../deploy_prequantized_tflite.rst.txt | 2 +-
.../deploy_models/sg_execution_times.rst.txt | 18 +-
.../how_to/extend_tvm/sg_execution_times.rst.txt | 6 +-
.../how_to/extend_tvm/use_pass_instrument.rst.txt | 16 +-
.../optimize_operators/opt_conv_cuda.rst.txt | 2 +-
.../optimize_operators/opt_conv_tensorcore.rst.txt | 2 +-
.../how_to/optimize_operators/opt_gemm.rst.txt | 16 +-
.../optimize_operators/sg_execution_times.rst.txt | 8 +-
.../sg_execution_times.rst.txt | 14 +-
.../tune_conv2d_layer_cuda.rst.txt | 2 +-
.../tune_network_cuda.rst.txt | 4 +-
.../tune_network_x86.rst.txt | 4 +-
.../tune_with_autotvm/sg_execution_times.rst.txt | 12 +-
.../tune_with_autotvm/tune_conv2d_cuda.rst.txt | 2 +-
.../tutorials/cross_compilation_and_rpc.rst.txt | 2 +-
.../_sources/how_to/tutorials/optimize_llm.rst.txt | 2 +-
.../how_to/tutorials/sg_execution_times.rst.txt | 10 +-
.../work_with_microtvm/micro_autotune.rst.txt | 18 +-
.../work_with_microtvm/micro_pytorch.rst.txt | 4 +-
.../how_to/work_with_microtvm/micro_train.rst.txt | 16 +-
.../work_with_microtvm/sg_execution_times.rst.txt | 14 +-
.../work_with_relay/sg_execution_times.rst.txt | 8 +-
.../work_with_schedules/sg_execution_times.rst.txt | 16 +-
.../tutorials/frontend/deploy_detection.rst.txt | 4 +-
.../tutorials/frontend/sg_execution_times.rst.txt | 4 +-
.../tutorials/optimize/sg_execution_times.rst.txt | 6 +-
.../topic/vta/tutorials/sg_execution_times.rst.txt | 6 +-
.../tutorial/auto_scheduler_matmul_x86.rst.txt | 4 +-
docs/_sources/tutorial/autotvm_matmul_x86.rst.txt | 20 +-
docs/_sources/tutorial/autotvm_relay_x86.rst.txt | 62 +-
docs/_sources/tutorial/intro_topi.rst.txt | 2 +-
docs/_sources/tutorial/sg_execution_times.rst.txt | 20 +-
.../tutorial/tensor_expr_get_started.rst.txt | 51 +-
docs/commit_hash | 2 +-
docs/deep_dive/relax/tutorials/relax_creation.html | 16 +-
.../relax/tutorials/relax_transformation.html | 15 +-
.../relax/tutorials/sg_execution_times.html | 6 +-
.../tensor_ir/tutorials/sg_execution_times.html | 6 +-
.../tensor_ir/tutorials/tir_creation.html | 24 +-
.../tensor_ir/tutorials/tir_transformation.html | 23 +-
docs/genindex.html | 4 +
docs/get_started/tutorials/sg_execution_times.html | 6 +-
docs/how_to/compile_models/from_darknet.html | 2 +-
docs/how_to/compile_models/from_keras.html | 2 +-
docs/how_to/compile_models/from_oneflow.html | 18 +-
docs/how_to/compile_models/from_paddle.html | 2 +-
docs/how_to/compile_models/from_pytorch.html | 20 +-
docs/how_to/compile_models/from_tensorflow.html | 2 +-
docs/how_to/compile_models/sg_execution_times.html | 20 +-
.../deploy_models/deploy_model_on_adreno.html | 4 +-
.../deploy_models/deploy_model_on_adreno_tvmc.html | 19 +-
.../deploy_models/deploy_model_on_android.html | 2 +-
.../deploy_object_detection_pytorch.html | 22 +-
docs/how_to/deploy_models/deploy_prequantized.html | 6 +-
.../deploy_models/deploy_prequantized_tflite.html | 2 +-
docs/how_to/deploy_models/sg_execution_times.html | 18 +-
docs/how_to/extend_tvm/sg_execution_times.html | 6 +-
docs/how_to/extend_tvm/use_pass_instrument.html | 16 +-
docs/how_to/optimize_operators/opt_conv_cuda.html | 2 +-
.../optimize_operators/opt_conv_tensorcore.html | 2 +-
docs/how_to/optimize_operators/opt_gemm.html | 16 +-
.../optimize_operators/sg_execution_times.html | 8 +-
.../sg_execution_times.html | 14 +-
.../tune_conv2d_layer_cuda.html | 2 +-
.../tune_with_autoscheduler/tune_network_cuda.html | 4 +-
.../tune_with_autoscheduler/tune_network_x86.html | 4 +-
.../tune_with_autotvm/sg_execution_times.html | 12 +-
.../how_to/tune_with_autotvm/tune_conv2d_cuda.html | 2 +-
.../tutorials/cross_compilation_and_rpc.html | 2 +-
docs/how_to/tutorials/optimize_llm.html | 2 +-
docs/how_to/tutorials/sg_execution_times.html | 14 +-
docs/how_to/work_with_microtvm/micro_autotune.html | 18 +-
docs/how_to/work_with_microtvm/micro_pytorch.html | 4 +-
docs/how_to/work_with_microtvm/micro_train.html | 16 +-
.../work_with_microtvm/sg_execution_times.html | 14 +-
.../how_to/work_with_relay/sg_execution_times.html | 8 +-
.../work_with_schedules/sg_execution_times.html | 16 +-
docs/objects.inv | Bin 31169 -> 31181 bytes
docs/reference/api/python/auto_scheduler.html | 174 ++---
docs/reference/api/python/autotvm.html | 340 ++++-----
docs/reference/api/python/contrib.html | 360 +++++-----
docs/reference/api/python/dlight.html | 32 +-
docs/reference/api/python/driver.html | 16 +-
docs/reference/api/python/error.html | 2 +-
docs/reference/api/python/graph_executor.html | 42 +-
docs/reference/api/python/instrument.html | 10 +-
docs/reference/api/python/ir.html | 194 ++---
docs/reference/api/python/meta_schedule.html | 160 ++---
docs/reference/api/python/micro.html | 60 +-
docs/reference/api/python/relax/analysis.html | 20 +-
docs/reference/api/python/relax/block_builder.html | 50 +-
docs/reference/api/python/relax/frontend.html | 638 ++++++++---------
docs/reference/api/python/relax/op.html | 696 +++++++++---------
docs/reference/api/python/relax/relax.html | 266 +++----
docs/reference/api/python/relax/transform.html | 154 ++--
docs/reference/api/python/relay/analysis.html | 26 +-
docs/reference/api/python/relay/backend.html | 10 +-
.../api/python/relay/dataflow_pattern.html | 74 +-
docs/reference/api/python/relay/frontend.html | 34 +-
docs/reference/api/python/relay/image.html | 56 +-
docs/reference/api/python/relay/index.html | 302 ++++----
docs/reference/api/python/relay/nn.html | 492 ++++++-------
docs/reference/api/python/relay/testing.html | 152 ++--
docs/reference/api/python/relay/transform.html | 74 +-
docs/reference/api/python/relay/vision.html | 62 +-
docs/reference/api/python/rpc.html | 90 +--
docs/reference/api/python/runtime/disco.html | 76 +-
docs/reference/api/python/runtime/ndarray.html | 44 +-
docs/reference/api/python/runtime/profiling.html | 34 +-
docs/reference/api/python/runtime/relax_vm.html | 48 +-
docs/reference/api/python/target.html | 70 +-
docs/reference/api/python/te.html | 100 +--
docs/reference/api/python/tir/analysis.html | 52 +-
docs/reference/api/python/tir/schedule.html | 338 ++++-----
docs/reference/api/python/tir/stmt_functor.html | 2 +-
docs/reference/api/python/tir/tir.html | 358 +++++-----
docs/reference/api/python/tir/transform.html | 48 +-
docs/reference/api/python/topi.html | 782 ++++++++++-----------
docs/reference/api/python/transform.html | 34 +-
.../api/typedoc/classes/ArtifactCache.html | 14 +-
.../typedoc/classes/ArtifactIndexedDBCache.html | 16 +-
docs/reference/api/typedoc/classes/DLDataType.html | 14 +-
docs/reference/api/typedoc/classes/DLDevice.html | 12 +-
docs/reference/api/typedoc/classes/Instance.html | 116 +--
.../classes/LinearCongruentialGenerator.html | 16 +-
docs/reference/api/typedoc/classes/Module.html | 12 +-
docs/reference/api/typedoc/classes/NDArray.html | 30 +-
docs/reference/api/typedoc/classes/RPCServer.html | 16 +-
docs/reference/api/typedoc/classes/Scalar.html | 8 +-
docs/reference/api/typedoc/classes/TVMArray.html | 16 +-
docs/reference/api/typedoc/classes/TVMObject.html | 12 +-
.../api/typedoc/classes/VirtualMachine.html | 10 +-
.../classes/_internal_.AsyncifyHandler.html | 12 +-
.../classes/_internal_.CachedCallStack.html | 36 +-
.../classes/_internal_.CanvasRenderManager.html | 10 +-
.../typedoc/classes/_internal_.Environment.html | 14 +-
.../api/typedoc/classes/_internal_.FFILibrary.html | 22 +-
.../api/typedoc/classes/_internal_.Memory.html | 36 +-
.../typedoc/classes/_internal_.PackedFuncCell.html | 8 +-
.../typedoc/classes/_internal_.RuntimeContext.html | 60 +-
.../api/typedoc/classes/_internal_.TVMString.html | 14 +-
.../typedoc/classes/_internal_.WebGPUContext.html | 28 +-
.../enums/_internal_.AsyncifyStateKind.html | 8 +-
.../typedoc/enums/_internal_.RPCServerState.html | 14 +-
docs/reference/api/typedoc/functions/assert.html | 2 +-
.../api/typedoc/functions/createPolyfillWASI.html | 2 +-
.../api/typedoc/functions/deleteNDArrayCache.html | 2 +-
.../api/typedoc/functions/detectGPUDevice.html | 2 +-
.../api/typedoc/functions/hasNDArrayInCache.html | 2 +-
.../api/typedoc/functions/instantiate.html | 2 +-
docs/reference/api/typedoc/functions/wasmPath.html | 2 +-
.../typedoc/interfaces/ArtifactCacheTemplate.html | 10 +-
.../api/typedoc/interfaces/Disposable.html | 4 +-
.../typedoc/interfaces/GPUDeviceDetectOutput.html | 8 +-
.../api/typedoc/interfaces/InitProgressReport.html | 8 +-
.../api/typedoc/interfaces/LibraryProvider.html | 6 +-
.../interfaces/_internal_.FunctionInfo.html | 8 +-
.../interfaces/_internal_.NDArrayCacheEntry.html | 14 +-
.../interfaces/_internal_.NDArrayShardEntry.html | 10 +-
.../api/typedoc/types/InitProgressCallback.html | 2 +-
docs/reference/api/typedoc/types/PackedFunc.html | 2 +-
.../typedoc/types/_internal_.AsyncPackedFunc.html | 2 +-
.../types/_internal_.FObjectConstructor.html | 2 +-
.../types/_internal_.FTVMWasmAllocSpace.html | 2 +-
.../types/_internal_.FTVMWasmFreeSpace.html | 2 +-
.../types/_internal_.FTVMWasmPackedCFunc.html | 2 +-
.../api/typedoc/types/_internal_.Pointer.html | 2 +-
.../typedoc/types/_internal_.TVMObjectBase.html | 2 +-
docs/searchindex.js | 2 +-
.../vta/tutorials/frontend/deploy_detection.html | 4 +-
.../vta/tutorials/frontend/sg_execution_times.html | 4 +-
.../vta/tutorials/optimize/sg_execution_times.html | 6 +-
docs/topic/vta/tutorials/sg_execution_times.html | 6 +-
docs/tutorial/auto_scheduler_matmul_x86.html | 4 +-
docs/tutorial/autotvm_matmul_x86.html | 20 +-
docs/tutorial/autotvm_relay_x86.html | 269 +++----
docs/tutorial/intro_topi.html | 2 +-
docs/tutorial/sg_execution_times.html | 26 +-
docs/tutorial/tensor_expr_get_started.html | 47 +-
195 files changed, 4258 insertions(+), 4232 deletions(-)
diff --git a/docs/_sources/deep_dive/relax/tutorials/sg_execution_times.rst.txt b/docs/_sources/deep_dive/relax/tutorials/sg_execution_times.rst.txt
index 720993eaa5..84176c6f2e 100644
--- a/docs/_sources/deep_dive/relax/tutorials/sg_execution_times.rst.txt
+++ b/docs/_sources/deep_dive/relax/tutorials/sg_execution_times.rst.txt
@@ -5,10 +5,10 @@
Computation times
=================
-**00:00.277** total execution time for **deep_dive_relax_tutorials** files:
+**00:00.298** total execution time for **deep_dive_relax_tutorials** files:
+-------------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_deep_dive_relax_tutorials_relax_creation.py` (``relax_creation.py``) | 00:00.192 | 0.0 MB |
+| :ref:`sphx_glr_deep_dive_relax_tutorials_relax_creation.py` (``relax_creation.py``) | 00:00.210 | 0.0 MB |
+-------------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_deep_dive_relax_tutorials_relax_transformation.py` (``relax_transformation.py``) | 00:00.085 | 0.0 MB |
+| :ref:`sphx_glr_deep_dive_relax_tutorials_relax_transformation.py` (``relax_transformation.py``) | 00:00.088 | 0.0 MB |
+-------------------------------------------------------------------------------------------------+-----------+--------+
diff --git a/docs/_sources/deep_dive/tensor_ir/tutorials/sg_execution_times.rst.txt b/docs/_sources/deep_dive/tensor_ir/tutorials/sg_execution_times.rst.txt
index 520256a720..394177a699 100644
--- a/docs/_sources/deep_dive/tensor_ir/tutorials/sg_execution_times.rst.txt
+++ b/docs/_sources/deep_dive/tensor_ir/tutorials/sg_execution_times.rst.txt
@@ -5,10 +5,10 @@
Computation times
=================
-**00:00.591** total execution time for **deep_dive_tensor_ir_tutorials** files:
+**00:00.624** total execution time for **deep_dive_tensor_ir_tutorials** files:
+-------------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_deep_dive_tensor_ir_tutorials_tir_transformation.py` (``tir_transformation.py``) | 00:00.340 | 0.0 MB |
+| :ref:`sphx_glr_deep_dive_tensor_ir_tutorials_tir_transformation.py` (``tir_transformation.py``) | 00:00.355 | 0.0 MB |
+-------------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_deep_dive_tensor_ir_tutorials_tir_creation.py` (``tir_creation.py``) | 00:00.251 | 0.0 MB |
+| :ref:`sphx_glr_deep_dive_tensor_ir_tutorials_tir_creation.py` (``tir_creation.py``) | 00:00.269 | 0.0 MB |
+-------------------------------------------------------------------------------------------------+-----------+--------+
diff --git a/docs/_sources/deep_dive/tensor_ir/tutorials/tir_transformation.rst.txt b/docs/_sources/deep_dive/tensor_ir/tutorials/tir_transformation.rst.txt
index f98833ee3a..a8c060043d 100644
--- a/docs/_sources/deep_dive/tensor_ir/tutorials/tir_transformation.rst.txt
+++ b/docs/_sources/deep_dive/tensor_ir/tutorials/tir_transformation.rst.txt
@@ -123,7 +123,7 @@ original implementation.
Execution time summary:
mean (ms) median (ms) max (ms) min (ms) std (ms)
- 2.3338 2.3338 2.3338 2.3338 0.0000
+ 2.3249 2.3249 2.3249 2.3249 0.0000
@@ -295,7 +295,7 @@ action involves reordering these two loops.
Execution time summary:
mean (ms) median (ms) max (ms) min (ms) std (ms)
- 1.0076 1.0076 1.0076 1.0076 0.0000
+ 1.0170 1.0170 1.0170 1.0170 0.0000
@@ -423,7 +423,7 @@ from the reduction update via the **decompose_reduction** primitive.
Execution time summary:
mean (ms) median (ms) max (ms) min (ms) std (ms)
- 0.3318 0.3318 0.3318 0.3318 0.0000
+ 0.3301 0.3301 0.3301 0.3301 0.0000
diff --git a/docs/_sources/get_started/tutorials/sg_execution_times.rst.txt b/docs/_sources/get_started/tutorials/sg_execution_times.rst.txt
index 191464b5b3..24f461b206 100644
--- a/docs/_sources/get_started/tutorials/sg_execution_times.rst.txt
+++ b/docs/_sources/get_started/tutorials/sg_execution_times.rst.txt
@@ -5,10 +5,10 @@
Computation times
=================
-**00:02.395** total execution time for **get_started_tutorials** files:
+**00:02.431** total execution time for **get_started_tutorials** files:
+---------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_get_started_tutorials_ir_module.py` (``ir_module.py``) | 00:02.188 | 0.0 MB |
+| :ref:`sphx_glr_get_started_tutorials_ir_module.py` (``ir_module.py``) | 00:02.217 | 0.0 MB |
+---------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_get_started_tutorials_quick_start.py` (``quick_start.py``) | 00:00.207 | 0.0 MB |
+| :ref:`sphx_glr_get_started_tutorials_quick_start.py` (``quick_start.py``) | 00:00.214 | 0.0 MB |
+---------------------------------------------------------------------------+-----------+--------+
diff --git a/docs/_sources/how_to/compile_models/from_darknet.rst.txt b/docs/_sources/how_to/compile_models/from_darknet.rst.txt
index 1bd1854369..a5f3079a92 100644
--- a/docs/_sources/how_to/compile_models/from_darknet.rst.txt
+++ b/docs/_sources/how_to/compile_models/from_darknet.rst.txt
@@ -318,7 +318,7 @@ The process is no different from other examples.
.. rst-class:: sphx-glr-timing
- **Total running time of the script:** ( 1 minutes 37.122 seconds)
+ **Total running time of the script:** ( 1 minutes 40.093 seconds)
.. _sphx_glr_download_how_to_compile_models_from_darknet.py:
diff --git a/docs/_sources/how_to/compile_models/from_keras.rst.txt b/docs/_sources/how_to/compile_models/from_keras.rst.txt
index b392ec7e4f..772af53d1d 100644
--- a/docs/_sources/how_to/compile_models/from_keras.rst.txt
+++ b/docs/_sources/how_to/compile_models/from_keras.rst.txt
@@ -232,7 +232,7 @@ Look up prediction top 1 index in 1000 class synset.
.. code-block:: none
Relay top-1 id: 285, class name: Egyptian cat
- 1/1 [==============================] - ETA: 0s 1/1 [==============================] - 1s 936ms/step
+ 1/1 [==============================] - ETA: 0s 1/1 [==============================] - 1s 950ms/step
Keras top-1 id: 285, class name: Egyptian cat
diff --git a/docs/_sources/how_to/compile_models/from_oneflow.rst.txt b/docs/_sources/how_to/compile_models/from_oneflow.rst.txt
index 620f3cdb97..4fb9f815af 100644
--- a/docs/_sources/how_to/compile_models/from_oneflow.rst.txt
+++ b/docs/_sources/how_to/compile_models/from_oneflow.rst.txt
@@ -121,7 +121,7 @@ Load a pretrained OneFlow model and save model
.. code-block:: none
Downloading: "https://oneflow-public.oss-cn-beijing.aliyuncs.com/model_zoo/flowvision/classification/ResNet/resnet18.zip" to /workspace/.oneflow/flowvision_cache/resnet18.zip
- 0%| | 0.00/41.5M [00:00<?, ?B/s] 19%|#9 | 7.99M/41.5M [00:00<00:00, 43.5MB/s] 35%|###4 | 14.3M/41.5M [00:00<00:00, 34.6MB/s] 43%|####2 | 17.7M/41.5M [00:00<00:00, 32.0MB/s] 54%|#####3 | 22.3M/41.5M [00:00<00:00, 27.4MB/s] 70%|####### | 29.2M/41.5M [00:00<00:00, 37.6MB/s] 80%|######## | 33.4M/41.5M [00:01<00:00, 33.1MB/s] 92%|#########2| 38.3M/41.5M [00:01<00:00, 29.7MB/s] 100%|##########| 41.5M/41.5M [00:01<00:00, 29.6MB/s] 100%|##########| 41.5M/41.5M [00:01<00:00, 31.7MB/s]
+ 0%| | 0.00/41.5M [00:00<?, ?B/s] 15%|#5 | 6.33M/41.5M [00:00<00:00, 61.3MB/s] 29%|##9 | 12.2M/41.5M [00:00<00:00, 50.5MB/s] 41%|####1 | 17.1M/41.5M [00:00<00:00, 28.6MB/s] 54%|#####3 | 22.3M/41.5M [00:00<00:00, 31.3MB/s] 62%|######2 | 25.8M/41.5M [00:00<00:00, 30.4MB/s] 77%|#######7 | 32.0M/41.5M [00:01<00:00, 31.1MB/s] 85%|########4 | 35.1M/41.5M [00:01<00:00, 31.3MB/s] 92%|#########2| 38.3M/41.5M [00:01<00:00, 29.4MB/s] 100%|##########| 41.5M/41.5M [00:01<00:00, 32.3MB/s]
diff --git a/docs/_sources/how_to/compile_models/from_paddle.rst.txt b/docs/_sources/how_to/compile_models/from_paddle.rst.txt
index 68dd21c80c..8edd991f01 100644
--- a/docs/_sources/how_to/compile_models/from_paddle.rst.txt
+++ b/docs/_sources/how_to/compile_models/from_paddle.rst.txt
@@ -209,7 +209,7 @@ Look up prediction top 1 index in 1000 class synset.
.. rst-class:: sphx-glr-timing
- **Total running time of the script:** ( 1 minutes 7.244 seconds)
+ **Total running time of the script:** ( 1 minutes 6.446 seconds)
.. _sphx_glr_download_how_to_compile_models_from_paddle.py:
diff --git a/docs/_sources/how_to/compile_models/from_pytorch.rst.txt b/docs/_sources/how_to/compile_models/from_pytorch.rst.txt
index 21e485c397..aae1a09124 100644
--- a/docs/_sources/how_to/compile_models/from_pytorch.rst.txt
+++ b/docs/_sources/how_to/compile_models/from_pytorch.rst.txt
@@ -101,7 +101,7 @@ Load a pretrained PyTorch model
/venv/apache-tvm-py3.8/lib/python3.8/site-packages/torchvision/models/_utils.py:223: UserWarning: Arguments other than a weight enum or `None` for 'weights' are deprecated since 0.13 and may be removed in the future. The current behavior is equivalent to passing `weights=ResNet18_Weights.IMAGENET1K_V1`. You can also use `weights=ResNet18_Weights.DEFAULT` to get the most up-to-date weights.
warnings.warn(msg)
Downloading: "https://download.pytorch.org/models/resnet18-f37072fd.pth" to /workspace/.cache/torch/hub/checkpoints/resnet18-f37072fd.pth
- 0%| | 0.00/44.7M [00:00<?, ?B/s] 6%|5 | 2.62M/44.7M [00:00<00:01, 27.1MB/s] 12%|#2 | 5.38M/44.7M [00:00<00:01, 27.4MB/s] 18%|#8 | 8.12M/44.7M [00:00<00:01, 27.3MB/s] 24%|##4 | 10.8M/44.7M [00:00<00:01, 27.2MB/s] 30%|### | 13.5M/44.7M [00:00<00:01, 27.7MB/s] 36%|###6 | 16.2M/44.7M [00:00<00:01, 27.8MB/s] 43%|####2 | 19.0M/44.7M [00:00<00:00, 28.1MB/s] 49%|####8 | 21.8M/44.7M [00:00<00:00, 27.2MB/s] 55%|#####4 | 24.5M/44.7M [00:00<00:00, 27.4MB/s] 61%|######1 | 27.2M/44.7M [00:01<00:00, 27.4MB/s] 67%|######7 | 30.1M/44.7M [00:01<00:00, 27.5MB/s] 74%|#######3 | 32.9M/44.7M [00:01<00:00, 27.7MB/s] 80%|#######9 | 35.6M/44.7M [00:01<00:00, 27.8MB/s] 86%|########5 | 38.4M/44.7M [00:01<00:00, 27.7MB/s] 92%|#########2| 41.1M/44.7M [00:01<00:00, 27.3MB/s] 98%|#########8| 43.9M/44.7M [00:01<00:00, 27.4MB/s] 100%|##########| 44.7M/44.7M [00
:01<00:00, 27.5MB/s]
+ 0%| | 0.00/44.7M [00:00<?, ?B/s] 25%|##4 | 11.0M/44.7M [00:00<00:00, 115MB/s] 64%|######4 | 28.6M/44.7M [00:00<00:00, 156MB/s] 100%|##########| 44.7M/44.7M [00:00<00:00, 162MB/s]
diff --git a/docs/_sources/how_to/compile_models/from_tensorflow.rst.txt b/docs/_sources/how_to/compile_models/from_tensorflow.rst.txt
index f1ef4dc4a3..ac44af9c07 100644
--- a/docs/_sources/how_to/compile_models/from_tensorflow.rst.txt
+++ b/docs/_sources/how_to/compile_models/from_tensorflow.rst.txt
@@ -424,7 +424,7 @@ Run the corresponding model on tensorflow
.. rst-class:: sphx-glr-timing
- **Total running time of the script:** ( 1 minutes 35.917 seconds)
+ **Total running time of the script:** ( 1 minutes 34.009 seconds)
.. _sphx_glr_download_how_to_compile_models_from_tensorflow.py:
diff --git a/docs/_sources/how_to/compile_models/sg_execution_times.rst.txt b/docs/_sources/how_to/compile_models/sg_execution_times.rst.txt
index 3c43c40fa8..869e03eb8d 100644
--- a/docs/_sources/how_to/compile_models/sg_execution_times.rst.txt
+++ b/docs/_sources/how_to/compile_models/sg_execution_times.rst.txt
@@ -5,24 +5,24 @@
Computation times
=================
-**07:03.475** total execution time for **how_to_compile_models** files:
+**07:02.385** total execution time for **how_to_compile_models** files:
+-----------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_how_to_compile_models_from_darknet.py` (``from_darknet.py``) | 01:37.122 | 0.0 MB |
+| :ref:`sphx_glr_how_to_compile_models_from_darknet.py` (``from_darknet.py``) | 01:40.093 | 0.0 MB |
+-----------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_how_to_compile_models_from_tensorflow.py` (``from_tensorflow.py``) | 01:35.917 | 0.0 MB |
+| :ref:`sphx_glr_how_to_compile_models_from_tensorflow.py` (``from_tensorflow.py``) | 01:34.009 | 0.0 MB |
+-----------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_how_to_compile_models_from_paddle.py` (``from_paddle.py``) | 01:07.244 | 0.0 MB |
+| :ref:`sphx_glr_how_to_compile_models_from_paddle.py` (``from_paddle.py``) | 01:06.446 | 0.0 MB |
+-----------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_how_to_compile_models_from_oneflow.py` (``from_oneflow.py``) | 00:45.866 | 0.0 MB |
+| :ref:`sphx_glr_how_to_compile_models_from_oneflow.py` (``from_oneflow.py``) | 00:48.906 | 0.0 MB |
+-----------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_how_to_compile_models_from_coreml.py` (``from_coreml.py``) | 00:41.926 | 0.0 MB |
+| :ref:`sphx_glr_how_to_compile_models_from_coreml.py` (``from_coreml.py``) | 00:41.442 | 0.0 MB |
+-----------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_how_to_compile_models_from_pytorch.py` (``from_pytorch.py``) | 00:31.554 | 0.0 MB |
+| :ref:`sphx_glr_how_to_compile_models_from_pytorch.py` (``from_pytorch.py``) | 00:29.263 | 0.0 MB |
+-----------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_how_to_compile_models_from_keras.py` (``from_keras.py``) | 00:27.923 | 0.0 MB |
+| :ref:`sphx_glr_how_to_compile_models_from_keras.py` (``from_keras.py``) | 00:26.225 | 0.0 MB |
+-----------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_how_to_compile_models_from_tflite.py` (``from_tflite.py``) | 00:12.944 | 0.0 MB |
+| :ref:`sphx_glr_how_to_compile_models_from_tflite.py` (``from_tflite.py``) | 00:12.802 | 0.0 MB |
+-----------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_how_to_compile_models_from_onnx.py` (``from_onnx.py``) | 00:02.979 | 0.0 MB |
+| :ref:`sphx_glr_how_to_compile_models_from_onnx.py` (``from_onnx.py``) | 00:03.199 | 0.0 MB |
+-----------------------------------------------------------------------------------+-----------+--------+
diff --git a/docs/_sources/how_to/deploy_models/deploy_model_on_adreno.rst.txt b/docs/_sources/how_to/deploy_models/deploy_model_on_adreno.rst.txt
index c0b1c57450..b1e1c8da66 100644
--- a/docs/_sources/how_to/deploy_models/deploy_model_on_adreno.rst.txt
+++ b/docs/_sources/how_to/deploy_models/deploy_model_on_adreno.rst.txt
@@ -664,7 +664,7 @@ well as provides information about the model's performance
Evaluate inference time cost...
Execution time summary:
mean (ms) median (ms) max (ms) min (ms) std (ms)
- 3992.5726 3992.1465 3995.8232 3990.8037 1.3786
+ 4126.3164 4124.7649 4131.2203 4124.4825 2.2224
@@ -672,7 +672,7 @@ well as provides information about the model's performance
.. rst-class:: sphx-glr-timing
- **Total running time of the script:** ( 1 minutes 19.499 seconds)
+ **Total running time of the script:** ( 1 minutes 23.506 seconds)
.. _sphx_glr_download_how_to_deploy_models_deploy_model_on_adreno.py:
diff --git a/docs/_sources/how_to/deploy_models/deploy_model_on_adreno_tvmc.rst.txt b/docs/_sources/how_to/deploy_models/deploy_model_on_adreno_tvmc.rst.txt
index f543493f87..7a657ca5b3 100644
--- a/docs/_sources/how_to/deploy_models/deploy_model_on_adreno_tvmc.rst.txt
+++ b/docs/_sources/how_to/deploy_models/deploy_model_on_adreno_tvmc.rst.txt
@@ -127,7 +127,7 @@ Make a Keras Resnet50 Model
.. code-block:: none
Downloading data from https://storage.googleapis.com/tensorflow/keras-applications/resnet/resnet50_weights_tf_dim_ordering_tf_kernels.h5
- 8192/102967424 [..............................] - ETA: 0s 3768320/102967424 [>.............................] - ETA: 1s 8241152/102967424 [=>............................] - ETA: 1s 8380416/102967424 [=>............................] - ETA: 2s 15024128/102967424 [===>..........................] - ETA: 2s 16769024/102967424 [===>..........................] - ETA: 2s 24969216/102967424 [======>.......................] - ETA: 1s 25157632/102967424 [======>.......................] - ETA: 2s
33546240/102967424 [========>.....................] - ETA: 1s 40189952/102967424 [==========>...................] - ETA: 1s 41934848/102967424 [===========>..................] - ETA: 1s 48578560/102967424 [=============>................] - ETA: 1s 50323456/102967424 [=============>................] - ETA: 1s 58712064/102967424 [================>.............] - ETA: 1s 65355776/102967424 [==================>...........] - ETA: 0s 67100672/102967424 [==================>...........] -
ETA: 0s 69296128/102967424 [===================>..........] - ETA: 0s 73744384/102967424 [====================>.........] - ETA: 0s 75489280/102967424 [====================>.........] - ETA: 0s 82124800/102967424 [======================>.......] - ETA: 0s 83877888/102967424 [=======================>......] - ETA: 0s 90521600/102967424 [=========================>....] - ETA: 0s 92266496/102967424 [=========================>....] - ETA: 0s 98910208/102967424
[===========================>..] - ETA: 0s 100646912/102967424 [============================>.] - ETA: 0s 102967424/102967424 [==============================] - 3s 0us/step
+ 8192/102967424 [..............................] - ETA: 0s 8380416/102967424 [=>............................] - ETA: 2s 15024128/102967424 [===>..........................] - ETA: 1s 16769024/102967424 [===>..........................] - ETA: 1s 23412736/102967424 [=====>........................] - ETA: 1s 25157632/102967424 [======>.......................] - ETA: 2s 25296896/102967424 [======>.......................] - ETA: 2s 33546240/102967424 [========>.....................] - ETA: 1s
40189952/102967424 [==========>...................] - ETA: 1s 41934848/102967424 [===========>..................] - ETA: 1s 48578560/102967424 [=============>................] - ETA: 1s 50323456/102967424 [=============>................] - ETA: 1s 58712064/102967424 [================>.............] - ETA: 1s 65355776/102967424 [==================>...........] - ETA: 1s 67100672/102967424 [==================>...........] - ETA: 0s 69296128/102967424 [===================>..........] -
ETA: 0s 75489280/102967424 [====================>.........] - ETA: 0s 83058688/102967424 [=======================>......] - ETA: 0s 83877888/102967424 [=======================>......] - ETA: 0s 86073344/102967424 [========================>.....] - ETA: 0s 91045888/102967424 [=========================>....] - ETA: 0s 92266496/102967424 [=========================>....] - ETA: 0s 98910208/102967424 [===========================>..] - ETA: 0s 100646912/102967424
[============================>.] - ETA: 0s 102293504/102967424 [============================>.] - ETA: 0s 102850560/102967424 [============================>.] - ETA: 0s 102967424/102967424 [==============================] - 3s 0us/step
diff --git a/docs/_sources/how_to/deploy_models/deploy_model_on_android.rst.txt b/docs/_sources/how_to/deploy_models/deploy_model_on_android.rst.txt
index 08ea1220e5..1ca6b825f6 100644
--- a/docs/_sources/how_to/deploy_models/deploy_model_on_android.rst.txt
+++ b/docs/_sources/how_to/deploy_models/deploy_model_on_android.rst.txt
@@ -437,7 +437,7 @@ Execute on TVM
Evaluate inference time cost...
Execution time summary:
mean (ms) median (ms) max (ms) min (ms) std (ms)
- 15.0040 14.9232 15.5574 14.7695 0.2377
+ 16.2193 16.1647 16.7327 15.9373 0.2142
diff --git a/docs/_sources/how_to/deploy_models/deploy_object_detection_pytorch.rst.txt b/docs/_sources/how_to/deploy_models/deploy_object_detection_pytorch.rst.txt
index 70d6d589b7..37d16182f7 100644
--- a/docs/_sources/how_to/deploy_models/deploy_object_detection_pytorch.rst.txt
+++ b/docs/_sources/how_to/deploy_models/deploy_object_detection_pytorch.rst.txt
@@ -130,7 +130,7 @@ Load pre-trained maskrcnn from torchvision and do tracing
/venv/apache-tvm-py3.8/lib/python3.8/site-packages/torchvision/models/_utils.py:223: UserWarning: Arguments other than a weight enum or `None` for 'weights' are deprecated since 0.13 and may be removed in the future. The current behavior is equivalent to passing `weights=MaskRCNN_ResNet50_FPN_Weights.COCO_V1`. You can also use `weights=MaskRCNN_ResNet50_FPN_Weights.DEFAULT` to get the most up-to-date weights.
warnings.warn(msg)
Downloading: "https://download.pytorch.org/models/maskrcnn_resnet50_fpn_coco-bf2d0c1e.pth" to /workspace/.cache/torch/hub/checkpoints/maskrcnn_resnet50_fpn_coco-bf2d0c1e.pth
- 0%| | 0.00/170M [00:00<?, ?B/s] 8%|8 | 13.8M/170M [00:00<00:01, 144MB/s] 20%|#9 | 33.1M/170M [00:00<00:00, 179MB/s] 31%|### | 52.5M/170M [00:00<00:00, 189MB/s] 43%|####2 | 72.2M/170M [00:00<00:00, 196MB/s] 54%|#####3 | 91.6M/170M [00:00<00:00, 198MB/s] 65%|######5 | 111M/170M [00:00<00:00, 200MB/s] 77%|#######7 | 131M/170M [00:00<00:00, 202MB/s] 89%|########8 | 151M/170M [00:00<00:00, 204MB/s] 100%|##########| 170M/170M [00:00<00:00, 198MB/s]
+ 0%| | 0.00/170M [00:00<?, ?B/s] 6%|5 | 10.1M/170M [00:00<00:01, 106MB/s] 16%|#5 | 26.6M/170M [00:00<00:01, 145MB/s] 25%|##5 | 43.2M/170M [00:00<00:00, 158MB/s] 35%|###5 | 59.8M/170M [00:00<00:00, 163MB/s] 45%|####4 | 76.2M/170M [00:00<00:00, 166MB/s] 55%|#####4 | 92.8M/170M [00:00<00:00, 169MB/s] 64%|######4 | 109M/170M [00:00<00:00, 170MB/s] 74%|#######4 | 126M/170M [00:00<00:00, 171MB/s] 84%|########3 | 142M/170M [00:00<00:00, 171MB/s] 94%|#########3| 159M/170M [00:01<00:00, 172MB/s] 100%|##########| 170M/170M [00:01<00:00, 167MB/s]
/venv/apache-tvm-py3.8/lib/python3.8/site-packages/torchvision/models/detection/generalized_rcnn.py:75: TracerWarning: Iterating over a tensor might cause the trace to be incorrect. Passing a tensor of different shape won't change the number of iterations executed (and might lead to errors or silently give incorrect results).
for img in images:
/venv/apache-tvm-py3.8/lib/python3.8/site-packages/torchvision/models/detection/transform.py:122: TracerWarning: Iterating over a tensor might cause the trace to be incorrect. Passing a tensor of different shape won't change the number of iterations executed (and might lead to errors or silently give incorrect results).
@@ -330,7 +330,7 @@ Get boxes with score larger than 0.9
.. rst-class:: sphx-glr-timing
- **Total running time of the script:** ( 3 minutes 43.605 seconds)
+ **Total running time of the script:** ( 4 minutes 0.375 seconds)
.. _sphx_glr_download_how_to_deploy_models_deploy_object_detection_pytorch.py:
diff --git a/docs/_sources/how_to/deploy_models/deploy_prequantized.rst.txt b/docs/_sources/how_to/deploy_models/deploy_prequantized.rst.txt
index d85d8a6e20..b4ce938970 100644
--- a/docs/_sources/how_to/deploy_models/deploy_prequantized.rst.txt
+++ b/docs/_sources/how_to/deploy_models/deploy_prequantized.rst.txt
@@ -227,7 +227,7 @@ training. Other models require a full post training calibration.
/venv/apache-tvm-py3.8/lib/python3.8/site-packages/torchvision/models/_utils.py:223: UserWarning: Arguments other than a weight enum or `None` for 'weights' are deprecated since 0.13 and may be removed in the future. The current behavior is equivalent to passing `weights=MobileNet_V2_Weights.IMAGENET1K_V1`. You can also use `weights=MobileNet_V2_Weights.DEFAULT` to get the most up-to-date weights.
warnings.warn(msg)
Downloading: "https://download.pytorch.org/models/mobilenet_v2-b0353104.pth" to /workspace/.cache/torch/hub/checkpoints/mobilenet_v2-b0353104.pth
- 0%| | 0.00/13.6M [00:00<?, ?B/s] 100%|##########| 13.6M/13.6M [00:00<00:00, 156MB/s]
+ 0%| | 0.00/13.6M [00:00<?, ?B/s] 100%|##########| 13.6M/13.6M [00:00<00:00, 145MB/s]
@@ -404,7 +404,7 @@ Here we give an example of how to measure performance of TVM compiled models.
Execution time summary:
mean (ms) median (ms) max (ms) min (ms) std (ms)
- 86.1446 86.1232 86.7040 85.8066 0.2092
+ 89.1614 89.0854 90.0616 88.8418 0.2407
@@ -452,7 +452,7 @@ TODO
.. rst-class:: sphx-glr-timing
- **Total running time of the script:** ( 1 minutes 32.670 seconds)
+ **Total running time of the script:** ( 1 minutes 39.891 seconds)
.. _sphx_glr_download_how_to_deploy_models_deploy_prequantized.py:
diff --git a/docs/_sources/how_to/deploy_models/deploy_prequantized_tflite.rst.txt b/docs/_sources/how_to/deploy_models/deploy_prequantized_tflite.rst.txt
index c08dd0b383..3b14c49436 100644
--- a/docs/_sources/how_to/deploy_models/deploy_prequantized_tflite.rst.txt
+++ b/docs/_sources/how_to/deploy_models/deploy_prequantized_tflite.rst.txt
@@ -423,7 +423,7 @@ Here we give an example of how to measure performance of TVM compiled models.
Execution time summary:
mean (ms) median (ms) max (ms) min (ms) std (ms)
- 110.9543 110.9208 111.5311 110.6873 0.1931
+ 111.8119 111.7792 113.8817 111.0872 0.4290
diff --git a/docs/_sources/how_to/deploy_models/sg_execution_times.rst.txt b/docs/_sources/how_to/deploy_models/sg_execution_times.rst.txt
index f507644662..a42a0cf18f 100644
--- a/docs/_sources/how_to/deploy_models/sg_execution_times.rst.txt
+++ b/docs/_sources/how_to/deploy_models/sg_execution_times.rst.txt
@@ -5,24 +5,24 @@
Computation times
=================
-**10:17.539** total execution time for **how_to_deploy_models** files:
+**10:58.904** total execution time for **how_to_deploy_models** files:
+------------------------------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_how_to_deploy_models_deploy_object_detection_pytorch.py` (``deploy_object_detection_pytorch.py``) | 03:43.605 | 0.0 MB |
+| :ref:`sphx_glr_how_to_deploy_models_deploy_object_detection_pytorch.py` (``deploy_object_detection_pytorch.py``) | 04:00.375 | 0.0 MB |
+------------------------------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_how_to_deploy_models_deploy_prequantized.py` (``deploy_prequantized.py``) | 01:32.670 | 0.0 MB |
+| :ref:`sphx_glr_how_to_deploy_models_deploy_prequantized.py` (``deploy_prequantized.py``) | 01:39.891 | 0.0 MB |
+------------------------------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_how_to_deploy_models_deploy_model_on_adreno.py` (``deploy_model_on_adreno.py``) | 01:19.499 | 0.0 MB |
+| :ref:`sphx_glr_how_to_deploy_models_deploy_model_on_adreno.py` (``deploy_model_on_adreno.py``) | 01:23.506 | 0.0 MB |
+------------------------------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_how_to_deploy_models_deploy_model_on_android.py` (``deploy_model_on_android.py``) | 00:54.970 | 0.0 MB |
+| :ref:`sphx_glr_how_to_deploy_models_deploy_model_on_android.py` (``deploy_model_on_android.py``) | 00:58.668 | 0.0 MB |
+------------------------------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_how_to_deploy_models_deploy_prequantized_tflite.py` (``deploy_prequantized_tflite.py``) | 00:52.934 | 0.0 MB |
+| :ref:`sphx_glr_how_to_deploy_models_deploy_prequantized_tflite.py` (``deploy_prequantized_tflite.py``) | 00:56.277 | 0.0 MB |
+------------------------------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_how_to_deploy_models_deploy_model_on_adreno_tvmc.py` (``deploy_model_on_adreno_tvmc.py``) | 00:51.203 | 0.0 MB |
+| :ref:`sphx_glr_how_to_deploy_models_deploy_model_on_adreno_tvmc.py` (``deploy_model_on_adreno_tvmc.py``) | 00:53.731 | 0.0 MB |
+------------------------------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_how_to_deploy_models_deploy_model_on_nano.py` (``deploy_model_on_nano.py``) | 00:31.543 | 0.0 MB |
+| :ref:`sphx_glr_how_to_deploy_models_deploy_model_on_nano.py` (``deploy_model_on_nano.py``) | 00:33.498 | 0.0 MB |
+------------------------------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_how_to_deploy_models_deploy_model_on_rasp.py` (``deploy_model_on_rasp.py``) | 00:31.106 | 0.0 MB |
+| :ref:`sphx_glr_how_to_deploy_models_deploy_model_on_rasp.py` (``deploy_model_on_rasp.py``) | 00:32.950 | 0.0 MB |
+------------------------------------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_how_to_deploy_models_deploy_sparse.py` (``deploy_sparse.py``) | 00:00.008 | 0.0 MB |
+------------------------------------------------------------------------------------------------------------------+-----------+--------+
diff --git a/docs/_sources/how_to/extend_tvm/sg_execution_times.rst.txt b/docs/_sources/how_to/extend_tvm/sg_execution_times.rst.txt
index 034d921477..e556362332 100644
--- a/docs/_sources/how_to/extend_tvm/sg_execution_times.rst.txt
+++ b/docs/_sources/how_to/extend_tvm/sg_execution_times.rst.txt
@@ -5,12 +5,12 @@
Computation times
=================
-**00:04.303** total execution time for **how_to_extend_tvm** files:
+**00:04.403** total execution time for **how_to_extend_tvm** files:
+-------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_how_to_extend_tvm_use_pass_instrument.py` (``use_pass_instrument.py``) | 00:02.981 | 0.0 MB |
+| :ref:`sphx_glr_how_to_extend_tvm_use_pass_instrument.py` (``use_pass_instrument.py``) | 00:03.056 | 0.0 MB |
+-------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_how_to_extend_tvm_use_pass_infra.py` (``use_pass_infra.py``) | 00:01.314 | 0.0 MB |
+| :ref:`sphx_glr_how_to_extend_tvm_use_pass_infra.py` (``use_pass_infra.py``) | 00:01.339 | 0.0 MB |
+-------------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_how_to_extend_tvm_low_level_custom_pass.py` (``low_level_custom_pass.py``) | 00:00.008 | 0.0 MB |
+-------------------------------------------------------------------------------------------+-----------+--------+
diff --git a/docs/_sources/how_to/extend_tvm/use_pass_instrument.rst.txt b/docs/_sources/how_to/extend_tvm/use_pass_instrument.rst.txt
index dbb47ad5ac..cb5951086c 100644
--- a/docs/_sources/how_to/extend_tvm/use_pass_instrument.rst.txt
+++ b/docs/_sources/how_to/extend_tvm/use_pass_instrument.rst.txt
@@ -220,10 +220,10 @@ profile the execution time of each passes.
.. code-block:: none
Printing results of timing profile...
- InferType: 25736us [25736us] (48.45%; 48.45%)
- FoldScaleAxis: 27388us [11us] (51.55%; 51.55%)
- FoldConstant: 27377us [1881us] (51.53%; 99.96%)
- InferType: 25497us [25497us] (47.99%; 93.13%)
+ InferType: 26002us [26002us] (48.46%; 48.46%)
+ FoldScaleAxis: 27660us [12us] (51.54%; 51.54%)
+ FoldConstant: 27648us [1954us] (51.52%; 99.96%)
+ InferType: 25694us [25694us] (47.88%; 92.93%)
@@ -262,10 +262,10 @@ Refer to following sections and :py:func:`tvm.instrument.pass_instrument` for th
.. code-block:: none
Printing results of timing profile...
- InferType: 25407us [25407us] (48.33%; 48.33%)
- FoldScaleAxis: 27166us [11us] (51.67%; 51.67%)
- FoldConstant: 27155us [1876us] (51.65%; 99.96%)
- InferType: 25279us [25279us] (48.08%; 93.09%)
+ InferType: 25715us [25715us] (48.21%; 48.21%)
+ FoldScaleAxis: 27621us [11us] (51.79%; 51.79%)
+ FoldConstant: 27610us [1922us] (51.77%; 99.96%)
+ InferType: 25688us [25688us] (48.16%; 93.04%)
diff --git a/docs/_sources/how_to/optimize_operators/opt_conv_cuda.rst.txt b/docs/_sources/how_to/optimize_operators/opt_conv_cuda.rst.txt
index 55f1620cd2..5250698a7b 100644
--- a/docs/_sources/how_to/optimize_operators/opt_conv_cuda.rst.txt
+++ b/docs/_sources/how_to/optimize_operators/opt_conv_cuda.rst.txt
@@ -331,7 +331,7 @@ latency of convolution.
.. code-block:: none
- Convolution: 38.647808 ms
+ Convolution: 41.735519 ms
diff --git a/docs/_sources/how_to/optimize_operators/opt_conv_tensorcore.rst.txt b/docs/_sources/how_to/optimize_operators/opt_conv_tensorcore.rst.txt
index 0f95352edb..92e0832009 100644
--- a/docs/_sources/how_to/optimize_operators/opt_conv_tensorcore.rst.txt
+++ b/docs/_sources/how_to/optimize_operators/opt_conv_tensorcore.rst.txt
@@ -598,7 +598,7 @@ be able to run on our build server
.. code-block:: none
- conv2d with tensor core: 11.079066 ms
+ conv2d with tensor core: 12.221926 ms
diff --git a/docs/_sources/how_to/optimize_operators/opt_gemm.rst.txt b/docs/_sources/how_to/optimize_operators/opt_gemm.rst.txt
index a6b5a73ac7..5dfee24057 100644
--- a/docs/_sources/how_to/optimize_operators/opt_gemm.rst.txt
+++ b/docs/_sources/how_to/optimize_operators/opt_gemm.rst.txt
@@ -134,8 +134,8 @@ Then we write a baseline implementation, the simplest way to write a matrix mult
.. code-block:: none
- Numpy running time: 0.018887
- Baseline: 3.297650
+ Numpy running time: 0.019362
+ Baseline: 3.553764
@@ -227,7 +227,7 @@ fill 32 * 32 * sizeof(float) which is 4KB in the cache whose total size is 32KB
.. code-block:: none
- Opt1: 0.295892
+ Opt1: 0.321135
@@ -318,7 +318,7 @@ In this tutorial, we chose to vectorize the inner loop row data since it is cach
.. code-block:: none
- Opt2: 0.275580
+ Opt2: 0.319334
@@ -406,7 +406,7 @@ the access pattern for A matrix is more cache friendly.
.. code-block:: none
- Opt3: 0.114876
+ Opt3: 0.123049
@@ -523,7 +523,7 @@ flattening.
.. code-block:: none
- Opt4: 0.110927
+ Opt4: 0.107505
@@ -635,7 +635,7 @@ write to C when all the block results are ready.
.. code-block:: none
- Opt5: 0.112017
+ Opt5: 0.112190
@@ -748,7 +748,7 @@ Furthermore, we can also utilize multi-core processors to do the thread-level pa
.. code-block:: none
- Opt6: 0.134752
+ Opt6: 0.133341
diff --git a/docs/_sources/how_to/optimize_operators/sg_execution_times.rst.txt b/docs/_sources/how_to/optimize_operators/sg_execution_times.rst.txt
index 7da1225927..41fbdc1fdc 100644
--- a/docs/_sources/how_to/optimize_operators/sg_execution_times.rst.txt
+++ b/docs/_sources/how_to/optimize_operators/sg_execution_times.rst.txt
@@ -5,12 +5,12 @@
Computation times
=================
-**00:33.848** total execution time for **how_to_optimize_operators** files:
+**00:35.615** total execution time for **how_to_optimize_operators** files:
+-----------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_how_to_optimize_operators_opt_gemm.py` (``opt_gemm.py``) | 00:30.707 | 0.0 MB |
+| :ref:`sphx_glr_how_to_optimize_operators_opt_gemm.py` (``opt_gemm.py``) | 00:32.372 | 0.0 MB |
+-----------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_how_to_optimize_operators_opt_conv_tensorcore.py` (``opt_conv_tensorcore.py``) | 00:01.995 | 0.0 MB |
+| :ref:`sphx_glr_how_to_optimize_operators_opt_conv_tensorcore.py` (``opt_conv_tensorcore.py``) | 00:02.067 | 0.0 MB |
+-----------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_how_to_optimize_operators_opt_conv_cuda.py` (``opt_conv_cuda.py``) | 00:01.147 | 0.0 MB |
+| :ref:`sphx_glr_how_to_optimize_operators_opt_conv_cuda.py` (``opt_conv_cuda.py``) | 00:01.176 | 0.0 MB |
+-----------------------------------------------------------------------------------------------+-----------+--------+
diff --git a/docs/_sources/how_to/tune_with_autoscheduler/sg_execution_times.rst.txt b/docs/_sources/how_to/tune_with_autoscheduler/sg_execution_times.rst.txt
index f561af5eca..06acb8b5b8 100644
--- a/docs/_sources/how_to/tune_with_autoscheduler/sg_execution_times.rst.txt
+++ b/docs/_sources/how_to/tune_with_autoscheduler/sg_execution_times.rst.txt
@@ -5,18 +5,18 @@
Computation times
=================
-**03:56.081** total execution time for **how_to_tune_with_autoscheduler** files:
+**03:57.746** total execution time for **how_to_tune_with_autoscheduler** files:
+----------------------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_how_to_tune_with_autoscheduler_tune_network_x86.py` (``tune_network_x86.py``) | 01:41.991 | 0.0 MB |
+| :ref:`sphx_glr_how_to_tune_with_autoscheduler_tune_network_x86.py` (``tune_network_x86.py``) | 01:43.580 | 0.0 MB |
+----------------------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_how_to_tune_with_autoscheduler_tune_network_cuda.py` (``tune_network_cuda.py``) | 01:16.938 | 0.0 MB |
+| :ref:`sphx_glr_how_to_tune_with_autoscheduler_tune_network_cuda.py` (``tune_network_cuda.py``) | 01:16.721 | 0.0 MB |
+----------------------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_how_to_tune_with_autoscheduler_tune_network_arm.py` (``tune_network_arm.py``) | 00:22.020 | 0.0 MB |
+| :ref:`sphx_glr_how_to_tune_with_autoscheduler_tune_network_arm.py` (``tune_network_arm.py``) | 00:21.753 | 0.0 MB |
+----------------------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_how_to_tune_with_autoscheduler_tune_network_mali.py` (``tune_network_mali.py``) | 00:18.892 | 0.0 MB |
+| :ref:`sphx_glr_how_to_tune_with_autoscheduler_tune_network_mali.py` (``tune_network_mali.py``) | 00:18.570 | 0.0 MB |
+----------------------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_how_to_tune_with_autoscheduler_tune_conv2d_layer_cuda.py` (``tune_conv2d_layer_cuda.py``) | 00:16.133 | 0.0 MB |
+| :ref:`sphx_glr_how_to_tune_with_autoscheduler_tune_conv2d_layer_cuda.py` (``tune_conv2d_layer_cuda.py``) | 00:17.016 | 0.0 MB |
+----------------------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_how_to_tune_with_autoscheduler_tune_sparse_x86.py` (``tune_sparse_x86.py``) | 00:00.107 | 0.0 MB |
+| :ref:`sphx_glr_how_to_tune_with_autoscheduler_tune_sparse_x86.py` (``tune_sparse_x86.py``) | 00:00.106 | 0.0 MB |
+----------------------------------------------------------------------------------------------------------+-----------+--------+
diff --git a/docs/_sources/how_to/tune_with_autoscheduler/tune_conv2d_layer_cuda.rst.txt b/docs/_sources/how_to/tune_with_autoscheduler/tune_conv2d_layer_cuda.rst.txt
index 0e93399d71..64ccdf657b 100644
--- a/docs/_sources/how_to/tune_with_autoscheduler/tune_conv2d_layer_cuda.rst.txt
+++ b/docs/_sources/how_to/tune_with_autoscheduler/tune_conv2d_layer_cuda.rst.txt
@@ -766,7 +766,7 @@ We build the binary and check its correctness and performance.
.. code-block:: none
- Execution time of this operator: 0.338 ms
+ Execution time of this operator: 0.336 ms
diff --git a/docs/_sources/how_to/tune_with_autoscheduler/tune_network_cuda.rst.txt b/docs/_sources/how_to/tune_with_autoscheduler/tune_network_cuda.rst.txt
index b290cfca9a..7198061bdd 100644
--- a/docs/_sources/how_to/tune_with_autoscheduler/tune_network_cuda.rst.txt
+++ b/docs/_sources/how_to/tune_with_autoscheduler/tune_network_cuda.rst.txt
@@ -632,7 +632,7 @@ so we can read the log file and load the best schedules.
Evaluate inference time cost...
Execution time summary:
mean (ms) median (ms) max (ms) min (ms) std (ms)
- 3.2028 3.2028 3.2028 3.2027 0.0001
+ 3.1995 3.1996 3.2002 3.1986 0.0006
@@ -659,7 +659,7 @@ Other Tips
.. rst-class:: sphx-glr-timing
- **Total running time of the script:** ( 1 minutes 16.938 seconds)
+ **Total running time of the script:** ( 1 minutes 16.721 seconds)
.. _sphx_glr_download_how_to_tune_with_autoscheduler_tune_network_cuda.py:
diff --git a/docs/_sources/how_to/tune_with_autoscheduler/tune_network_x86.rst.txt b/docs/_sources/how_to/tune_with_autoscheduler/tune_network_x86.rst.txt
index f8e2edf395..cabcfa73f5 100644
--- a/docs/_sources/how_to/tune_with_autoscheduler/tune_network_x86.rst.txt
+++ b/docs/_sources/how_to/tune_with_autoscheduler/tune_network_x86.rst.txt
@@ -654,7 +654,7 @@ so we can read the log file and load the best schedules.
Evaluate inference time cost...
Execution time summary:
mean (ms) median (ms) max (ms) min (ms) std (ms)
- 757.1652 757.3116 757.9601 756.2239 0.7163
+ 771.7885 771.2089 772.9789 771.1777 0.8419
@@ -681,7 +681,7 @@ Other Tips
.. rst-class:: sphx-glr-timing
- **Total running time of the script:** ( 1 minutes 41.991 seconds)
+ **Total running time of the script:** ( 1 minutes 43.580 seconds)
.. _sphx_glr_download_how_to_tune_with_autoscheduler_tune_network_x86.py:
diff --git a/docs/_sources/how_to/tune_with_autotvm/sg_execution_times.rst.txt b/docs/_sources/how_to/tune_with_autotvm/sg_execution_times.rst.txt
index 248fc0f504..e1918bb8de 100644
--- a/docs/_sources/how_to/tune_with_autotvm/sg_execution_times.rst.txt
+++ b/docs/_sources/how_to/tune_with_autotvm/sg_execution_times.rst.txt
@@ -5,16 +5,16 @@
Computation times
=================
-**00:24.116** total execution time for **how_to_tune_with_autotvm** files:
+**00:24.419** total execution time for **how_to_tune_with_autotvm** files:
+--------------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_how_to_tune_with_autotvm_tune_conv2d_cuda.py` (``tune_conv2d_cuda.py``) | 00:24.078 | 0.0 MB |
+| :ref:`sphx_glr_how_to_tune_with_autotvm_tune_conv2d_cuda.py` (``tune_conv2d_cuda.py``) | 00:24.379 | 0.0 MB |
+--------------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_how_to_tune_with_autotvm_tune_relay_x86.py` (``tune_relay_x86.py``) | 00:00.022 | 0.0 MB |
-+--------------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_how_to_tune_with_autotvm_tune_relay_mobile_gpu.py` (``tune_relay_mobile_gpu.py``) | 00:00.006 | 0.0 MB |
+| :ref:`sphx_glr_how_to_tune_with_autotvm_tune_relay_x86.py` (``tune_relay_x86.py``) | 00:00.023 | 0.0 MB |
+--------------------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_how_to_tune_with_autotvm_tune_relay_arm.py` (``tune_relay_arm.py``) | 00:00.006 | 0.0 MB |
+--------------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_how_to_tune_with_autotvm_tune_relay_cuda.py` (``tune_relay_cuda.py``) | 00:00.005 | 0.0 MB |
+| :ref:`sphx_glr_how_to_tune_with_autotvm_tune_relay_mobile_gpu.py` (``tune_relay_mobile_gpu.py``) | 00:00.006 | 0.0 MB |
++--------------------------------------------------------------------------------------------------+-----------+--------+
+| :ref:`sphx_glr_how_to_tune_with_autotvm_tune_relay_cuda.py` (``tune_relay_cuda.py``) | 00:00.006 | 0.0 MB |
+--------------------------------------------------------------------------------------------------+-----------+--------+
diff --git a/docs/_sources/how_to/tune_with_autotvm/tune_conv2d_cuda.rst.txt b/docs/_sources/how_to/tune_with_autotvm/tune_conv2d_cuda.rst.txt
index c347dd11a7..361ef81b53 100644
--- a/docs/_sources/how_to/tune_with_autotvm/tune_conv2d_cuda.rst.txt
+++ b/docs/_sources/how_to/tune_with_autotvm/tune_conv2d_cuda.rst.txt
@@ -326,7 +326,7 @@ and measure running time.
Best config:
,None
- Time cost of this operator: 0.037275
+ Time cost of this operator: 0.037189
diff --git a/docs/_sources/how_to/tutorials/cross_compilation_and_rpc.rst.txt b/docs/_sources/how_to/tutorials/cross_compilation_and_rpc.rst.txt
index 4acf0e4e00..dae827d28b 100644
--- a/docs/_sources/how_to/tutorials/cross_compilation_and_rpc.rst.txt
+++ b/docs/_sources/how_to/tutorials/cross_compilation_and_rpc.rst.txt
@@ -274,7 +274,7 @@ device and returns the measured cost. Network overhead is excluded.
.. code-block:: none
- 1.261e-07 secs/op
+ 1.291e-07 secs/op
diff --git a/docs/_sources/how_to/tutorials/optimize_llm.rst.txt b/docs/_sources/how_to/tutorials/optimize_llm.rst.txt
index a80e24cab2..a0d6a0af31 100644
--- a/docs/_sources/how_to/tutorials/optimize_llm.rst.txt
+++ b/docs/_sources/how_to/tutorials/optimize_llm.rst.txt
@@ -858,7 +858,7 @@ IRModule to generate the token.
.. rst-class:: sphx-glr-timing
- **Total running time of the script:** ( 1 minutes 19.738 seconds)
+ **Total running time of the script:** ( 1 minutes 59.041 seconds)
.. _sphx_glr_download_how_to_tutorials_optimize_llm.py:
diff --git a/docs/_sources/how_to/tutorials/sg_execution_times.rst.txt b/docs/_sources/how_to/tutorials/sg_execution_times.rst.txt
index 93b49efe26..231ca822e7 100644
--- a/docs/_sources/how_to/tutorials/sg_execution_times.rst.txt
+++ b/docs/_sources/how_to/tutorials/sg_execution_times.rst.txt
@@ -5,14 +5,14 @@
Computation times
=================
-**01:22.092** total execution time for **how_to_tutorials** files:
+**02:01.542** total execution time for **how_to_tutorials** files:
+--------------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_how_to_tutorials_optimize_llm.py` (``optimize_llm.py``) | 01:19.738 | 0.0 MB |
+| :ref:`sphx_glr_how_to_tutorials_optimize_llm.py` (``optimize_llm.py``) | 01:59.041 | 0.0 MB |
+--------------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_how_to_tutorials_customize_opt.py` (``customize_opt.py``) | 00:00.830 | 0.0 MB |
+| :ref:`sphx_glr_how_to_tutorials_cross_compilation_and_rpc.py` (``cross_compilation_and_rpc.py``) | 00:00.916 | 0.0 MB |
+--------------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_how_to_tutorials_cross_compilation_and_rpc.py` (``cross_compilation_and_rpc.py``) | 00:00.787 | 0.0 MB |
+| :ref:`sphx_glr_how_to_tutorials_customize_opt.py` (``customize_opt.py``) | 00:00.881 | 0.0 MB |
+--------------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_how_to_tutorials_e2e_opt_model.py` (``e2e_opt_model.py``) | 00:00.737 | 0.0 MB |
+| :ref:`sphx_glr_how_to_tutorials_e2e_opt_model.py` (``e2e_opt_model.py``) | 00:00.704 | 0.0 MB |
+--------------------------------------------------------------------------------------------------+-----------+--------+
diff --git a/docs/_sources/how_to/work_with_microtvm/micro_autotune.rst.txt b/docs/_sources/how_to/work_with_microtvm/micro_autotune.rst.txt
index 4f997b3388..a5db8aa466 100644
--- a/docs/_sources/how_to/work_with_microtvm/micro_autotune.rst.txt
+++ b/docs/_sources/how_to/work_with_microtvm/micro_autotune.rst.txt
@@ -360,10 +360,10 @@ Timing the untuned program
########## Build without Autotuning ##########
Node Name Ops Time(us) Time(%) Shape Inputs Outputs Measurements(us)
--------- --- -------- ------- ----- ------ ------- ----------------
- tvmgen_default_fused_nn_contrib_conv2d_NCHWc tvmgen_default_fused_nn_contrib_conv2d_NCHWc 305.1 98.744 (1, 2, 10, 10, 3) 2 1 [305.1]
- tvmgen_default_fused_layout_transform_1 tvmgen_default_fused_layout_transform_1 2.912 0.943 (1, 6, 10, 10) 1 1 [2.912]
- tvmgen_default_fused_layout_transform tvmgen_default_fused_layout_transform 0.968 0.313 (1, 1, 10, 10, 3) 1 1 [0.968]
- Total_time - 308.98 - - - - -
+ tvmgen_default_fused_nn_contrib_conv2d_NCHWc tvmgen_default_fused_nn_contrib_conv2d_NCHWc 303.9 98.729 (1, 2, 10, 10, 3) 2 1 [303.9]
+ tvmgen_default_fused_layout_transform_1 tvmgen_default_fused_layout_transform_1 2.933 0.953 (1, 6, 10, 10) 1 1 [2.933]
+ tvmgen_default_fused_layout_transform tvmgen_default_fused_layout_transform 0.978 0.318 (1, 1, 10, 10, 3) 1 1 [0.978]
+ Total_time - 307.811 - - - - -
@@ -428,10 +428,10 @@ Timing the tuned program
########## Build with Autotuning ##########
Node Name Ops Time(us) Time(%) Shape Inputs Outputs Measurements(us)
--------- --- -------- ------- ----- ------ ------- ----------------
- tvmgen_default_fused_nn_contrib_conv2d_NCHWc tvmgen_default_fused_nn_contrib_conv2d_NCHWc 104.7 97.523 (1, 6, 10, 10, 1) 2 1 [104.7]
- tvmgen_default_fused_layout_transform_1 tvmgen_default_fused_layout_transform_1 1.803 1.68 (1, 6, 10, 10) 1 1 [1.803]
- tvmgen_default_fused_layout_transform tvmgen_default_fused_layout_transform 0.856 0.797 (1, 3, 10, 10, 1) 1 1 [0.856]
- Total_time - 107.359 - - - - -
+ tvmgen_default_fused_nn_contrib_conv2d_NCHWc tvmgen_default_fused_nn_contrib_conv2d_NCHWc 138.1 98.118 (1, 6, 10, 10, 1) 2 1 [138.1]
+ tvmgen_default_fused_layout_transform_1 tvmgen_default_fused_layout_transform_1 1.783 1.267 (1, 6, 10, 10) 1 1 [1.783]
+ tvmgen_default_fused_layout_transform tvmgen_default_fused_layout_transform 0.865 0.615 (1, 3, 10, 10, 1) 1 1 [0.865]
+ Total_time - 140.748 - - - - -
@@ -439,7 +439,7 @@ Timing the tuned program
.. rst-class:: sphx-glr-timing
- **Total running time of the script:** ( 1 minutes 28.452 seconds)
+ **Total running time of the script:** ( 1 minutes 33.118 seconds)
.. _sphx_glr_download_how_to_work_with_microtvm_micro_autotune.py:
diff --git a/docs/_sources/how_to/work_with_microtvm/micro_pytorch.rst.txt b/docs/_sources/how_to/work_with_microtvm/micro_pytorch.rst.txt
index f8e7674f25..e41dafd921 100644
--- a/docs/_sources/how_to/work_with_microtvm/micro_pytorch.rst.txt
+++ b/docs/_sources/how_to/work_with_microtvm/micro_pytorch.rst.txt
@@ -118,7 +118,7 @@ download a cat image and preprocess it to use as the model input.
/venv/apache-tvm-py3.8/lib/python3.8/site-packages/torch/ao/quantization/utils.py:376: UserWarning: must run observer before calling calculate_qparams. Returning default values.
warnings.warn(
Downloading: "https://download.pytorch.org/models/quantized/mobilenet_v2_qnnpack_37f702c5.pth" to /workspace/.cache/torch/hub/checkpoints/mobilenet_v2_qnnpack_37f702c5.pth
- 0%| | 0.00/3.42M [00:00<?, ?B/s] 100%|##########| 3.42M/3.42M [00:00<00:00, 47.4MB/s]
+ 0%| | 0.00/3.42M [00:00<?, ?B/s] 100%|##########| 3.42M/3.42M [00:00<00:00, 65.1MB/s]
/venv/apache-tvm-py3.8/lib/python3.8/site-packages/torch/ao/nn/quantized/modules/__init__.py:98: TracerWarning: Converting a tensor to a Python float might cause the trace to be incorrect. We can't record the data flow of Python values, so this value will be treated as a constant in the future. This means that the trace might not generalize to other inputs!
return torch.quantize_per_tensor(X, float(self.scale),
/venv/apache-tvm-py3.8/lib/python3.8/site-packages/torch/ao/nn/quantized/modules/__init__.py:99: TracerWarning: Converting a tensor to a Python integer might cause the trace to be incorrect. We can't record the data flow of Python values, so this value will be treated as a constant in the future. This means that the trace might not generalize to other inputs!
@@ -324,7 +324,7 @@ Look up prediction top 1 index in 1000 class synset.
.. rst-class:: sphx-glr-timing
- **Total running time of the script:** ( 1 minutes 41.216 seconds)
+ **Total running time of the script:** ( 1 minutes 37.224 seconds)
.. _sphx_glr_download_how_to_work_with_microtvm_micro_pytorch.py:
diff --git a/docs/_sources/how_to/work_with_microtvm/micro_train.rst.txt b/docs/_sources/how_to/work_with_microtvm/micro_train.rst.txt
index de532b37a3..d3ee2b2828 100644
--- a/docs/_sources/how_to/work_with_microtvm/micro_train.rst.txt
+++ b/docs/_sources/how_to/work_with_microtvm/micro_train.rst.txt
@@ -218,7 +218,7 @@ take about **2 minutes** to download the Stanford Cars, while COCO 2017 validati
.. code-block:: none
- '/tmp/tmpu7exbo9p/images/random'
+ '/tmp/tmpqj5bau7m/images/random'
@@ -318,8 +318,8 @@ objects to other stuff? We can display some examples from our datasets using ``m
.. code-block:: none
- /tmp/tmpu7exbo9p/images/target contains 8144 images
- /tmp/tmpu7exbo9p/images/random contains 5000 images
+ /tmp/tmpqj5bau7m/images/target contains 8144 images
+ /tmp/tmpqj5bau7m/images/random contains 5000 images
@@ -494,13 +494,13 @@ the time on our validation set).
.. code-block:: none
Epoch 1/3
- 328/328 - 48s - loss: 0.2112 - accuracy: 0.9275 - val_loss: 0.1025 - val_accuracy: 0.9656 - 48s/epoch - 145ms/step
+ 328/328 - 48s - loss: 0.2381 - accuracy: 0.9174 - val_loss: 0.1478 - val_accuracy: 0.9498 - 48s/epoch - 147ms/step
Epoch 2/3
- 328/328 - 44s - loss: 0.0964 - accuracy: 0.9665 - val_loss: 0.1478 - val_accuracy: 0.9464 - 44s/epoch - 135ms/step
+ 328/328 - 45s - loss: 0.1074 - accuracy: 0.9613 - val_loss: 0.0855 - val_accuracy: 0.9683 - 45s/epoch - 136ms/step
Epoch 3/3
- 328/328 - 44s - loss: 0.0652 - accuracy: 0.9753 - val_loss: 0.1003 - val_accuracy: 0.9675 - 44s/epoch - 134ms/step
+ 328/328 - 44s - loss: 0.0673 - accuracy: 0.9748 - val_loss: 0.1038 - val_accuracy: 0.9641 - 44s/epoch - 135ms/step
- <keras.callbacks.History object at 0x7fa5933a58b0>
+ <keras.callbacks.History object at 0x7f52108a9700>
@@ -861,7 +861,7 @@ Arduino tutorial for how to do that `on GitHub <https://github.com/guberti/tvm-a
.. rst-class:: sphx-glr-timing
- **Total running time of the script:** ( 5 minutes 21.934 seconds)
+ **Total running time of the script:** ( 5 minutes 59.573 seconds)
.. _sphx_glr_download_how_to_work_with_microtvm_micro_train.py:
diff --git a/docs/_sources/how_to/work_with_microtvm/sg_execution_times.rst.txt b/docs/_sources/how_to/work_with_microtvm/sg_execution_times.rst.txt
index 91b7ac1311..bbad48f327 100644
--- a/docs/_sources/how_to/work_with_microtvm/sg_execution_times.rst.txt
+++ b/docs/_sources/how_to/work_with_microtvm/sg_execution_times.rst.txt
@@ -5,20 +5,20 @@
Computation times
=================
-**09:05.159** total execution time for **how_to_work_with_microtvm** files:
+**09:41.910** total execution time for **how_to_work_with_microtvm** files:
+-----------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_how_to_work_with_microtvm_micro_train.py` (``micro_train.py``) | 05:21.934 | 0.0 MB |
+| :ref:`sphx_glr_how_to_work_with_microtvm_micro_train.py` (``micro_train.py``) | 05:59.573 | 0.0 MB |
+-----------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_how_to_work_with_microtvm_micro_pytorch.py` (``micro_pytorch.py``) | 01:41.216 | 0.0 MB |
+| :ref:`sphx_glr_how_to_work_with_microtvm_micro_pytorch.py` (``micro_pytorch.py``) | 01:37.224 | 0.0 MB |
+-----------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_how_to_work_with_microtvm_micro_autotune.py` (``micro_autotune.py``) | 01:28.452 | 0.0 MB |
+| :ref:`sphx_glr_how_to_work_with_microtvm_micro_autotune.py` (``micro_autotune.py``) | 01:33.118 | 0.0 MB |
+-----------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_how_to_work_with_microtvm_micro_aot.py` (``micro_aot.py``) | 00:13.428 | 0.0 MB |
+| :ref:`sphx_glr_how_to_work_with_microtvm_micro_aot.py` (``micro_aot.py``) | 00:12.832 | 0.0 MB |
+-----------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_how_to_work_with_microtvm_micro_custom_ide.py` (``micro_custom_ide.py``) | 00:10.998 | 0.0 MB |
+| :ref:`sphx_glr_how_to_work_with_microtvm_micro_custom_ide.py` (``micro_custom_ide.py``) | 00:11.181 | 0.0 MB |
+-----------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_how_to_work_with_microtvm_micro_tflite.py` (``micro_tflite.py``) | 00:09.132 | 0.0 MB |
+| :ref:`sphx_glr_how_to_work_with_microtvm_micro_tflite.py` (``micro_tflite.py``) | 00:07.982 | 0.0 MB |
+-----------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_how_to_work_with_microtvm_micro_ethosu.py` (``micro_ethosu.py``) | 00:00.000 | 0.0 MB |
+-----------------------------------------------------------------------------------------+-----------+--------+
diff --git a/docs/_sources/how_to/work_with_relay/sg_execution_times.rst.txt b/docs/_sources/how_to/work_with_relay/sg_execution_times.rst.txt
index 6bd8e7ba44..a784805377 100644
--- a/docs/_sources/how_to/work_with_relay/sg_execution_times.rst.txt
+++ b/docs/_sources/how_to/work_with_relay/sg_execution_times.rst.txt
@@ -5,14 +5,14 @@
Computation times
=================
-**00:40.575** total execution time for **how_to_work_with_relay** files:
+**00:42.160** total execution time for **how_to_work_with_relay** files:
+----------------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_how_to_work_with_relay_using_pipeline_executor.py` (``using_pipeline_executor.py``) | 00:34.814 | 0.0 MB |
+| :ref:`sphx_glr_how_to_work_with_relay_using_pipeline_executor.py` (``using_pipeline_executor.py``) | 00:36.120 | 0.0 MB |
+----------------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_how_to_work_with_relay_using_external_lib.py` (``using_external_lib.py``) | 00:03.865 | 0.0 MB |
+| :ref:`sphx_glr_how_to_work_with_relay_using_external_lib.py` (``using_external_lib.py``) | 00:03.880 | 0.0 MB |
+----------------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_how_to_work_with_relay_build_gcn.py` (``build_gcn.py``) | 00:01.890 | 0.0 MB |
+| :ref:`sphx_glr_how_to_work_with_relay_build_gcn.py` (``build_gcn.py``) | 00:02.153 | 0.0 MB |
+----------------------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_how_to_work_with_relay_using_relay_viz.py` (``using_relay_viz.py``) | 00:00.006 | 0.0 MB |
+----------------------------------------------------------------------------------------------------+-----------+--------+
diff --git a/docs/_sources/how_to/work_with_schedules/sg_execution_times.rst.txt b/docs/_sources/how_to/work_with_schedules/sg_execution_times.rst.txt
index fe0cb5af8a..5e5908cdf6 100644
--- a/docs/_sources/how_to/work_with_schedules/sg_execution_times.rst.txt
+++ b/docs/_sources/how_to/work_with_schedules/sg_execution_times.rst.txt
@@ -5,20 +5,20 @@
Computation times
=================
-**00:03.074** total execution time for **how_to_work_with_schedules** files:
+**00:03.098** total execution time for **how_to_work_with_schedules** files:
+------------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_how_to_work_with_schedules_tensorize.py` (``tensorize.py``) | 00:01.398 | 0.0 MB |
+| :ref:`sphx_glr_how_to_work_with_schedules_tensorize.py` (``tensorize.py``) | 00:01.310 | 0.0 MB |
+------------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_how_to_work_with_schedules_reduction.py` (``reduction.py``) | 00:00.696 | 0.0 MB |
+| :ref:`sphx_glr_how_to_work_with_schedules_reduction.py` (``reduction.py``) | 00:00.743 | 0.0 MB |
+------------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_how_to_work_with_schedules_scan.py` (``scan.py``) | 00:00.682 | 0.0 MB |
+| :ref:`sphx_glr_how_to_work_with_schedules_scan.py` (``scan.py``) | 00:00.735 | 0.0 MB |
+------------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_how_to_work_with_schedules_extern_op.py` (``extern_op.py``) | 00:00.130 | 0.0 MB |
+| :ref:`sphx_glr_how_to_work_with_schedules_extern_op.py` (``extern_op.py``) | 00:00.134 | 0.0 MB |
+------------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_how_to_work_with_schedules_schedule_primitives.py` (``schedule_primitives.py``) | 00:00.070 | 0.0 MB |
+| :ref:`sphx_glr_how_to_work_with_schedules_schedule_primitives.py` (``schedule_primitives.py``) | 00:00.073 | 0.0 MB |
+------------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_how_to_work_with_schedules_tedd.py` (``tedd.py``) | 00:00.064 | 0.0 MB |
+| :ref:`sphx_glr_how_to_work_with_schedules_tedd.py` (``tedd.py``) | 00:00.068 | 0.0 MB |
+------------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_how_to_work_with_schedules_tuple_inputs.py` (``tuple_inputs.py``) | 00:00.034 | 0.0 MB |
+| :ref:`sphx_glr_how_to_work_with_schedules_tuple_inputs.py` (``tuple_inputs.py``) | 00:00.035 | 0.0 MB |
+------------------------------------------------------------------------------------------------+-----------+--------+
diff --git a/docs/_sources/topic/vta/tutorials/frontend/deploy_detection.rst.txt b/docs/_sources/topic/vta/tutorials/frontend/deploy_detection.rst.txt
index 9a73818770..e8184f55cd 100644
--- a/docs/_sources/topic/vta/tutorials/frontend/deploy_detection.rst.txt
+++ b/docs/_sources/topic/vta/tutorials/frontend/deploy_detection.rst.txt
@@ -337,7 +337,7 @@ The compilation steps are:
/workspace/python/tvm/relay/build_module.py:345: DeprecationWarning: Please use input parameter mod (tvm.IRModule) instead of deprecated parameter mod (tvm.relay.function.Function)
warnings.warn(
- yolov3-tiny inference graph built in 29.82s!
+ yolov3-tiny inference graph built in 30.34s!
@@ -447,7 +447,7 @@ Download test image
.. rst-class:: sphx-glr-timing
- **Total running time of the script:** ( 1 minutes 6.827 seconds)
+ **Total running time of the script:** ( 1 minutes 7.667 seconds)
.. _sphx_glr_download_topic_vta_tutorials_frontend_deploy_detection.py:
diff --git a/docs/_sources/topic/vta/tutorials/frontend/sg_execution_times.rst.txt b/docs/_sources/topic/vta/tutorials/frontend/sg_execution_times.rst.txt
index 3510426742..5dd0375bfd 100644
--- a/docs/_sources/topic/vta/tutorials/frontend/sg_execution_times.rst.txt
+++ b/docs/_sources/topic/vta/tutorials/frontend/sg_execution_times.rst.txt
@@ -5,8 +5,8 @@
Computation times
=================
-**01:06.827** total execution time for **topic_vta_tutorials_frontend** files:
+**01:07.667** total execution time for **topic_vta_tutorials_frontend** files:
+--------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_topic_vta_tutorials_frontend_deploy_detection.py` (``deploy_detection.py``) | 01:06.827 | 0.0 MB |
+| :ref:`sphx_glr_topic_vta_tutorials_frontend_deploy_detection.py` (``deploy_detection.py``) | 01:07.667 | 0.0 MB |
+--------------------------------------------------------------------------------------------+-----------+--------+
diff --git a/docs/_sources/topic/vta/tutorials/optimize/sg_execution_times.rst.txt b/docs/_sources/topic/vta/tutorials/optimize/sg_execution_times.rst.txt
index d2fc563d0e..1b04853720 100644
--- a/docs/_sources/topic/vta/tutorials/optimize/sg_execution_times.rst.txt
+++ b/docs/_sources/topic/vta/tutorials/optimize/sg_execution_times.rst.txt
@@ -5,10 +5,10 @@
Computation times
=================
-**00:03.285** total execution time for **topic_vta_tutorials_optimize** files:
+**00:03.429** total execution time for **topic_vta_tutorials_optimize** files:
+--------------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_topic_vta_tutorials_optimize_convolution_opt.py` (``convolution_opt.py``) | 00:02.797 | 0.0 MB |
+| :ref:`sphx_glr_topic_vta_tutorials_optimize_convolution_opt.py` (``convolution_opt.py``) | 00:02.890 | 0.0 MB |
+--------------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_topic_vta_tutorials_optimize_matrix_multiply_opt.py` (``matrix_multiply_opt.py``) | 00:00.488 | 0.0 MB |
+| :ref:`sphx_glr_topic_vta_tutorials_optimize_matrix_multiply_opt.py` (``matrix_multiply_opt.py``) | 00:00.540 | 0.0 MB |
+--------------------------------------------------------------------------------------------------+-----------+--------+
diff --git a/docs/_sources/topic/vta/tutorials/sg_execution_times.rst.txt b/docs/_sources/topic/vta/tutorials/sg_execution_times.rst.txt
index 0d321d4bbd..7edf1fd75c 100644
--- a/docs/_sources/topic/vta/tutorials/sg_execution_times.rst.txt
+++ b/docs/_sources/topic/vta/tutorials/sg_execution_times.rst.txt
@@ -5,10 +5,10 @@
Computation times
=================
-**00:00.844** total execution time for **topic_vta_tutorials** files:
+**00:00.939** total execution time for **topic_vta_tutorials** files:
+---------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_topic_vta_tutorials_matrix_multiply.py` (``matrix_multiply.py``) | 00:00.462 | 0.0 MB |
+| :ref:`sphx_glr_topic_vta_tutorials_matrix_multiply.py` (``matrix_multiply.py``) | 00:00.519 | 0.0 MB |
+---------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_topic_vta_tutorials_vta_get_started.py` (``vta_get_started.py``) | 00:00.382 | 0.0 MB |
+| :ref:`sphx_glr_topic_vta_tutorials_vta_get_started.py` (``vta_get_started.py``) | 00:00.420 | 0.0 MB |
+---------------------------------------------------------------------------------+-----------+--------+
diff --git a/docs/_sources/tutorial/auto_scheduler_matmul_x86.rst.txt b/docs/_sources/tutorial/auto_scheduler_matmul_x86.rst.txt
index 46b3d2d110..2d68b4fc5e 100644
--- a/docs/_sources/tutorial/auto_scheduler_matmul_x86.rst.txt
+++ b/docs/_sources/tutorial/auto_scheduler_matmul_x86.rst.txt
@@ -318,7 +318,7 @@ We build the binary and check its correctness and performance.
.. code-block:: none
- Execution time of this operator: 93.142 ms
+ Execution time of this operator: 94.573 ms
@@ -434,7 +434,7 @@ operations.
.. rst-class:: sphx-glr-timing
- **Total running time of the script:** ( 1 minutes 38.740 seconds)
+ **Total running time of the script:** ( 1 minutes 34.187 seconds)
.. _sphx_glr_download_tutorial_auto_scheduler_matmul_x86.py:
diff --git a/docs/_sources/tutorial/autotvm_matmul_x86.rst.txt b/docs/_sources/tutorial/autotvm_matmul_x86.rst.txt
index 41019ae3be..343aaab2c2 100644
--- a/docs/_sources/tutorial/autotvm_matmul_x86.rst.txt
+++ b/docs/_sources/tutorial/autotvm_matmul_x86.rst.txt
@@ -454,16 +454,16 @@ reduce variance, we take 5 measurements and average them.
waiting for device...
device available
Get devices for measurement successfully!
- No: 1 GFLOPS: 2.03/2.03 result: MeasureResult(costs=(0.13244483840000001,), error_no=MeasureErrorNo.NO_ERROR, all_cost=3.471208333969116, timestamp=1728312373.47932) [('tile_y', [-1, 8]), ('tile_x', [-1, 1])],None,3
- No: 2 GFLOPS: 12.47/12.47 result: MeasureResult(costs=(0.0215260516,), error_no=MeasureErrorNo.NO_ERROR, all_cost=1.713526725769043, timestamp=1728312374.0952868) [('tile_y', [-1, 32]), ('tile_x', [-1, 128])],None,75
- No: 3 GFLOPS: 11.24/12.47 result: MeasureResult(costs=(0.0238879888,), error_no=MeasureErrorNo.NO_ERROR, all_cost=1.7444441318511963, timestamp=1728312374.7477028) [('tile_y', [-1, 128]), ('tile_x', [-1, 512])],None,97
- No: 4 GFLOPS: 10.24/12.47 result: MeasureResult(costs=(0.026202138000000003,), error_no=MeasureErrorNo.NO_ERROR, all_cost=1.7860722541809082, timestamp=1728312375.4359043) [('tile_y', [-1, 32]), ('tile_x', [-1, 256])],None,85
- No: 5 GFLOPS: 9.51/12.47 result: MeasureResult(costs=(0.028224840600000002,), error_no=MeasureErrorNo.NO_ERROR, all_cost=0.750563383102417, timestamp=1728312376.3010347) [('tile_y', [-1, 8]), ('tile_x', [-1, 4])],None,23
- No: 6 GFLOPS: 10.18/12.47 result: MeasureResult(costs=(0.026379894000000004,), error_no=MeasureErrorNo.NO_ERROR, all_cost=0.7271623611450195, timestamp=1728312376.986552) [('tile_y', [-1, 4]), ('tile_x', [-1, 64])],None,62
- No: 7 GFLOPS: 2.01/12.47 result: MeasureResult(costs=(0.1333303996,), error_no=MeasureErrorNo.NO_ERROR, all_cost=2.425389289855957, timestamp=1728312379.3808322) [('tile_y', [-1, 64]), ('tile_x', [-1, 4])],None,26
- No: 8 GFLOPS: 9.00/12.47 result: MeasureResult(costs=(0.0298400188,), error_no=MeasureErrorNo.NO_ERROR, all_cost=0.7655494213104248, timestamp=1728312380.127079) [('tile_y', [-1, 512]), ('tile_x', [-1, 256])],None,89
- No: 9 GFLOPS: 15.88/15.88 result: MeasureResult(costs=(0.0169045234,), error_no=MeasureErrorNo.NO_ERROR, all_cost=0.5252039432525635, timestamp=1728312380.7646163) [('tile_y', [-1, 16]), ('tile_x', [-1, 64])],None,64
- No: 10 GFLOPS: 10.60/15.88 result: MeasureResult(costs=(0.0253139864,), error_no=MeasureErrorNo.NO_ERROR, all_cost=0.664315938949585, timestamp=1728312381.4342213) [('tile_y', [-1, 8]), ('tile_x', [-1, 16])],None,43
+ No: 1 GFLOPS: 11.66/11.66 result: MeasureResult(costs=(0.023018255600000002,), error_no=MeasureErrorNo.NO_ERROR, all_cost=1.7284162044525146, timestamp=1728320015.9352808) [('tile_y', [-1, 64]), ('tile_x', [-1, 512])],None,96
+ No: 2 GFLOPS: 9.22/11.66 result: MeasureResult(costs=(0.029113091600000002,), error_no=MeasureErrorNo.NO_ERROR, all_cost=1.952054738998413, timestamp=1728320016.6699033) [('tile_y', [-1, 2]), ('tile_x', [-1, 128])],None,71
+ No: 3 GFLOPS: 8.61/11.66 result: MeasureResult(costs=(0.031193948,), error_no=MeasureErrorNo.NO_ERROR, all_cost=1.8257982730865479, timestamp=1728320017.436512) [('tile_y', [-1, 2]), ('tile_x', [-1, 8])],None,31
+ No: 4 GFLOPS: 13.60/13.60 result: MeasureResult(costs=(0.019737460999999998,), error_no=MeasureErrorNo.NO_ERROR, all_cost=1.6737611293792725, timestamp=1728320018.0150588) [('tile_y', [-1, 256]), ('tile_x', [-1, 64])],None,68
+ No: 5 GFLOPS: 13.75/13.75 result: MeasureResult(costs=(0.0195179504,), error_no=MeasureErrorNo.NO_ERROR, all_cost=0.643498420715332, timestamp=1728320018.770823) [('tile_y', [-1, 128]), ('tile_x', [-1, 64])],None,67
+ No: 6 GFLOPS: 10.43/13.75 result: MeasureResult(costs=(0.025733626800000003,), error_no=MeasureErrorNo.NO_ERROR, all_cost=0.7193014621734619, timestamp=1728320019.4460359) [('tile_y', [-1, 4]), ('tile_x', [-1, 8])],None,32
+ No: 7 GFLOPS: 3.65/13.75 result: MeasureResult(costs=(0.073564652,), error_no=MeasureErrorNo.NO_ERROR, all_cost=1.4688234329223633, timestamp=1728320020.881395) [('tile_y', [-1, 128]), ('tile_x', [-1, 8])],None,37
+ No: 8 GFLOPS: 12.59/13.75 result: MeasureResult(costs=(0.021326811,), error_no=MeasureErrorNo.NO_ERROR, all_cost=0.6524724960327148, timestamp=1728320021.4911494) [('tile_y', [-1, 32]), ('tile_x', [-1, 128])],None,75
+ No: 9 GFLOPS: 12.52/13.75 result: MeasureResult(costs=(0.0214418088,), error_no=MeasureErrorNo.NO_ERROR, all_cost=0.6335511207580566, timestamp=1728320022.2345142) [('tile_y', [-1, 128]), ('tile_x', [-1, 128])],None,77
+ No: 10 GFLOPS: 10.35/13.75 result: MeasureResult(costs=(0.0259453952,), error_no=MeasureErrorNo.NO_ERROR, all_cost=0.6804549694061279, timestamp=1728320022.9258416) [('tile_y', [-1, 32]), ('tile_x', [-1, 256])],None,85
diff --git a/docs/_sources/tutorial/autotvm_relay_x86.rst.txt b/docs/_sources/tutorial/autotvm_relay_x86.rst.txt
index b5762988ba..d0a61885c8 100644
--- a/docs/_sources/tutorial/autotvm_relay_x86.rst.txt
+++ b/docs/_sources/tutorial/autotvm_relay_x86.rst.txt
@@ -311,7 +311,7 @@ standard deviation.
.. code-block:: none
- {'mean': 494.1606410600014, 'median': 494.17804575000446, 'std': 4.841525998888283}
+ {'mean': 473.3431439100241, 'median': 473.6880716001906, 'std': 1.6024107063157094}
@@ -582,31 +582,30 @@ the tuning data to.
.. code-block:: none
- [Task 1/25] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (0/20) | 0.00 s [Task 1/25] Current/Best: 3.26/ 22.91 GFLOPS | Progress: (4/20) | 9.35 s [Task 1/25] Current/Best: 7.41/ 22.91 GFLOPS | Progress: (8/20) | 12.04 s [Task 1/25] Current/Best: 3.32/ 23.55 GFLOPS | Progress: (12/20) | 15.52 s [Task 1/25] Current/Best: 19.96/ 23.55 GFLOPS | Progress: (16/20) | 18.14 s [Task 1/25] Current/Best: 13.57/ 23.55 GFLOPS | Progress: (20/20) | 23.49 s Done.
- [Task 2/25] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (0/20) | 0.00 s [Task 2/25] Current/Best: 15.72/ 15.72 GFLOPS | Progress: (4/20) | 4.16 s [Task 2/25] Current/Best: 17.52/ 18.61 GFLOPS | Progress: (8/20) | 5.70 s [Task 2/25] Current/Best: 18.43/ 18.61 GFLOPS | Progress: (12/20) | 7.08 s [Task 2/25] Current/Best: 12.35/ 18.61 GFLOPS | Progress: (16/20) | 8.61 s [Task 2/25] Current/Best: 5.73/ 18.61 GFLOPS | Progress: (20/20) | 10.55 s Done.
- [Task 3/25] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (0/20) | 0.00 s [Task 3/25] Current/Best: 6.22/ 20.55 GFLOPS | Progress: (4/20) | 6.11 s [Task 3/25] Current/Best: 20.63/ 23.63 GFLOPS | Progress: (8/20) | 8.27 s [Task 3/25] Current/Best: 13.15/ 23.63 GFLOPS | Progress: (12/20) | 11.38 s [Task 3/25] Current/Best: 12.47/ 23.63 GFLOPS | Progress: (16/20) | 14.59 s [Task 3/25] Current/Best: 11.14/ 23.63 GFLOPS | Progress: (20/20) | 17.01 s Done.
- [Task 4/25] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (0/20) | 0.00 s [Task 4/25] Current/Best: 8.46/ 14.21 GFLOPS | Progress: (4/20) | 7.55 s [Task 4/25] Current/Best: 3.79/ 22.49 GFLOPS | Progress: (8/20) | 9.59 s [Task 4/25] Current/Best: 19.65/ 22.49 GFLOPS | Progress: (12/20) | 13.96 s [Task 4/25] Current/Best: 13.47/ 22.49 GFLOPS | Progress: (16/20) | 17.19 s [Task 4/25] Current/Best: 18.35/ 22.70 GFLOPS | Progress: (20/20) | 18.82 s Done.
- [Task 5/25] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (0/20) | 0.00 s [Task 5/25] Current/Best: 5.77/ 13.64 GFLOPS | Progress: (4/20) | 4.95 s [Task 5/25] Current/Best: 20.40/ 20.40 GFLOPS | Progress: (8/20) | 6.84 s [Task 5/25] Current/Best: 4.70/ 20.40 GFLOPS | Progress: (12/20) | 9.12 s [Task 5/25] Current/Best: 5.98/ 20.40 GFLOPS | Progress: (16/20) | 10.96 s [Task 5/25] Current/Best: 3.55/ 20.40 GFLOPS | Progress: (20/20) | 13.09 s Done.
- [Task 6/25] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (0/20) | 0.00 s [Task 6/25] Current/Best: 6.43/ 15.34 GFLOPS | Progress: (4/20) | 5.07 s [Task 6/25] Current/Best: 5.02/ 16.93 GFLOPS | Progress: (8/20) | 8.42 s [Task 6/25] Current/Best: 9.81/ 16.93 GFLOPS | Progress: (12/20) | 10.88 s [Task 6/25] Current/Best: 11.14/ 17.68 GFLOPS | Progress: (16/20) | 14.17 s [Task 6/25] Current/Best: 10.45/ 17.68 GFLOPS | Progress: (20/20) | 17.90 s Done.
- [Task 7/25] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (0/20) | 0.00 s [Task 7/25] Current/Best: 14.47/ 14.47 GFLOPS | Progress: (4/20) | 5.25 s [Task 7/25] Current/Best: 12.24/ 19.65 GFLOPS | Progress: (8/20) | 8.02 s [Task 7/25] Current/Best: 18.64/ 19.65 GFLOPS | Progress: (12/20) | 10.16 s [Task 7/25] Current/Best: 11.50/ 19.65 GFLOPS | Progress: (16/20) | 13.22 s [Task 7/25] Current/Best: 21.64/ 21.64 GFLOPS | Progress: (20/20) | 15.42 s Done.
- [Task 8/25] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (0/20) | 0.00 s [Task 8/25] Current/Best: 12.32/ 17.63 GFLOPS | Progress: (4/20) | 7.56 s [Task 8/25] Current/Best: 19.54/ 19.54 GFLOPS | Progress: (8/20) | 9.94 s [Task 8/25] Current/Best: 8.55/ 19.54 GFLOPS | Progress: (12/20) | 15.74 s [Task 8/25] Current/Best: 9.96/ 19.54 GFLOPS | Progress: (16/20) | 19.41 s [Task 8/25] Current/Best: 10.35/ 19.54 GFLOPS | Progress: (20/20) | 30.49 s Done.
- [Task 9/25] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (0/20) | 0.00 s [Task 9/25] Current/Best: 16.66/ 16.66 GFLOPS | Progress: (4/20) | 4.70 s [Task 9/25] Current/Best: 14.21/ 17.18 GFLOPS | Progress: (8/20) | 6.85 s [Task 9/25] Current/Best: 14.12/ 20.32 GFLOPS | Progress: (12/20) | 8.52 s [Task 9/25] Current/Best: 9.32/ 20.32 GFLOPS | Progress: (16/20) | 12.72 s [Task 9/25] Current/Best: 16.80/ 20.32 GFLOPS | Progress: (20/20) | 15.16 s Done.
- [Task 10/25] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (0/20) | 0.00 s [Task 10/25] Current/Best: 5.22/ 18.23 GFLOPS | Progress: (4/20) | 4.45 s [Task 10/25] Current/Best: 7.26/ 20.50 GFLOPS | Progress: (8/20) | 6.24 s [Task 10/25] Current/Best: 22.18/ 22.18 GFLOPS | Progress: (12/20) | 9.21 s [Task 10/25] Current/Best: 16.12/ 22.18 GFLOPS | Progress: (16/20) | 11.46 s [Task 10/25] Current/Best: 5.85/ 22.18 GFLOPS | Progress: (20/20) | 13.51 s Done.
- [Task 11/25] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (0/20) | 0.00 s [Task 11/25] Current/Best: 20.81/ 23.46 GFLOPS | Progress: (4/20) | 4.30 s [Task 11/25] Current/Best: 11.99/ 23.46 GFLOPS | Progress: (8/20) | 6.66 s [Task 11/25] Current/Best: 23.19/ 23.46 GFLOPS | Progress: (12/20) | 8.56 s [Task 11/25] Current/Best: 6.32/ 23.46 GFLOPS | Progress: (16/20) | 11.25 s [Task 11/25] Current/Best: 13.45/ 23.46 GFLOPS | Progress: (20/20) | 13.62 s Done.
- [Task 12/25] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (0/20) | 0.00 s [Task 12/25] Current/Best: 10.94/ 15.03 GFLOPS | Progress: (4/20) | 8.47 s [Task 12/25] Current/Best: 10.52/ 21.89 GFLOPS | Progress: (8/20) | 11.03 s [Task 12/25] Current/Best: 16.04/ 21.89 GFLOPS | Progress: (12/20) | 14.05 s [Task 12/25] Current/Best: 15.23/ 21.89 GFLOPS | Progress: (16/20) | 16.08 s [Task 12/25] Current/Best: 11.57/ 21.89 GFLOPS | Progress: (20/20) | 19.13 s Done.
- [Task 13/25] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (0/20) | 0.00 s [Task 13/25] Current/Best: 11.75/ 18.59 GFLOPS | Progress: (4/20) | 5.71 s [Task 13/25] Current/Best: 12.13/ 18.59 GFLOPS | Progress: (8/20) | 8.40 s [Task 13/25] Current/Best: 19.11/ 19.11 GFLOPS | Progress: (12/20) | 12.22 s [Task 13/25] Current/Best: 7.02/ 19.11 GFLOPS | Progress: (16/20) | 16.27 s [Task 13/25] Current/Best: 8.81/ 19.44 GFLOPS | Progress: (20/20) | 18.87 s Done.
- [Task 14/25] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (0/20) | 0.00 s [Task 14/25] Current/Best: 9.81/ 12.97 GFLOPS | Progress: (4/20) | 8.38 s [Task 14/25] Current/Best: 14.20/ 17.74 GFLOPS | Progress: (8/20) | 10.54 s [Task 14/25] Current/Best: 13.14/ 17.74 GFLOPS | Progress: (12/20) | 22.14 s [Task 14/25] Current/Best: 8.43/ 17.74 GFLOPS | Progress: (16/20) | 27.98 s [Task 14/25] Current/Best: 14.52/ 17.74 GFLOPS | Progress: (20/20) | 31.68 s [Task 15/25] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (0/20) | 0.00 s [Task 15/25] Current/Best: 22.70/ 22.70 GFLOPS | Progress: (4/20) | 5.28 s [Task 15/25] Current/Best: 20.00/ 22.70 GFLOPS | Progress: (8/20) | 9.58 s [Task 15/25] Current/Best: 7.53/ 22.70 GFLOPS | Progress: (12/20) | 16.48 s [Task 15/25] Current/Best: 10.80/ 22.70 GFLOPS | Progress: (16/20) | 18.64 s [Task 15/25] Current/Best: 10.34/ 22.70 GFLOPS | Progress: (20/2
0) | 29.78 s [Task 16/25] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (0/20) | 0.00 s [Task 16/25] Current/Best: 11.19/ 18.59 GFLOPS | Progress: (4/20) | 6.62 s [Task 16/25] Current/Best: 14.18/ 18.59 GFLOPS | Progress: (8/20) | 8.29 s [Task 16/25] Current/Best: 12.55/ 19.64 GFLOPS | Progress: (12/20) | 10.91 s [Task 16/25] Current/Best: 15.38/ 19.64 GFLOPS | Progress: (16/20) | 12.87 s [Task 16/25] Current/Best: 3.81/ 19.64 GFLOPS | Progress: (20/20) | 15.18 s Done.
- [Task 17/25] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (0/20) | 0.00 s [Task 17/25] Current/Best: 19.04/ 20.35 GFLOPS | Progress: (4/20) | 6.41 s [Task 17/25] Current/Best: 15.62/ 20.92 GFLOPS | Progress: (8/20) | 9.54 s [Task 17/25] Current/Best: 10.82/ 21.09 GFLOPS | Progress: (12/20) | 13.63 s [Task 17/25] Current/Best: 16.07/ 21.09 GFLOPS | Progress: (16/20) | 18.40 s [Task 17/25] Current/Best: 13.28/ 21.09 GFLOPS | Progress: (20/20) | 21.88 s Done.
- [Task 18/25] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (0/20) | 0.00 s [Task 18/25] Current/Best: 3.08/ 17.86 GFLOPS | Progress: (4/20) | 5.01 s [Task 18/25] Current/Best: 16.88/ 17.86 GFLOPS | Progress: (8/20) | 9.18 s [Task 18/25] Current/Best: 7.76/ 19.65 GFLOPS | Progress: (12/20) | 13.69 s [Task 18/25] Current/Best: 3.12/ 19.65 GFLOPS | Progress: (16/20) | 19.99 s [Task 18/25] Current/Best: 11.44/ 19.65 GFLOPS | Progress: (20/20) | 23.29 s Done.
- [Task 19/25] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (0/20) | 0.00 s [Task 19/25] Current/Best: 17.01/ 19.95 GFLOPS | Progress: (4/20) | 5.04 s [Task 19/25] Current/Best: 11.63/ 19.95 GFLOPS | Progress: (8/20) | 8.18 s [Task 19/25] Current/Best: 17.45/ 19.95 GFLOPS | Progress: (12/20) | 11.96 s [Task 19/25] Current/Best: 8.67/ 19.95 GFLOPS | Progress: (16/20) | 16.71 s [Task 19/25] Current/Best: 12.18/ 19.95 GFLOPS | Progress: (20/20) | 21.74 s Done.
- [Task 20/25] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (0/20) | 0.00 s [Task 20/25] Current/Best: 18.69/ 18.69 GFLOPS | Progress: (4/20) | 8.36 s Done.
- Done.
- [Task 20/25] Current/Best: 9.55/ 21.17 GFLOPS | Progress: (8/20) | 16.08 s [Task 20/25] Current/Best: 6.18/ 21.17 GFLOPS | Progress: (12/20) | 19.12 s [Task 20/25] Current/Best: 17.65/ 21.17 GFLOPS | Progress: (16/20) | 21.48 s [Task 20/25] Current/Best: 12.07/ 21.17 GFLOPS | Progress: (20/20) | 30.09 s Done.
- [Task 21/25] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (0/20) | 0.00 s [Task 21/25] Current/Best: 13.41/ 21.64 GFLOPS | Progress: (4/20) | 5.28 s [Task 21/25] Current/Best: 3.59/ 21.64 GFLOPS | Progress: (8/20) | 7.68 s [Task 21/25] Current/Best: 5.62/ 21.64 GFLOPS | Progress: (12/20) | 13.72 s [Task 21/25] Current/Best: 18.11/ 22.39 GFLOPS | Progress: (16/20) | 15.45 s [Task 21/25] Current/Best: 7.73/ 22.39 GFLOPS | Progress: (20/20) | 19.16 s Done.
- [Task 22/25] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (0/20) | 0.00 s [Task 22/25] Current/Best: 17.90/ 17.90 GFLOPS | Progress: (4/20) | 4.94 s [Task 22/25] Current/Best: 20.03/ 20.03 GFLOPS | Progress: (8/20) | 8.52 s [Task 22/25] Current/Best: 5.23/ 20.03 GFLOPS | Progress: (12/20) | 10.54 s [Task 22/25] Current/Best: 13.86/ 20.03 GFLOPS | Progress: (16/20) | 12.43 s [Task 22/25] Current/Best: 17.98/ 20.03 GFLOPS | Progress: (20/20) | 14.36 s Done.
- [Task 23/25] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (0/20) | 0.00 s [Task 23/25] Current/Best: 10.08/ 18.53 GFLOPS | Progress: (4/20) | 6.32 s [Task 23/25] Current/Best: 19.76/ 19.76 GFLOPS | Progress: (8/20) | 10.25 s [Task 23/25] Current/Best: 2.69/ 22.08 GFLOPS | Progress: (12/20) | 14.03 s [Task 23/25] Current/Best: 8.03/ 22.08 GFLOPS | Progress: (16/20) | 17.74 s [Task 23/25] Current/Best: 11.67/ 22.08 GFLOPS | Progress: (20/20) | 20.52 s Done.
- [Task 24/25] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (0/20) | 0.00 s [Task 24/25] Current/Best: 3.00/ 3.53 GFLOPS | Progress: (4/20) | 13.65 s [Task 24/25] Current/Best: 4.02/ 9.57 GFLOPS | Progress: (8/20) | 17.01 s [Task 24/25] Current/Best: 3.12/ 9.57 GFLOPS | Progress: (12/20) | 28.03 s [Task 24/25] Current/Best: 10.02/ 10.02 GFLOPS | Progress: (16/20) | 32.07 s [Task 24/25] Current/Best: 3.21/ 10.02 GFLOPS | Progress: (20/20) | 42.44 s [Task 25/25] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (0/20) | 0.00 s [Task 25/25] Current/Best: 1.55/ 9.44 GFLOPS | Progress: (4/20) | 4.09 s [Task 25/25] Current/Best: 6.96/ 9.44 GFLOPS | Progress: (8/20) | 5.90 s [Task 25/25] Current/Best: 8.12/ 9.44 GFLOPS | Progress: (12/20) | 8.85 s [Task 25/25] Current/Best: 8.17/ 9.87 GFLOPS | Progress: (16/20) | 10.98 s [Task 25/25] Current/Best: 1.54/ 9.87 GFLOPS | Progress: (20/2
0) | 14.57 s Done.
-
+ [Task 1/25] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (0/20) | 0.00 s [Task 1/25] Current/Best: 24.54/ 24.54 GFLOPS | Progress: (4/20) | 10.29 s [Task 1/25] Current/Best: 11.46/ 24.54 GFLOPS | Progress: (8/20) | 14.39 s [Task 1/25] Current/Best: 18.45/ 24.54 GFLOPS | Progress: (12/20) | 17.51 s [Task 1/25] Current/Best: 13.93/ 24.54 GFLOPS | Progress: (16/20) | 20.24 s [Task 1/25] Current/Best: 15.39/ 24.54 GFLOPS | Progress: (20/20) | 23.11 s Done.
+ [Task 2/25] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (0/20) | 0.00 s [Task 2/25] Current/Best: 15.55/ 22.52 GFLOPS | Progress: (4/20) | 4.08 s [Task 2/25] Current/Best: 14.09/ 22.52 GFLOPS | Progress: (8/20) | 5.57 s [Task 2/25] Current/Best: 14.68/ 22.52 GFLOPS | Progress: (12/20) | 7.02 s [Task 2/25] Current/Best: 16.77/ 22.52 GFLOPS | Progress: (16/20) | 8.45 s [Task 2/25] Current/Best: 9.43/ 22.52 GFLOPS | Progress: (20/20) | 9.97 s Done.
+ [Task 3/25] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (0/20) | 0.00 s [Task 3/25] Current/Best: 7.66/ 23.38 GFLOPS | Progress: (4/20) | 4.96 s [Task 3/25] Current/Best: 9.96/ 23.38 GFLOPS | Progress: (8/20) | 9.10 s [Task 3/25] Current/Best: 16.55/ 23.38 GFLOPS | Progress: (12/20) | 11.37 s [Task 3/25] Current/Best: 18.47/ 25.28 GFLOPS | Progress: (16/20) | 13.37 s [Task 3/25] Current/Best: 13.98/ 25.28 GFLOPS | Progress: (20/20) | 15.81 s Done.
+ [Task 4/25] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (0/20) | 0.00 s [Task 4/25] Current/Best: 14.32/ 18.36 GFLOPS | Progress: (4/20) | 4.44 s [Task 4/25] Current/Best: 11.12/ 18.36 GFLOPS | Progress: (8/20) | 7.18 s [Task 4/25] Current/Best: 20.23/ 20.23 GFLOPS | Progress: (12/20) | 8.85 s [Task 4/25] Current/Best: 11.27/ 20.23 GFLOPS | Progress: (16/20) | 11.00 s [Task 4/25] Current/Best: 17.59/ 21.65 GFLOPS | Progress: (20/20) | 12.69 s Done.
+ [Task 5/25] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (0/20) | 0.00 s [Task 5/25] Current/Best: 18.61/ 18.61 GFLOPS | Progress: (4/20) | 4.66 s [Task 5/25] Current/Best: 14.43/ 18.61 GFLOPS | Progress: (8/20) | 6.83 s [Task 5/25] Current/Best: 3.64/ 23.65 GFLOPS | Progress: (12/20) | 8.74 s [Task 5/25] Current/Best: 19.39/ 23.65 GFLOPS | Progress: (16/20) | 10.77 s [Task 5/25] Current/Best: 11.95/ 23.65 GFLOPS | Progress: (20/20) | 13.13 s Done.
+ [Task 6/25] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (0/20) | 0.00 s [Task 6/25] Current/Best: 11.72/ 18.43 GFLOPS | Progress: (4/20) | 5.57 s [Task 6/25] Current/Best: 11.81/ 21.51 GFLOPS | Progress: (8/20) | 8.41 s [Task 6/25] Current/Best: 17.12/ 21.51 GFLOPS | Progress: (12/20) | 10.99 s [Task 6/25] Current/Best: 12.21/ 21.51 GFLOPS | Progress: (16/20) | 14.30 s [Task 6/25] Current/Best: 20.23/ 21.51 GFLOPS | Progress: (20/20) | 16.60 s Done.
+ [Task 7/25] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (0/20) | 0.00 s [Task 7/25] Current/Best: 1.64/ 14.89 GFLOPS | Progress: (4/20) | 6.78 s [Task 7/25] Current/Best: 7.22/ 22.86 GFLOPS | Progress: (8/20) | 8.94 s [Task 7/25] Current/Best: 12.42/ 22.86 GFLOPS | Progress: (12/20) | 11.49 s [Task 7/25] Current/Best: 16.47/ 22.86 GFLOPS | Progress: (16/20) | 14.04 s [Task 7/25] Current/Best: 13.31/ 22.86 GFLOPS | Progress: (20/20) | 16.57 s Done.
+ [Task 8/25] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (0/20) | 0.00 s [Task 8/25] Current/Best: 10.20/ 14.68 GFLOPS | Progress: (4/20) | 9.35 s [Task 8/25] Current/Best: 16.27/ 16.27 GFLOPS | Progress: (8/20) | 12.25 s [Task 8/25] Current/Best: 14.75/ 16.27 GFLOPS | Progress: (12/20) | 18.31 s [Task 8/25] Current/Best: 12.15/ 16.27 GFLOPS | Progress: (16/20) | 22.46 s [Task 8/25] Current/Best: 13.65/ 16.27 GFLOPS | Progress: (20/20) | 25.46 s Done.
+ [Task 9/25] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (0/20) | 0.00 s [Task 9/25] Current/Best: 21.86/ 21.86 GFLOPS | Progress: (4/20) | 9.13 s [Task 9/25] Current/Best: 6.14/ 21.86 GFLOPS | Progress: (8/20) | 16.10 s [Task 9/25] Current/Best: 15.30/ 21.86 GFLOPS | Progress: (12/20) | 21.93 s [Task 9/25] Current/Best: 24.12/ 24.12 GFLOPS | Progress: (16/20) | 23.83 s [Task 9/25] Current/Best: 15.40/ 24.12 GFLOPS | Progress: (20/20) | 34.95 s [Task 10/25] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (0/20) | 0.00 s [Task 10/25] Current/Best: 17.75/ 22.29 GFLOPS | Progress: (4/20) | 5.82 s [Task 10/25] Current/Best: 21.90/ 22.29 GFLOPS | Progress: (8/20) | 7.98 s [Task 10/25] Current/Best: 20.44/ 22.29 GFLOPS | Progress: (12/20) | 9.62 s [Task 10/25] Current/Best: 19.55/ 22.29 GFLOPS | Progress: (16/20) | 11.67 s [Task 10/25] Current/Best: 5.86/ 22.29 GFLOPS | Progress: (20/20
) | 14.57 s Done.
+ [Task 11/25] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (0/20) | 0.00 s [Task 11/25] Current/Best: 12.29/ 22.94 GFLOPS | Progress: (4/20) | 4.97 s [Task 11/25] Current/Best: 12.37/ 22.94 GFLOPS | Progress: (8/20) | 7.60 s [Task 11/25] Current/Best: 5.86/ 22.94 GFLOPS | Progress: (12/20) | 10.51 s [Task 11/25] Current/Best: 11.37/ 22.94 GFLOPS | Progress: (16/20) | 12.73 s [Task 11/25] Current/Best: 1.64/ 22.94 GFLOPS | Progress: (20/20) | 16.97 s Done.
+ [Task 12/25] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (0/20) | 0.00 s [Task 12/25] Current/Best: 4.20/ 14.77 GFLOPS | Progress: (4/20) | 6.64 s [Task 12/25] Current/Best: 11.52/ 16.51 GFLOPS | Progress: (8/20) | 9.91 s [Task 12/25] Current/Best: 4.05/ 16.51 GFLOPS | Progress: (12/20) | 12.82 s [Task 12/25] Current/Best: 3.84/ 16.51 GFLOPS | Progress: (16/20) | 17.10 s [Task 12/25] Current/Best: 13.66/ 19.17 GFLOPS | Progress: (20/20) | 20.03 s Done.
+ [Task 13/25] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (0/20) | 0.00 s [Task 13/25] Current/Best: 8.78/ 20.31 GFLOPS | Progress: (4/20) | 5.94 s [Task 13/25] Current/Best: 18.07/ 21.12 GFLOPS | Progress: (8/20) | 8.18 s [Task 13/25] Current/Best: 16.55/ 22.16 GFLOPS | Progress: (12/20) | 10.91 s [Task 13/25] Current/Best: 17.47/ 22.16 GFLOPS | Progress: (16/20) | 13.62 s [Task 13/25] Current/Best: 4.60/ 22.16 GFLOPS | Progress: (20/20) | 16.46 s Done.
+ [Task 14/25] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (0/20) | 0.00 s [Task 14/25] Current/Best: 7.53/ 15.60 GFLOPS | Progress: (4/20) | 6.17 s [Task 14/25] Current/Best: 16.24/ 16.24 GFLOPS | Progress: (8/20) | 10.49 s [Task 14/25] Current/Best: 9.91/ 16.24 GFLOPS | Progress: (12/20) | 16.74 s [Task 14/25] Current/Best: 9.79/ 16.24 GFLOPS | Progress: (16/20) | 22.09 s [Task 14/25] Current/Best: 14.27/ 17.08 GFLOPS | Progress: (20/20) | 24.89 s Done.
+ [Task 15/25] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (0/20) | 0.00 s [Task 15/25] Current/Best: 9.60/ 15.55 GFLOPS | Progress: (4/20) | 13.70 s [Task 15/25] Current/Best: 12.27/ 19.14 GFLOPS | Progress: (8/20) | 17.69 s [Task 15/25] Current/Best: 13.27/ 20.60 GFLOPS | Progress: (12/20) | 20.06 s [Task 15/25] Current/Best: 18.17/ 20.60 GFLOPS | Progress: (16/20) | 21.82 s [Task 15/25] Current/Best: 13.06/ 20.60 GFLOPS | Progress: (20/20) | 24.60 s Done.
+ [Task 16/25] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (0/20) | 0.00 s [Task 16/25] Current/Best: 19.24/ 19.24 GFLOPS | Progress: (4/20) | 4.03 s [Task 16/25] Current/Best: 19.12/ 19.24 GFLOPS | Progress: (8/20) | 5.64 s [Task 16/25] Current/Best: 11.74/ 19.24 GFLOPS | Progress: (12/20) | 8.34 s [Task 16/25] Current/Best: 3.20/ 19.24 GFLOPS | Progress: (16/20) | 11.49 s [Task 16/25] Current/Best: 22.94/ 22.94 GFLOPS | Progress: (20/20) | 15.03 s Done.
+ [Task 17/25] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (0/20) | 0.00 s [Task 17/25] Current/Best: 8.46/ 11.50 GFLOPS | Progress: (4/20) | 6.22 s [Task 17/25] Current/Best: 19.39/ 21.08 GFLOPS | Progress: (8/20) | 9.29 s [Task 17/25] Current/Best: 1.61/ 21.08 GFLOPS | Progress: (12/20) | 12.83 s [Task 17/25] Current/Best: 10.27/ 21.58 GFLOPS | Progress: (16/20) | 16.28 s [Task 17/25] Current/Best: 8.79/ 23.00 GFLOPS | Progress: (20/20) | 19.34 s Done.
+ [Task 18/25] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (0/20) | 0.00 s [Task 18/25] Current/Best: 14.20/ 17.95 GFLOPS | Progress: (4/20) | 4.56 s [Task 18/25] Current/Best: 15.17/ 17.95 GFLOPS | Progress: (8/20) | 6.99 s [Task 18/25] Current/Best: 12.77/ 19.24 GFLOPS | Progress: (12/20) | 9.81 s [Task 18/25] Current/Best: 19.50/ 19.50 GFLOPS | Progress: (16/20) | 11.89 s [Task 18/25] Current/Best: 18.78/ 19.50 GFLOPS | Progress: (20/20) | 15.29 s Done.
+ [Task 19/25] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (0/20) | 0.00 s [Task 19/25] Current/Best: 9.72/ 11.12 GFLOPS | Progress: (4/20) | 6.29 s [Task 19/25] Current/Best: 10.65/ 20.38 GFLOPS | Progress: (8/20) | 10.26 s [Task 19/25] Current/Best: 1.60/ 20.38 GFLOPS | Progress: (12/20) | 14.00 s [Task 19/25] Current/Best: 13.13/ 21.15 GFLOPS | Progress: (16/20) | 16.50 s [Task 19/25] Current/Best: 18.60/ 21.15 GFLOPS | Progress: (20/20) | 20.43 s Done.
+ [Task 20/25] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (0/20) | 0.00 s [Task 20/25] Current/Best: 10.05/ 11.78 GFLOPS | Progress: (4/20) | 14.29 s [Task 20/25] Current/Best: 8.90/ 17.35 GFLOPS | Progress: (8/20) | 17.13 s [Task 20/25] Current/Best: 19.88/ 19.88 GFLOPS | Progress: (12/20) | 20.64 s [Task 20/25] Current/Best: 11.35/ 19.88 GFLOPS | Progress: (16/20) | 25.16 s [Task 20/25] Current/Best: 4.89/ 19.88 GFLOPS | Progress: (20/20) | 36.69 s Done.
+ [Task 21/25] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (0/20) | 0.00 s [Task 21/25] Current/Best: 7.09/ 11.25 GFLOPS | Progress: (4/20) | 9.83 s [Task 21/25] Current/Best: 2.59/ 16.39 GFLOPS | Progress: (8/20) | 12.18 s [Task 21/25] Current/Best: 8.16/ 16.39 GFLOPS | Progress: (12/20) | 15.68 s [Task 21/25] Current/Best: 20.24/ 20.24 GFLOPS | Progress: (16/20) | 20.95 s [Task 21/25] Current/Best: 3.16/ 21.65 GFLOPS | Progress: (20/20) | 23.37 s Done.
+ [Task 22/25] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (0/20) | 0.00 s [Task 22/25] Current/Best: 7.66/ 13.32 GFLOPS | Progress: (4/20) | 5.82 s [Task 22/25] Current/Best: 10.43/ 15.39 GFLOPS | Progress: (8/20) | 7.88 s [Task 22/25] Current/Best: 5.34/ 22.11 GFLOPS | Progress: (12/20) | 9.65 s [Task 22/25] Current/Best: 7.88/ 22.11 GFLOPS | Progress: (16/20) | 12.57 s [Task 22/25] Current/Best: 2.56/ 22.11 GFLOPS | Progress: (20/20) | 15.02 s Done.
+ [Task 23/25] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (0/20) | 0.00 s [Task 23/25] Current/Best: 19.59/ 20.13 GFLOPS | Progress: (4/20) | 5.51 s [Task 23/25] Current/Best: 22.57/ 22.57 GFLOPS | Progress: (8/20) | 11.19 s [Task 23/25] Current/Best: 1.55/ 22.57 GFLOPS | Progress: (12/20) | 15.09 s [Task 23/25] Current/Best: 2.70/ 22.57 GFLOPS | Progress: (16/20) | 21.28 s [Task 23/25] Current/Best: 10.02/ 22.57 GFLOPS | Progress: (20/20) | 25.89 s Done.
+ [Task 24/25] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (0/20) | 0.00 s [Task 24/25] Current/Best: 10.81/ 10.81 GFLOPS | Progress: (4/20) | 7.73 s [Task 24/25] Current/Best: 1.07/ 10.81 GFLOPS | Progress: (8/20) | 18.51 s [Task 24/25] Current/Best: 3.30/ 10.81 GFLOPS | Progress: (12/20) | 23.70 s Done.
+ [Task 24/25] Current/Best: 3.49/ 10.81 GFLOPS | Progress: (16/20) | 34.16 s [Task 24/25] Current/Best: 1.64/ 10.81 GFLOPS | Progress: (20/20) | 42.43 s [Task 25/25] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (0/20) | 0.00 s [Task 25/25] Current/Best: 2.91/ 5.92 GFLOPS | Progress: (4/20) | 13.56 s [Task 25/25] Current/Best: 5.69/ 10.07 GFLOPS | Progress: (8/20) | 24.55 s [Task 25/25] Current/Best: 5.72/ 10.07 GFLOPS | Progress: (12/20) | 28.10 s [Task 25/25] Current/Best: 7.51/ 10.07 GFLOPS | Progress: (16/20) | 39.10 s [Task 25/25] Current/Best: 8.02/ 10.07 GFLOPS | Progress: (20/20) | 50.11 s
@@ -675,6 +674,7 @@ model using optimized operators to speed up our computations.
.. code-block:: none
Done.
+ Done.
@@ -708,8 +708,8 @@ Verify that the optimized model runs and produces the same results:
.. code-block:: none
- class='n02123045 tabby, tabby cat' with probability=0.621103
- class='n02123159 tiger cat' with probability=0.356379
+ class='n02123045 tabby, tabby cat' with probability=0.621104
+ class='n02123159 tiger cat' with probability=0.356378
class='n02124075 Egyptian cat' with probability=0.019712
class='n02129604 tiger, Panthera tigris' with probability=0.001215
class='n04040759 radiator' with probability=0.000262
@@ -766,8 +766,8 @@ improvement in comparing the optimized model to the unoptimized model.
.. code-block:: none
- optimized: {'mean': 422.93297376000055, 'median': 422.0794507500045, 'std': 3.2590126939510067}
- unoptimized: {'mean': 494.1606410600014, 'median': 494.17804575000446, 'std': 4.841525998888283}
+ optimized: {'mean': 411.9286873099918, 'median': 411.7287640005088, 'std': 3.5155345748359426}
+ unoptimized: {'mean': 473.3431439100241, 'median': 473.6880716001906, 'std': 1.6024107063157094}
@@ -790,7 +790,7 @@ profiling/benchmarking.
.. rst-class:: sphx-glr-timing
- **Total running time of the script:** ( 13 minutes 0.574 seconds)
+ **Total running time of the script:** ( 13 minutes 26.030 seconds)
.. _sphx_glr_download_tutorial_autotvm_relay_x86.py:
diff --git a/docs/_sources/tutorial/intro_topi.rst.txt b/docs/_sources/tutorial/intro_topi.rst.txt
index b254e5bff7..1c82d37dc5 100644
--- a/docs/_sources/tutorial/intro_topi.rst.txt
+++ b/docs/_sources/tutorial/intro_topi.rst.txt
@@ -270,7 +270,7 @@ As you can see, scheduled stages of computation have been accumulated and we can
.. code-block:: none
- [stage(a, placeholder(a, 0x13dc5700)), stage(b, placeholder(b, 0x1600f5b0)), stage(T_add, compute(T_add, body=[a[ax0, ax1, ax2] + b[ax1, ax2]], axis=[T.iter_var(ax0, T.Range(0, 100), "DataPar", ""), T.iter_var(ax1, T.Range(0, 10), "DataPar", ""), T.iter_var(ax2, T.Range(0, 10), "DataPar", "")], reduce_axis=[], tag=broadcast, attrs={})), stage(T_multiply, compute(T_multiply, body=[a[ax0, ax1, ax2] * b[ax1, ax2]], axis=[T.iter_var(ax0, T.Range(0, 100), "DataPar", ""), T.iter_var(ax1, T [...]
+ [stage(a, placeholder(a, 0xf5b4a30)), stage(b, placeholder(b, 0x1597e500)), stage(T_add, compute(T_add, body=[a[ax0, ax1, ax2] + b[ax1, ax2]], axis=[T.iter_var(ax0, T.Range(0, 100), "DataPar", ""), T.iter_var(ax1, T.Range(0, 10), "DataPar", ""), T.iter_var(ax2, T.Range(0, 10), "DataPar", "")], reduce_axis=[], tag=broadcast, attrs={})), stage(T_multiply, compute(T_multiply, body=[a[ax0, ax1, ax2] * b[ax1, ax2]], axis=[T.iter_var(ax0, T.Range(0, 100), "DataPar", ""), T.iter_var(ax1, T. [...]
diff --git a/docs/_sources/tutorial/sg_execution_times.rst.txt b/docs/_sources/tutorial/sg_execution_times.rst.txt
index 66f4dbdac5..add8715d05 100644
--- a/docs/_sources/tutorial/sg_execution_times.rst.txt
+++ b/docs/_sources/tutorial/sg_execution_times.rst.txt
@@ -5,28 +5,28 @@
Computation times
=================
-**16:44.991** total execution time for **tutorial** files:
+**17:03.423** total execution time for **tutorial** files:
+------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_tutorial_autotvm_relay_x86.py` (``autotvm_relay_x86.py``) | 13:00.574 | 0.0 MB |
+| :ref:`sphx_glr_tutorial_autotvm_relay_x86.py` (``autotvm_relay_x86.py``) | 13:26.030 | 0.0 MB |
+------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_tutorial_auto_scheduler_matmul_x86.py` (``auto_scheduler_matmul_x86.py``) | 01:38.740 | 0.0 MB |
+| :ref:`sphx_glr_tutorial_auto_scheduler_matmul_x86.py` (``auto_scheduler_matmul_x86.py``) | 01:34.187 | 0.0 MB |
+------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_tutorial_tensor_expr_get_started.py` (``tensor_expr_get_started.py``) | 00:59.881 | 0.0 MB |
+| :ref:`sphx_glr_tutorial_tensor_expr_get_started.py` (``tensor_expr_get_started.py``) | 01:01.605 | 0.0 MB |
+------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_tutorial_relay_quick_start.py` (``relay_quick_start.py``) | 00:45.921 | 0.0 MB |
+| :ref:`sphx_glr_tutorial_relay_quick_start.py` (``relay_quick_start.py``) | 00:45.044 | 0.0 MB |
+------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_tutorial_autotvm_matmul_x86.py` (``autotvm_matmul_x86.py``) | 00:17.569 | 0.0 MB |
+| :ref:`sphx_glr_tutorial_autotvm_matmul_x86.py` (``autotvm_matmul_x86.py``) | 00:14.847 | 0.0 MB |
+------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_tutorial_tensor_ir_blitz_course.py` (``tensor_ir_blitz_course.py``) | 00:01.402 | 0.0 MB |
+| :ref:`sphx_glr_tutorial_intro_topi.py` (``intro_topi.py``) | 00:00.890 | 0.0 MB |
+------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_tutorial_intro_topi.py` (``intro_topi.py``) | 00:00.905 | 0.0 MB |
+| :ref:`sphx_glr_tutorial_tensor_ir_blitz_course.py` (``tensor_ir_blitz_course.py``) | 00:00.819 | 0.0 MB |
+------------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_tutorial_uma.py` (``uma.py``) | 00:00.000 | 0.0 MB |
+------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_tutorial_tvmc_python.py` (``tvmc_python.py``) | 00:00.000 | 0.0 MB |
-+------------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_tutorial_tvmc_command_line_driver.py` (``tvmc_command_line_driver.py``) | 00:00.000 | 0.0 MB |
+------------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_tutorial_introduction.py` (``introduction.py``) | 00:00.000 | 0.0 MB |
+------------------------------------------------------------------------------------------+-----------+--------+
+| :ref:`sphx_glr_tutorial_tvmc_python.py` (``tvmc_python.py``) | 00:00.000 | 0.0 MB |
++------------------------------------------------------------------------------------------+-----------+--------+
diff --git a/docs/_sources/tutorial/tensor_expr_get_started.rst.txt b/docs/_sources/tutorial/tensor_expr_get_started.rst.txt
index bdaa958d59..b6fa4805fa 100644
--- a/docs/_sources/tutorial/tensor_expr_get_started.rst.txt
+++ b/docs/_sources/tutorial/tensor_expr_get_started.rst.txt
@@ -285,8 +285,8 @@ helper function to run a profile of the TVM generated code.
.. code-block:: none
- Numpy running time: 0.000007
- naive: 0.000008
+ Numpy running time: 0.000008
+ naive: 0.000012
@@ -389,7 +389,7 @@ compile and run this new schedule with the parallel operation applied:
.. code-block:: none
- parallel: 0.000012
+ parallel: 0.000009
@@ -444,7 +444,7 @@ factor to be the number of threads on your CPU.
.. code-block:: none
- vector: 0.000041
+ vector: 0.000040
# from tvm.script import ir as I
# from tvm.script import tir as T
@@ -498,10 +498,10 @@ We can now compare the different schedules
.. code-block:: none
Operator Timing Performance
- numpy 7.380549998288189e-06 1.0
- naive 7.738000000000001e-06 1.048431350210312
- parallel 1.15788e-05 1.5688261718551508
- vector 4.1059e-05 5.563135539969656
+ numpy 8.386080007767305e-06 1.0
+ naive 1.2155399999999999e-05 1.4494734117420174
+ parallel 8.8811e-06 1.0590287705071024
+ vector 3.98983e-05 4.757681773015
@@ -922,7 +922,7 @@ matrix multiplication.
.. code-block:: none
- Numpy running time: 0.018949
+ Numpy running time: 0.017956
@@ -980,7 +980,7 @@ optimizations.
.. code-block:: none
- none: 3.318182
+ none: 3.535353
@@ -1080,7 +1080,7 @@ schedule.
.. code-block:: none
- blocking: 0.315042
+ blocking: 0.295215
@@ -1164,7 +1164,7 @@ already cache friendly from our previous optimizations.
.. code-block:: none
- vectorization: 0.310550
+ vectorization: 0.278583
# from tvm.script import ir as I
# from tvm.script import tir as T
@@ -1230,7 +1230,7 @@ more cache friendly.
.. code-block:: none
- loop permutation: 0.121294
+ loop permutation: 0.113612
# from tvm.script import ir as I
# from tvm.script import tir as T
@@ -1321,7 +1321,7 @@ optimized schedule.
.. code-block:: none
- array packing: 0.107061
+ array packing: 0.106020
# from tvm.script import ir as I
# from tvm.script import tir as T
@@ -1404,7 +1404,7 @@ to `C` when all the block results are ready.
.. code-block:: none
- block caching: 0.111740
+ block caching: 0.112028
# from tvm.script import ir as I
# from tvm.script import tir as T
@@ -1478,7 +1478,7 @@ of thread-level parallelization.
.. code-block:: none
- parallelization: 0.134082
+ parallelization: 0.132589
# from tvm.script import ir as I
# from tvm.script import tir as T
@@ -1548,13 +1548,13 @@ working, we can compare the results.
.. code-block:: none
Operator Timing Performance
- none 3.3181818993 1.0
- blocking 0.3150421844 0.09494421763510341
- vectorization 0.3105501466 0.09359045285175999
- loop permutation 0.1212944785 0.03655449947623069
- array packing 0.1070606889 0.03226486435917977
- block caching 0.1117400435 0.03367508077949933
- parallelization 0.1340822083 0.040408335760099785
+ none 3.5353527108000002 1.0
+ blocking 0.2952150559 0.0835037067159268
+ vectorization 0.27858345869999995 0.07879933955358034
+ loop permutation 0.1136120768 0.032135994932819927
+ array packing 0.1060197419 0.02998844827451721
+ block caching 0.1120283709 0.03168803230234122
+ parallelization 0.1325885668 0.037503631927575644
@@ -1594,6 +1594,11 @@ operations with tunable parameters that allows you to automatically optimize
the computation for specific platforms.
+.. rst-class:: sphx-glr-timing
+
+ **Total running time of the script:** ( 1 minutes 1.605 seconds)
+
+
.. _sphx_glr_download_tutorial_tensor_expr_get_started.py:
.. only:: html
diff --git a/docs/commit_hash b/docs/commit_hash
index 7fd63fd466..4c95beb5a3 100644
--- a/docs/commit_hash
+++ b/docs/commit_hash
@@ -1 +1 @@
-ba80646639d863a07e360dc377d592d1469efb73
+abb901f08cdc646d69758eb32503dcab59a904e0
diff --git a/docs/deep_dive/relax/tutorials/relax_creation.html b/docs/deep_dive/relax/tutorials/relax_creation.html
index 1b91602abc..5cd0bf056e 100644
--- a/docs/deep_dive/relax/tutorials/relax_creation.html
+++ b/docs/deep_dive/relax/tutorials/relax_creation.html
@@ -269,10 +269,22 @@
<li class="toctree-l1"><a class="reference internal" href="../../../how_to/dev/index.html">Development Guides</a></li>
</ul>
<p class="caption" role="heading"><span class="caption-text">Deep Dive</span></p>
-<ul>
+<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="../../../arch/index.html">Design and Architecture</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../tensor_ir/index.html">TensorIR</a></li>
-<li class="toctree-l1"><a class="reference internal" href="../index.html">Relax</a></li>
+<li class="toctree-l1 current"><a class="reference internal" href="../index.html">Relax</a><ul class="current">
+<li class="toctree-l2"><a class="reference internal" href="../abstraction.html">Graph Abstraction for ML Models</a></li>
+<li class="toctree-l2"><a class="reference internal" href="../learning.html">Understand Relax Abstraction</a></li>
+<li class="toctree-l2 current"><a class="current reference internal" href="#">Relax Creation</a><ul>
+<li class="toctree-l3"><a class="reference internal" href="#create-relax-programs-using-tvmscript">Create Relax programs using TVMScript</a></li>
+<li class="toctree-l3"><a class="reference internal" href="#create-relax-programs-using-nnmodule-api">Create Relax programs using NNModule API</a></li>
+<li class="toctree-l3"><a class="reference internal" href="#create-relax-programs-using-block-builder-api">Create Relax programs using Block Builder API</a></li>
+<li class="toctree-l3"><a class="reference internal" href="#summary">Summary</a></li>
+</ul>
+</li>
+<li class="toctree-l2"><a class="reference internal" href="relax_transformation.html">Transformation</a></li>
+</ul>
+</li>
</ul>
<p class="caption" role="heading"><span class="caption-text">API Reference</span></p>
<ul>
diff --git a/docs/deep_dive/relax/tutorials/relax_transformation.html b/docs/deep_dive/relax/tutorials/relax_transformation.html
index 6d7937a237..1bec875e12 100644
--- a/docs/deep_dive/relax/tutorials/relax_transformation.html
+++ b/docs/deep_dive/relax/tutorials/relax_transformation.html
@@ -269,10 +269,21 @@
<li class="toctree-l1"><a class="reference internal" href="../../../how_to/dev/index.html">Development Guides</a></li>
</ul>
<p class="caption" role="heading"><span class="caption-text">Deep Dive</span></p>
-<ul>
+<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="../../../arch/index.html">Design and Architecture</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../tensor_ir/index.html">TensorIR</a></li>
-<li class="toctree-l1"><a class="reference internal" href="../index.html">Relax</a></li>
+<li class="toctree-l1 current"><a class="reference internal" href="../index.html">Relax</a><ul class="current">
+<li class="toctree-l2"><a class="reference internal" href="../abstraction.html">Graph Abstraction for ML Models</a></li>
+<li class="toctree-l2"><a class="reference internal" href="../learning.html">Understand Relax Abstraction</a></li>
+<li class="toctree-l2"><a class="reference internal" href="relax_creation.html">Relax Creation</a></li>
+<li class="toctree-l2 current"><a class="current reference internal" href="#">Transformation</a><ul>
+<li class="toctree-l3"><a class="reference internal" href="#apply-transformations">Apply transformations</a></li>
+<li class="toctree-l3"><a class="reference internal" href="#custom-passes">Custom Passes</a></li>
+<li class="toctree-l3"><a class="reference internal" href="#summary">Summary</a></li>
+</ul>
+</li>
+</ul>
+</li>
</ul>
<p class="caption" role="heading"><span class="caption-text">API Reference</span></p>
<ul>
diff --git a/docs/deep_dive/relax/tutorials/sg_execution_times.html b/docs/deep_dive/relax/tutorials/sg_execution_times.html
index 5d58c0663a..1797e6f4e1 100644
--- a/docs/deep_dive/relax/tutorials/sg_execution_times.html
+++ b/docs/deep_dive/relax/tutorials/sg_execution_times.html
@@ -381,7 +381,7 @@
<div class="section" id="computation-times">
<span id="sphx-glr-deep-dive-relax-tutorials-sg-execution-times"></span><h1>Computation times<a class="headerlink" href="#computation-times" title="Permalink to this headline">¶</a></h1>
-<p><strong>00:00.277</strong> total execution time for <strong>deep_dive_relax_tutorials</strong> files:</p>
+<p><strong>00:00.298</strong> total execution time for <strong>deep_dive_relax_tutorials</strong> files:</p>
<table class="docutils align-default">
<colgroup>
<col style="width: 84%" />
@@ -390,11 +390,11 @@
</colgroup>
<tbody>
<tr class="row-odd"><td><p><a class="reference internal" href="relax_creation.html#sphx-glr-deep-dive-relax-tutorials-relax-creation-py"><span class="std std-ref">Relax Creation</span></a> (<code class="docutils literal notranslate"><span class="pre">relax_creation.py</span></code>)</p></td>
-<td><p>00:00.192</p></td>
+<td><p>00:00.210</p></td>
<td><p>0.0 MB</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="relax_transformation.html#sphx-glr-deep-dive-relax-tutorials-relax-transformation-py"><span class="std std-ref">Transformation</span></a> (<code class="docutils literal notranslate"><span class="pre">relax_transformation.py</span></code>)</p></td>
-<td><p>00:00.085</p></td>
+<td><p>00:00.088</p></td>
<td><p>0.0 MB</p></td>
</tr>
</tbody>
diff --git a/docs/deep_dive/tensor_ir/tutorials/sg_execution_times.html b/docs/deep_dive/tensor_ir/tutorials/sg_execution_times.html
index 1aec2097d9..eac855bb84 100644
--- a/docs/deep_dive/tensor_ir/tutorials/sg_execution_times.html
+++ b/docs/deep_dive/tensor_ir/tutorials/sg_execution_times.html
@@ -381,7 +381,7 @@
<div class="section" id="computation-times">
<span id="sphx-glr-deep-dive-tensor-ir-tutorials-sg-execution-times"></span><h1>Computation times<a class="headerlink" href="#computation-times" title="Permalink to this headline">¶</a></h1>
-<p><strong>00:00.591</strong> total execution time for <strong>deep_dive_tensor_ir_tutorials</strong> files:</p>
+<p><strong>00:00.624</strong> total execution time for <strong>deep_dive_tensor_ir_tutorials</strong> files:</p>
<table class="docutils align-default">
<colgroup>
<col style="width: 84%" />
@@ -390,11 +390,11 @@
</colgroup>
<tbody>
<tr class="row-odd"><td><p><a class="reference internal" href="tir_transformation.html#sphx-glr-deep-dive-tensor-ir-tutorials-tir-transformation-py"><span class="std std-ref">Transformation</span></a> (<code class="docutils literal notranslate"><span class="pre">tir_transformation.py</span></code>)</p></td>
-<td><p>00:00.340</p></td>
+<td><p>00:00.355</p></td>
<td><p>0.0 MB</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="tir_creation.html#sphx-glr-deep-dive-tensor-ir-tutorials-tir-creation-py"><span class="std std-ref">TensorIR Creation</span></a> (<code class="docutils literal notranslate"><span class="pre">tir_creation.py</span></code>)</p></td>
-<td><p>00:00.251</p></td>
+<td><p>00:00.269</p></td>
<td><p>0.0 MB</p></td>
</tr>
</tbody>
diff --git a/docs/deep_dive/tensor_ir/tutorials/tir_creation.html b/docs/deep_dive/tensor_ir/tutorials/tir_creation.html
index 1eaaf4c814..a62d9dcd70 100644
--- a/docs/deep_dive/tensor_ir/tutorials/tir_creation.html
+++ b/docs/deep_dive/tensor_ir/tutorials/tir_creation.html
@@ -270,29 +270,9 @@
<li class="toctree-l1"><a class="reference internal" href="../../../how_to/dev/index.html">Development Guides</a></li>
</ul>
<p class="caption" role="heading"><span class="caption-text">Deep Dive</span></p>
-<ul class="current">
+<ul>
<li class="toctree-l1"><a class="reference internal" href="../../../arch/index.html">Design and Architecture</a></li>
-<li class="toctree-l1 current"><a class="reference internal" href="../index.html">TensorIR</a><ul class="current">
-<li class="toctree-l2"><a class="reference internal" href="../abstraction.html">Tensor Program Abstraction</a></li>
-<li class="toctree-l2"><a class="reference internal" href="../learning.html">Understand TensorIR Abstraction</a></li>
-<li class="toctree-l2 current"><a class="current reference internal" href="#">TensorIR Creation</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="#create-tensorir-using-tvmscript">Create TensorIR using TVMScript</a><ul>
-<li class="toctree-l4"><a class="reference internal" href="#standard-format">Standard Format</a></li>
-<li class="toctree-l4"><a class="reference internal" href="#concise-with-syntactic-sugar">Concise with Syntactic Sugar</a></li>
-<li class="toctree-l4"><a class="reference internal" href="#interactive-with-python-variables">Interactive with Python Variables</a></li>
-<li class="toctree-l4"><a class="reference internal" href="#tensorir-function-with-dynamic-shapes">TensorIR Function with Dynamic Shapes</a></li>
-</ul>
-</li>
-<li class="toctree-l3"><a class="reference internal" href="#create-tensorir-using-tensor-expression">Create TensorIR using Tensor Expression</a><ul>
-<li class="toctree-l4"><a class="reference internal" href="#create-static-shape-functions">Create Static-Shape Functions</a></li>
-<li class="toctree-l4"><a class="reference internal" href="#create-dynamic-shape-functions">Create Dynamic-Shape Functions</a></li>
-</ul>
-</li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="tir_transformation.html">Transformation</a></li>
-</ul>
-</li>
+<li class="toctree-l1"><a class="reference internal" href="../index.html">TensorIR</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../relax/index.html">Relax</a></li>
</ul>
<p class="caption" role="heading"><span class="caption-text">API Reference</span></p>
diff --git a/docs/deep_dive/tensor_ir/tutorials/tir_transformation.html b/docs/deep_dive/tensor_ir/tutorials/tir_transformation.html
index 32343df8f1..207935c9e8 100644
--- a/docs/deep_dive/tensor_ir/tutorials/tir_transformation.html
+++ b/docs/deep_dive/tensor_ir/tutorials/tir_transformation.html
@@ -269,22 +269,9 @@
<li class="toctree-l1"><a class="reference internal" href="../../../how_to/dev/index.html">Development Guides</a></li>
</ul>
<p class="caption" role="heading"><span class="caption-text">Deep Dive</span></p>
-<ul class="current">
+<ul>
<li class="toctree-l1"><a class="reference internal" href="../../../arch/index.html">Design and Architecture</a></li>
-<li class="toctree-l1 current"><a class="reference internal" href="../index.html">TensorIR</a><ul class="current">
-<li class="toctree-l2"><a class="reference internal" href="../abstraction.html">Tensor Program Abstraction</a></li>
-<li class="toctree-l2"><a class="reference internal" href="../learning.html">Understand TensorIR Abstraction</a></li>
-<li class="toctree-l2"><a class="reference internal" href="tir_creation.html">TensorIR Creation</a></li>
-<li class="toctree-l2 current"><a class="current reference internal" href="#">Transformation</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="#initialization-schedule">Initialization Schedule</a></li>
-<li class="toctree-l3"><a class="reference internal" href="#loop-tiling">Loop Tiling</a></li>
-<li class="toctree-l3"><a class="reference internal" href="#leverage-localities">Leverage Localities</a></li>
-<li class="toctree-l3"><a class="reference internal" href="#rewrite-reduction">Rewrite Reduction</a></li>
-<li class="toctree-l3"><a class="reference internal" href="#trace-the-transformation">Trace the Transformation</a></li>
-</ul>
-</li>
-</ul>
-</li>
+<li class="toctree-l1"><a class="reference internal" href="../index.html">TensorIR</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../relax/index.html">Relax</a></li>
</ul>
<p class="caption" role="heading"><span class="caption-text">API Reference</span></p>
@@ -470,7 +457,7 @@ original implementation.</p>
</div>
<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>Execution time summary:
mean (ms) median (ms) max (ms) min (ms) std (ms)
- 2.3338 2.3338 2.3338 2.3338 0.0000
+ 2.3249 2.3249 2.3249 2.3249 0.0000
</pre></div>
</div>
<div class="section" id="initialization-schedule">
@@ -566,7 +553,7 @@ class Module:
Execution time summary:
mean (ms) median (ms) max (ms) min (ms) std (ms)
- 1.0076 1.0076 1.0076 1.0076 0.0000
+ 1.0170 1.0170 1.0170 1.0170 0.0000
</pre></div>
</div>
</div>
@@ -660,7 +647,7 @@ class Module:
Execution time summary:
mean (ms) median (ms) max (ms) min (ms) std (ms)
- 0.3318 0.3318 0.3318 0.3318 0.0000
+ 0.3301 0.3301 0.3301 0.3301 0.0000
</pre></div>
</div>
</div>
diff --git a/docs/genindex.html b/docs/genindex.html
index 388da17efa..235dfe0e4e 100644
--- a/docs/genindex.html
+++ b/docs/genindex.html
@@ -3310,6 +3310,8 @@
</li>
</ul></li>
<li><a href="reference/api/python/relax/op.html#tvm.relax.op.nn.leakyrelu">leakyrelu() (in module tvm.relax.op.nn)</a>
+</li>
+ <li><a href="reference/api/python/relax/op.html#tvm.relax.op.left_shift">left_shift() (in module tvm.relax.op)</a>
</li>
<li><a href="reference/api/python/relay/transform.html#tvm.relay.transform.Legalize">Legalize() (in module tvm.relay.transform)</a>
</li>
@@ -4784,6 +4786,8 @@
<li><a href="reference/api/python/tir/schedule.html#tvm.tir.schedule.Schedule.rfactor">(tvm.tir.schedule.Schedule method)</a>
</li>
</ul></li>
+ <li><a href="reference/api/python/relax/op.html#tvm.relax.op.right_shift">right_shift() (in module tvm.relax.op)</a>
+</li>
<li><a href="reference/api/python/target.html#tvm.target.riscv_cpu">riscv_cpu() (in module tvm.target)</a>
</li>
<li><a href="reference/api/python/relax/op.html#tvm.relax.op.nn.rms_norm">rms_norm() (in module tvm.relax.op.nn)</a>
diff --git a/docs/get_started/tutorials/sg_execution_times.html b/docs/get_started/tutorials/sg_execution_times.html
index e3f02193ed..c5a7487dbd 100644
--- a/docs/get_started/tutorials/sg_execution_times.html
+++ b/docs/get_started/tutorials/sg_execution_times.html
@@ -381,7 +381,7 @@
<div class="section" id="computation-times">
<span id="sphx-glr-get-started-tutorials-sg-execution-times"></span><h1>Computation times<a class="headerlink" href="#computation-times" title="Permalink to this headline">¶</a></h1>
-<p><strong>00:02.395</strong> total execution time for <strong>get_started_tutorials</strong> files:</p>
+<p><strong>00:02.431</strong> total execution time for <strong>get_started_tutorials</strong> files:</p>
<table class="docutils align-default">
<colgroup>
<col style="width: 80%" />
@@ -390,11 +390,11 @@
</colgroup>
<tbody>
<tr class="row-odd"><td><p><a class="reference internal" href="ir_module.html#sphx-glr-get-started-tutorials-ir-module-py"><span class="std std-ref">IRModule</span></a> (<code class="docutils literal notranslate"><span class="pre">ir_module.py</span></code>)</p></td>
-<td><p>00:02.188</p></td>
+<td><p>00:02.217</p></td>
<td><p>0.0 MB</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="quick_start.html#sphx-glr-get-started-tutorials-quick-start-py"><span class="std std-ref">Quick Start</span></a> (<code class="docutils literal notranslate"><span class="pre">quick_start.py</span></code>)</p></td>
-<td><p>00:00.207</p></td>
+<td><p>00:00.214</p></td>
<td><p>0.0 MB</p></td>
</tr>
</tbody>
diff --git a/docs/how_to/compile_models/from_darknet.html b/docs/how_to/compile_models/from_darknet.html
index fbe1e2e4a1..76c2b20bf5 100644
--- a/docs/how_to/compile_models/from_darknet.html
+++ b/docs/how_to/compile_models/from_darknet.html
@@ -624,7 +624,7 @@ class:['truck 0.9266'] left:471 top:83 right:689 bottom:169
class:['bicycle 0.9984'] left:111 top:113 right:577 bottom:447
</pre></div>
</div>
-<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 1 minutes 37.122 seconds)</p>
+<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 1 minutes 40.093 seconds)</p>
<div class="sphx-glr-footer sphx-glr-footer-example docutils container" id="sphx-glr-download-how-to-compile-models-from-darknet-py">
<div class="sphx-glr-download sphx-glr-download-python docutils container">
<p><a class="reference download internal" download="" href="../../_downloads/7716f96385bd5abb6e822041e285be54/from_darknet.py"><code class="xref download docutils literal notranslate"><span class="pre">Download</span> <span class="pre">Python</span> <span class="pre">source</span> <span class="pre">code:</span> <span class="pre">from_darknet.py</span></code></a></p>
diff --git a/docs/how_to/compile_models/from_keras.html b/docs/how_to/compile_models/from_keras.html
index fa48625d13..200fc90230 100644
--- a/docs/how_to/compile_models/from_keras.html
+++ b/docs/how_to/compile_models/from_keras.html
@@ -545,7 +545,7 @@ Tensorflow is also required since it’s used as the default backend of keras.</
<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>Relay top-1 id: 285, class name: Egyptian cat
1/1 [==============================] - ETA: 0s
-1/1 [==============================] - 1s 936ms/step
+1/1 [==============================] - 1s 950ms/step
Keras top-1 id: 285, class name: Egyptian cat
</pre></div>
</div>
diff --git a/docs/how_to/compile_models/from_oneflow.html b/docs/how_to/compile_models/from_oneflow.html
index a0d85ad879..f0da33ac5c 100644
--- a/docs/how_to/compile_models/from_oneflow.html
+++ b/docs/how_to/compile_models/from_oneflow.html
@@ -488,15 +488,15 @@ Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdo
<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>Downloading: "https://oneflow-public.oss-cn-beijing.aliyuncs.com/model_zoo/flowvision/classification/ResNet/resnet18.zip" to /workspace/.oneflow/flowvision_cache/resnet18.zip
0%| | 0.00/41.5M [00:00<?, ?B/s]
- 19%|#9 | 7.99M/41.5M [00:00<00:00, 43.5MB/s]
- 35%|###4 | 14.3M/41.5M [00:00<00:00, 34.6MB/s]
- 43%|####2 | 17.7M/41.5M [00:00<00:00, 32.0MB/s]
- 54%|#####3 | 22.3M/41.5M [00:00<00:00, 27.4MB/s]
- 70%|####### | 29.2M/41.5M [00:00<00:00, 37.6MB/s]
- 80%|######## | 33.4M/41.5M [00:01<00:00, 33.1MB/s]
- 92%|#########2| 38.3M/41.5M [00:01<00:00, 29.7MB/s]
-100%|##########| 41.5M/41.5M [00:01<00:00, 29.6MB/s]
-100%|##########| 41.5M/41.5M [00:01<00:00, 31.7MB/s]
+ 15%|#5 | 6.33M/41.5M [00:00<00:00, 61.3MB/s]
+ 29%|##9 | 12.2M/41.5M [00:00<00:00, 50.5MB/s]
+ 41%|####1 | 17.1M/41.5M [00:00<00:00, 28.6MB/s]
+ 54%|#####3 | 22.3M/41.5M [00:00<00:00, 31.3MB/s]
+ 62%|######2 | 25.8M/41.5M [00:00<00:00, 30.4MB/s]
+ 77%|#######7 | 32.0M/41.5M [00:01<00:00, 31.1MB/s]
+ 85%|########4 | 35.1M/41.5M [00:01<00:00, 31.3MB/s]
+ 92%|#########2| 38.3M/41.5M [00:01<00:00, 29.4MB/s]
+100%|##########| 41.5M/41.5M [00:01<00:00, 32.3MB/s]
</pre></div>
</div>
</div>
diff --git a/docs/how_to/compile_models/from_paddle.html b/docs/how_to/compile_models/from_paddle.html
index 03f1446b10..2fdec4d876 100644
--- a/docs/how_to/compile_models/from_paddle.html
+++ b/docs/how_to/compile_models/from_paddle.html
@@ -523,7 +523,7 @@ To begin, we’ll install PaddlePaddle>=2.1.3:</p>
<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>TVM prediction top-1 id: 282, class name: 282: 'tiger cat',
</pre></div>
</div>
-<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 1 minutes 7.244 seconds)</p>
+<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 1 minutes 6.446 seconds)</p>
<div class="sphx-glr-footer sphx-glr-footer-example docutils container" id="sphx-glr-download-how-to-compile-models-from-paddle-py">
<div class="sphx-glr-download sphx-glr-download-python docutils container">
<p><a class="reference download internal" download="" href="../../_downloads/16269b77359771348d507395692524cf/from_paddle.py"><code class="xref download docutils literal notranslate"><span class="pre">Download</span> <span class="pre">Python</span> <span class="pre">source</span> <span class="pre">code:</span> <span class="pre">from_paddle.py</span></code></a></p>
diff --git a/docs/how_to/compile_models/from_pytorch.html b/docs/how_to/compile_models/from_pytorch.html
index 43bcc2b892..74961e4c94 100644
--- a/docs/how_to/compile_models/from_pytorch.html
+++ b/docs/how_to/compile_models/from_pytorch.html
@@ -471,23 +471,9 @@ be unstable.</p>
Downloading: "https://download.pytorch.org/models/resnet18-f37072fd.pth" to /workspace/.cache/torch/hub/checkpoints/resnet18-f37072fd.pth
0%| | 0.00/44.7M [00:00<?, ?B/s]
- 6%|5 | 2.62M/44.7M [00:00<00:01, 27.1MB/s]
- 12%|#2 | 5.38M/44.7M [00:00<00:01, 27.4MB/s]
- 18%|#8 | 8.12M/44.7M [00:00<00:01, 27.3MB/s]
- 24%|##4 | 10.8M/44.7M [00:00<00:01, 27.2MB/s]
- 30%|### | 13.5M/44.7M [00:00<00:01, 27.7MB/s]
- 36%|###6 | 16.2M/44.7M [00:00<00:01, 27.8MB/s]
- 43%|####2 | 19.0M/44.7M [00:00<00:00, 28.1MB/s]
- 49%|####8 | 21.8M/44.7M [00:00<00:00, 27.2MB/s]
- 55%|#####4 | 24.5M/44.7M [00:00<00:00, 27.4MB/s]
- 61%|######1 | 27.2M/44.7M [00:01<00:00, 27.4MB/s]
- 67%|######7 | 30.1M/44.7M [00:01<00:00, 27.5MB/s]
- 74%|#######3 | 32.9M/44.7M [00:01<00:00, 27.7MB/s]
- 80%|#######9 | 35.6M/44.7M [00:01<00:00, 27.8MB/s]
- 86%|########5 | 38.4M/44.7M [00:01<00:00, 27.7MB/s]
- 92%|#########2| 41.1M/44.7M [00:01<00:00, 27.3MB/s]
- 98%|#########8| 43.9M/44.7M [00:01<00:00, 27.4MB/s]
-100%|##########| 44.7M/44.7M [00:01<00:00, 27.5MB/s]
+ 25%|##4 | 11.0M/44.7M [00:00<00:00, 115MB/s]
+ 64%|######4 | 28.6M/44.7M [00:00<00:00, 156MB/s]
+100%|##########| 44.7M/44.7M [00:00<00:00, 162MB/s]
</pre></div>
</div>
</div>
diff --git a/docs/how_to/compile_models/from_tensorflow.html b/docs/how_to/compile_models/from_tensorflow.html
index d8089ec98b..bb8f22623a 100644
--- a/docs/how_to/compile_models/from_tensorflow.html
+++ b/docs/how_to/compile_models/from_tensorflow.html
@@ -688,7 +688,7 @@ banana (score = 0.00022)
desk (score = 0.00019)
</pre></div>
</div>
-<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 1 minutes 35.917 seconds)</p>
+<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 1 minutes 34.009 seconds)</p>
<div class="sphx-glr-footer sphx-glr-footer-example docutils container" id="sphx-glr-download-how-to-compile-models-from-tensorflow-py">
<div class="sphx-glr-download sphx-glr-download-python docutils container">
<p><a class="reference download internal" download="" href="../../_downloads/7f1d3d1b878694c201c614c807cdebc8/from_tensorflow.py"><code class="xref download docutils literal notranslate"><span class="pre">Download</span> <span class="pre">Python</span> <span class="pre">source</span> <span class="pre">code:</span> <span class="pre">from_tensorflow.py</span></code></a></p>
diff --git a/docs/how_to/compile_models/sg_execution_times.html b/docs/how_to/compile_models/sg_execution_times.html
index f9b3ffb228..ab8863146e 100644
--- a/docs/how_to/compile_models/sg_execution_times.html
+++ b/docs/how_to/compile_models/sg_execution_times.html
@@ -381,7 +381,7 @@
<div class="section" id="computation-times">
<span id="sphx-glr-how-to-compile-models-sg-execution-times"></span><h1>Computation times<a class="headerlink" href="#computation-times" title="Permalink to this headline">¶</a></h1>
-<p><strong>07:03.475</strong> total execution time for <strong>how_to_compile_models</strong> files:</p>
+<p><strong>07:02.385</strong> total execution time for <strong>how_to_compile_models</strong> files:</p>
<table class="docutils align-default">
<colgroup>
<col style="width: 81%" />
@@ -390,39 +390,39 @@
</colgroup>
<tbody>
<tr class="row-odd"><td><p><a class="reference internal" href="from_darknet.html#sphx-glr-how-to-compile-models-from-darknet-py"><span class="std std-ref">Compile YOLO-V2 and YOLO-V3 in DarkNet Models</span></a> (<code class="docutils literal notranslate"><span class="pre">from_darknet.py</span></code>)</p></td>
-<td><p>01:37.122</p></td>
+<td><p>01:40.093</p></td>
<td><p>0.0 MB</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="from_tensorflow.html#sphx-glr-how-to-compile-models-from-tensorflow-py"><span class="std std-ref">Compile Tensorflow Models</span></a> (<code class="docutils literal notranslate"><span class="pre">from_tensorflow.py</span></code>)</p></td>
-<td><p>01:35.917</p></td>
+<td><p>01:34.009</p></td>
<td><p>0.0 MB</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="from_paddle.html#sphx-glr-how-to-compile-models-from-paddle-py"><span class="std std-ref">Compile PaddlePaddle Models</span></a> (<code class="docutils literal notranslate"><span class="pre">from_paddle.py</span></code>)</p></td>
-<td><p>01:07.244</p></td>
+<td><p>01:06.446</p></td>
<td><p>0.0 MB</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="from_oneflow.html#sphx-glr-how-to-compile-models-from-oneflow-py"><span class="std std-ref">Compile OneFlow Models</span></a> (<code class="docutils literal notranslate"><span class="pre">from_oneflow.py</span></code>)</p></td>
-<td><p>00:45.866</p></td>
+<td><p>00:48.906</p></td>
<td><p>0.0 MB</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="from_coreml.html#sphx-glr-how-to-compile-models-from-coreml-py"><span class="std std-ref">Compile CoreML Models</span></a> (<code class="docutils literal notranslate"><span class="pre">from_coreml.py</span></code>)</p></td>
-<td><p>00:41.926</p></td>
+<td><p>00:41.442</p></td>
<td><p>0.0 MB</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="from_pytorch.html#sphx-glr-how-to-compile-models-from-pytorch-py"><span class="std std-ref">Compile PyTorch Models</span></a> (<code class="docutils literal notranslate"><span class="pre">from_pytorch.py</span></code>)</p></td>
-<td><p>00:31.554</p></td>
+<td><p>00:29.263</p></td>
<td><p>0.0 MB</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="from_keras.html#sphx-glr-how-to-compile-models-from-keras-py"><span class="std std-ref">Compile Keras Models</span></a> (<code class="docutils literal notranslate"><span class="pre">from_keras.py</span></code>)</p></td>
-<td><p>00:27.923</p></td>
+<td><p>00:26.225</p></td>
<td><p>0.0 MB</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="from_tflite.html#sphx-glr-how-to-compile-models-from-tflite-py"><span class="std std-ref">Compile TFLite Models</span></a> (<code class="docutils literal notranslate"><span class="pre">from_tflite.py</span></code>)</p></td>
-<td><p>00:12.944</p></td>
+<td><p>00:12.802</p></td>
<td><p>0.0 MB</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="from_onnx.html#sphx-glr-how-to-compile-models-from-onnx-py"><span class="std std-ref">Compile ONNX Models</span></a> (<code class="docutils literal notranslate"><span class="pre">from_onnx.py</span></code>)</p></td>
-<td><p>00:02.979</p></td>
+<td><p>00:03.199</p></td>
<td><p>0.0 MB</p></td>
</tr>
</tbody>
diff --git a/docs/how_to/deploy_models/deploy_model_on_adreno.html b/docs/how_to/deploy_models/deploy_model_on_adreno.html
index fc9c8c406e..8bfaaaf5df 100644
--- a/docs/how_to/deploy_models/deploy_model_on_adreno.html
+++ b/docs/how_to/deploy_models/deploy_model_on_adreno.html
@@ -864,10 +864,10 @@ Top5 predictions:
Evaluate inference time cost...
Execution time summary:
mean (ms) median (ms) max (ms) min (ms) std (ms)
- 3992.5726 3992.1465 3995.8232 3990.8037 1.3786
+ 4126.3164 4124.7649 4131.2203 4124.4825 2.2224
</pre></div>
</div>
-<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 1 minutes 19.499 seconds)</p>
+<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 1 minutes 23.506 seconds)</p>
<div class="sphx-glr-footer sphx-glr-footer-example docutils container" id="sphx-glr-download-how-to-deploy-models-deploy-model-on-adreno-py">
<div class="sphx-glr-download sphx-glr-download-python docutils container">
<p><a class="reference download internal" download="" href="../../_downloads/2387d8448da213eb625e6b3d916327d4/deploy_model_on_adreno.py"><code class="xref download docutils literal notranslate"><span class="pre">Download</span> <span class="pre">Python</span> <span class="pre">source</span> <span class="pre">code:</span> <span class="pre">deploy_model_on_adreno.py</span></code></a></p>
diff --git a/docs/how_to/deploy_models/deploy_model_on_adreno_tvmc.html b/docs/how_to/deploy_models/deploy_model_on_adreno_tvmc.html
index 4b9f9d3115..e53b119d1b 100644
--- a/docs/how_to/deploy_models/deploy_model_on_adreno_tvmc.html
+++ b/docs/how_to/deploy_models/deploy_model_on_adreno_tvmc.html
@@ -478,30 +478,31 @@ to run this tutorial with a real device over rpc.</p>
<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>Downloading data from https://storage.googleapis.com/tensorflow/keras-applications/resnet/resnet50_weights_tf_dim_ordering_tf_kernels.h5
8192/102967424 [..............................] - ETA: 0s
- 3768320/102967424 [>.............................] - ETA: 1s
- 8241152/102967424 [=>............................] - ETA: 1s
8380416/102967424 [=>............................] - ETA: 2s
- 15024128/102967424 [===>..........................] - ETA: 2s
- 16769024/102967424 [===>..........................] - ETA: 2s
- 24969216/102967424 [======>.......................] - ETA: 1s
+ 15024128/102967424 [===>..........................] - ETA: 1s
+ 16769024/102967424 [===>..........................] - ETA: 1s
+ 23412736/102967424 [=====>........................] - ETA: 1s
25157632/102967424 [======>.......................] - ETA: 2s
+ 25296896/102967424 [======>.......................] - ETA: 2s
33546240/102967424 [========>.....................] - ETA: 1s
40189952/102967424 [==========>...................] - ETA: 1s
41934848/102967424 [===========>..................] - ETA: 1s
48578560/102967424 [=============>................] - ETA: 1s
50323456/102967424 [=============>................] - ETA: 1s
58712064/102967424 [================>.............] - ETA: 1s
- 65355776/102967424 [==================>...........] - ETA: 0s
+ 65355776/102967424 [==================>...........] - ETA: 1s
67100672/102967424 [==================>...........] - ETA: 0s
69296128/102967424 [===================>..........] - ETA: 0s
- 73744384/102967424 [====================>.........] - ETA: 0s
75489280/102967424 [====================>.........] - ETA: 0s
- 82124800/102967424 [======================>.......] - ETA: 0s
+ 83058688/102967424 [=======================>......] - ETA: 0s
83877888/102967424 [=======================>......] - ETA: 0s
- 90521600/102967424 [=========================>....] - ETA: 0s
+ 86073344/102967424 [========================>.....] - ETA: 0s
+ 91045888/102967424 [=========================>....] - ETA: 0s
92266496/102967424 [=========================>....] - ETA: 0s
98910208/102967424 [===========================>..] - ETA: 0s
100646912/102967424 [============================>.] - ETA: 0s
+102293504/102967424 [============================>.] - ETA: 0s
+102850560/102967424 [============================>.] - ETA: 0s
102967424/102967424 [==============================] - 3s 0us/step
</pre></div>
</div>
diff --git a/docs/how_to/deploy_models/deploy_model_on_android.html b/docs/how_to/deploy_models/deploy_model_on_android.html
index a38aa1abfc..d0c5987357 100644
--- a/docs/how_to/deploy_models/deploy_model_on_android.html
+++ b/docs/how_to/deploy_models/deploy_model_on_android.html
@@ -702,7 +702,7 @@ to the remote android device.</p>
Evaluate inference time cost...
Execution time summary:
mean (ms) median (ms) max (ms) min (ms) std (ms)
- 15.0040 14.9232 15.5574 14.7695 0.2377
+ 16.2193 16.1647 16.7327 15.9373 0.2142
</pre></div>
</div>
</div>
diff --git a/docs/how_to/deploy_models/deploy_object_detection_pytorch.html b/docs/how_to/deploy_models/deploy_object_detection_pytorch.html
index 467e9b14e9..ae5bf52a43 100644
--- a/docs/how_to/deploy_models/deploy_object_detection_pytorch.html
+++ b/docs/how_to/deploy_models/deploy_object_detection_pytorch.html
@@ -494,15 +494,17 @@ be unstable.</p>
Downloading: "https://download.pytorch.org/models/maskrcnn_resnet50_fpn_coco-bf2d0c1e.pth" to /workspace/.cache/torch/hub/checkpoints/maskrcnn_resnet50_fpn_coco-bf2d0c1e.pth
0%| | 0.00/170M [00:00<?, ?B/s]
- 8%|8 | 13.8M/170M [00:00<00:01, 144MB/s]
- 20%|#9 | 33.1M/170M [00:00<00:00, 179MB/s]
- 31%|### | 52.5M/170M [00:00<00:00, 189MB/s]
- 43%|####2 | 72.2M/170M [00:00<00:00, 196MB/s]
- 54%|#####3 | 91.6M/170M [00:00<00:00, 198MB/s]
- 65%|######5 | 111M/170M [00:00<00:00, 200MB/s]
- 77%|#######7 | 131M/170M [00:00<00:00, 202MB/s]
- 89%|########8 | 151M/170M [00:00<00:00, 204MB/s]
-100%|##########| 170M/170M [00:00<00:00, 198MB/s]
+ 6%|5 | 10.1M/170M [00:00<00:01, 106MB/s]
+ 16%|#5 | 26.6M/170M [00:00<00:01, 145MB/s]
+ 25%|##5 | 43.2M/170M [00:00<00:00, 158MB/s]
+ 35%|###5 | 59.8M/170M [00:00<00:00, 163MB/s]
+ 45%|####4 | 76.2M/170M [00:00<00:00, 166MB/s]
+ 55%|#####4 | 92.8M/170M [00:00<00:00, 169MB/s]
+ 64%|######4 | 109M/170M [00:00<00:00, 170MB/s]
+ 74%|#######4 | 126M/170M [00:00<00:00, 171MB/s]
+ 84%|########3 | 142M/170M [00:00<00:00, 171MB/s]
+ 94%|#########3| 159M/170M [00:01<00:00, 172MB/s]
+100%|##########| 170M/170M [00:01<00:00, 167MB/s]
/venv/apache-tvm-py3.8/lib/python3.8/site-packages/torchvision/models/detection/generalized_rcnn.py:75: TracerWarning: Iterating over a tensor might cause the trace to be incorrect. Passing a tensor of different shape won't change the number of iterations executed (and might lead to errors or silently give incorrect results).
for img in images:
/venv/apache-tvm-py3.8/lib/python3.8/site-packages/torchvision/models/detection/transform.py:122: TracerWarning: Iterating over a tensor might cause the trace to be incorrect. Passing a tensor of different shape won't change the number of iterations executed (and might lead to errors or silently give incorrect results).
@@ -631,7 +633,7 @@ torchvision rcnn models.</p>
<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>Get 9 valid boxes
</pre></div>
</div>
-<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 3 minutes 43.605 seconds)</p>
+<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 4 minutes 0.375 seconds)</p>
<div class="sphx-glr-footer sphx-glr-footer-example docutils container" id="sphx-glr-download-how-to-deploy-models-deploy-object-detection-pytorch-py">
<div class="sphx-glr-download sphx-glr-download-python docutils container">
<p><a class="reference download internal" download="" href="../../_downloads/7795da4b258c8feff986668b95ef57ad/deploy_object_detection_pytorch.py"><code class="xref download docutils literal notranslate"><span class="pre">Download</span> <span class="pre">Python</span> <span class="pre">source</span> <span class="pre">code:</span> <span class="pre">deploy_object_detection_pytorch.py</span></code></a></p>
diff --git a/docs/how_to/deploy_models/deploy_prequantized.html b/docs/how_to/deploy_models/deploy_prequantized.html
index e6d8d06eac..5f0b97662c 100644
--- a/docs/how_to/deploy_models/deploy_prequantized.html
+++ b/docs/how_to/deploy_models/deploy_prequantized.html
@@ -535,7 +535,7 @@ training. Other models require a full post training calibration.</p>
Downloading: "https://download.pytorch.org/models/mobilenet_v2-b0353104.pth" to /workspace/.cache/torch/hub/checkpoints/mobilenet_v2-b0353104.pth
0%| | 0.00/13.6M [00:00<?, ?B/s]
-100%|##########| 13.6M/13.6M [00:00<00:00, 156MB/s]
+100%|##########| 13.6M/13.6M [00:00<00:00, 145MB/s]
</pre></div>
</div>
</div>
@@ -624,7 +624,7 @@ output values are identical out of 1000 outputs from mobilenet v2.</p>
</div>
<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>Execution time summary:
mean (ms) median (ms) max (ms) min (ms) std (ms)
- 86.1446 86.1232 86.7040 85.8066 0.2092
+ 89.1614 89.0854 90.0616 88.8418 0.2407
</pre></div>
</div>
<div class="admonition note">
@@ -663,7 +663,7 @@ This includes support for the VNNI 8 bit dot product instruction (CascadeLake or
<div class="section" id="deploy-a-quantized-tflite-model">
<h2>Deploy a quantized TFLite Model<a class="headerlink" href="#deploy-a-quantized-tflite-model" title="Permalink to this headline">¶</a></h2>
<p>TODO</p>
-<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 1 minutes 32.670 seconds)</p>
+<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 1 minutes 39.891 seconds)</p>
<div class="sphx-glr-footer sphx-glr-footer-example docutils container" id="sphx-glr-download-how-to-deploy-models-deploy-prequantized-py">
<div class="sphx-glr-download sphx-glr-download-python docutils container">
<p><a class="reference download internal" download="" href="../../_downloads/fb8217c13f4351224c6cf3aacf1a87fc/deploy_prequantized.py"><code class="xref download docutils literal notranslate"><span class="pre">Download</span> <span class="pre">Python</span> <span class="pre">source</span> <span class="pre">code:</span> <span class="pre">deploy_prequantized.py</span></code></a></p>
diff --git a/docs/how_to/deploy_models/deploy_prequantized_tflite.html b/docs/how_to/deploy_models/deploy_prequantized_tflite.html
index f09312a28a..e273c092b7 100644
--- a/docs/how_to/deploy_models/deploy_prequantized_tflite.html
+++ b/docs/how_to/deploy_models/deploy_prequantized_tflite.html
@@ -620,7 +620,7 @@ TFLite Top-5 labels: [387 102 386 341 349]
</div>
<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>Execution time summary:
mean (ms) median (ms) max (ms) min (ms) std (ms)
- 110.9543 110.9208 111.5311 110.6873 0.1931
+ 111.8119 111.7792 113.8817 111.0872 0.4290
</pre></div>
</div>
<div class="admonition note">
diff --git a/docs/how_to/deploy_models/sg_execution_times.html b/docs/how_to/deploy_models/sg_execution_times.html
index 0a355c4e2e..5b0672b4f8 100644
--- a/docs/how_to/deploy_models/sg_execution_times.html
+++ b/docs/how_to/deploy_models/sg_execution_times.html
@@ -381,7 +381,7 @@
<div class="section" id="computation-times">
<span id="sphx-glr-how-to-deploy-models-sg-execution-times"></span><h1>Computation times<a class="headerlink" href="#computation-times" title="Permalink to this headline">¶</a></h1>
-<p><strong>10:17.539</strong> total execution time for <strong>how_to_deploy_models</strong> files:</p>
+<p><strong>10:58.904</strong> total execution time for <strong>how_to_deploy_models</strong> files:</p>
<table class="docutils align-default">
<colgroup>
<col style="width: 86%" />
@@ -390,35 +390,35 @@
</colgroup>
<tbody>
<tr class="row-odd"><td><p><a class="reference internal" href="deploy_object_detection_pytorch.html#sphx-glr-how-to-deploy-models-deploy-object-detection-pytorch-py"><span class="std std-ref">Compile PyTorch Object Detection Models</span></a> (<code class="docutils literal notranslate"><span class="pre">deploy_object_detection_pytorch.py</span></code>)</p></td>
-<td><p>03:43.605</p></td>
+<td><p>04:00.375</p></td>
<td><p>0.0 MB</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="deploy_prequantized.html#sphx-glr-how-to-deploy-models-deploy-prequantized-py"><span class="std std-ref">Deploy a Framework-prequantized Model with TVM</span></a> (<code class="docutils literal notranslate"><span class="pre">deploy_prequantized.py</span></code>)</p></td>
-<td><p>01:32.670</p></td>
+<td><p>01:39.891</p></td>
<td><p>0.0 MB</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="deploy_model_on_adreno.html#sphx-glr-how-to-deploy-models-deploy-model-on-adreno-py"><span class="std std-ref">Deploy the Pretrained Model on Adreno™</span></a> (<code class="docutils literal notranslate"><span class="pre">deploy_model_on_adreno.py</span></code>)</p></td>
-<td><p>01:19.499</p></td>
+<td><p>01:23.506</p></td>
<td><p>0.0 MB</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="deploy_model_on_android.html#sphx-glr-how-to-deploy-models-deploy-model-on-android-py"><span class="std std-ref">Deploy the Pretrained Model on Android</span></a> (<code class="docutils literal notranslate"><span class="pre">deploy_model_on_android.py</span></code>)</p></td>
-<td><p>00:54.970</p></td>
+<td><p>00:58.668</p></td>
<td><p>0.0 MB</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="deploy_prequantized_tflite.html#sphx-glr-how-to-deploy-models-deploy-prequantized-tflite-py"><span class="std std-ref">Deploy a Framework-prequantized Model with TVM - Part 3 (TFLite)</span></a> (<code class="docutils literal notranslate"><span class="pre">deploy_prequantized_tflite.py</span></code>)</p></td>
-<td><p>00:52.934</p></td>
+<td><p>00:56.277</p></td>
<td><p>0.0 MB</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="deploy_model_on_adreno_tvmc.html#sphx-glr-how-to-deploy-models-deploy-model-on-adreno-tvmc-py"><span class="std std-ref">Deploy the Pretrained Model on Adreno™ with tvmc Interface</span></a> (<code class="docutils literal notranslate"><span class="pre">deploy_model_on_adreno_tvmc.py</span></code>)</p></td>
-<td><p>00:51.203</p></td>
+<td><p>00:53.731</p></td>
<td><p>0.0 MB</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="deploy_model_on_nano.html#sphx-glr-how-to-deploy-models-deploy-model-on-nano-py"><span class="std std-ref">Deploy the Pretrained Model on Jetson Nano</span></a> (<code class="docutils literal notranslate"><span class="pre">deploy_model_on_nano.py</span></code>)</p></td>
-<td><p>00:31.543</p></td>
+<td><p>00:33.498</p></td>
<td><p>0.0 MB</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="deploy_model_on_rasp.html#sphx-glr-how-to-deploy-models-deploy-model-on-rasp-py"><span class="std std-ref">Deploy the Pretrained Model on Raspberry Pi</span></a> (<code class="docutils literal notranslate"><span class="pre">deploy_model_on_rasp.py</span></code>)</p></td>
-<td><p>00:31.106</p></td>
+<td><p>00:32.950</p></td>
<td><p>0.0 MB</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="deploy_sparse.html#sphx-glr-how-to-deploy-models-deploy-sparse-py"><span class="std std-ref">Deploy a Hugging Face Pruned Model on CPU</span></a> (<code class="docutils literal notranslate"><span class="pre">deploy_sparse.py</span></code>)</p></td>
diff --git a/docs/how_to/extend_tvm/sg_execution_times.html b/docs/how_to/extend_tvm/sg_execution_times.html
index b2b1adfc8e..b9331d5dfc 100644
--- a/docs/how_to/extend_tvm/sg_execution_times.html
+++ b/docs/how_to/extend_tvm/sg_execution_times.html
@@ -381,7 +381,7 @@
<div class="section" id="computation-times">
<span id="sphx-glr-how-to-extend-tvm-sg-execution-times"></span><h1>Computation times<a class="headerlink" href="#computation-times" title="Permalink to this headline">¶</a></h1>
-<p><strong>00:04.303</strong> total execution time for <strong>how_to_extend_tvm</strong> files:</p>
+<p><strong>00:04.403</strong> total execution time for <strong>how_to_extend_tvm</strong> files:</p>
<table class="docutils align-default">
<colgroup>
<col style="width: 83%" />
@@ -390,11 +390,11 @@
</colgroup>
<tbody>
<tr class="row-odd"><td><p><a class="reference internal" href="use_pass_instrument.html#sphx-glr-how-to-extend-tvm-use-pass-instrument-py"><span class="std std-ref">How to Use TVM Pass Instrument</span></a> (<code class="docutils literal notranslate"><span class="pre">use_pass_instrument.py</span></code>)</p></td>
-<td><p>00:02.981</p></td>
+<td><p>00:03.056</p></td>
<td><p>0.0 MB</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="use_pass_infra.html#sphx-glr-how-to-extend-tvm-use-pass-infra-py"><span class="std std-ref">How to Use TVM Pass Infra</span></a> (<code class="docutils literal notranslate"><span class="pre">use_pass_infra.py</span></code>)</p></td>
-<td><p>00:01.314</p></td>
+<td><p>00:01.339</p></td>
<td><p>0.0 MB</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="low_level_custom_pass.html#sphx-glr-how-to-extend-tvm-low-level-custom-pass-py"><span class="std std-ref">Writing a Customized Pass</span></a> (<code class="docutils literal notranslate"><span class="pre">low_level_custom_pass.py</span></code>)</p></td>
diff --git a/docs/how_to/extend_tvm/use_pass_instrument.html b/docs/how_to/extend_tvm/use_pass_instrument.html
index 416aee527e..b8bfdf0784 100644
--- a/docs/how_to/extend_tvm/use_pass_instrument.html
+++ b/docs/how_to/extend_tvm/use_pass_instrument.html
@@ -565,10 +565,10 @@ profile the execution time of each passes.</p>
</pre></div>
</div>
<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>Printing results of timing profile...
-InferType: 25736us [25736us] (48.45%; 48.45%)
-FoldScaleAxis: 27388us [11us] (51.55%; 51.55%)
- FoldConstant: 27377us [1881us] (51.53%; 99.96%)
- InferType: 25497us [25497us] (47.99%; 93.13%)
+InferType: 26002us [26002us] (48.46%; 48.46%)
+FoldScaleAxis: 27660us [12us] (51.54%; 51.54%)
+ FoldConstant: 27648us [1954us] (51.52%; 99.96%)
+ InferType: 25694us [25694us] (47.88%; 92.93%)
</pre></div>
</div>
</div>
@@ -590,10 +590,10 @@ Refer to following sections and <a class="reference internal" href="../../refere
</pre></div>
</div>
<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>Printing results of timing profile...
-InferType: 25407us [25407us] (48.33%; 48.33%)
-FoldScaleAxis: 27166us [11us] (51.67%; 51.67%)
- FoldConstant: 27155us [1876us] (51.65%; 99.96%)
- InferType: 25279us [25279us] (48.08%; 93.09%)
+InferType: 25715us [25715us] (48.21%; 48.21%)
+FoldScaleAxis: 27621us [11us] (51.79%; 51.79%)
+ FoldConstant: 27610us [1922us] (51.77%; 99.96%)
+ InferType: 25688us [25688us] (48.16%; 93.04%)
</pre></div>
</div>
<p>Register empty list to clear existing instruments.</p>
diff --git a/docs/how_to/optimize_operators/opt_conv_cuda.html b/docs/how_to/optimize_operators/opt_conv_cuda.html
index 1ec4cf9f5a..c1a287e474 100644
--- a/docs/how_to/optimize_operators/opt_conv_cuda.html
+++ b/docs/how_to/optimize_operators/opt_conv_cuda.html
@@ -615,7 +615,7 @@ latency of convolution.</p>
<span class="nb">print</span><span class="p">(</span><span class="s2">"Convolution: </span><span class="si">%f</span><span class="s2"> ms"</span> <span class="o">%</span> <span class="p">(</span><span class="n">evaluator</span><span class="p">(</span><span class="n">a</span><span class="p">,</span> <span class="n">w</span><span class="p">,</span> <span class="n">b</span><span class="p">)</span><span class="o">.</span><span class="n">mean</span> <span class="o">*</span> <span cl [...]
</pre></div>
</div>
-<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>Convolution: 38.647808 ms
+<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>Convolution: 41.735519 ms
</pre></div>
</div>
<div class="sphx-glr-footer sphx-glr-footer-example docutils container" id="sphx-glr-download-how-to-optimize-operators-opt-conv-cuda-py">
diff --git a/docs/how_to/optimize_operators/opt_conv_tensorcore.html b/docs/how_to/optimize_operators/opt_conv_tensorcore.html
index 0af0ed6a41..21c7da73c7 100644
--- a/docs/how_to/optimize_operators/opt_conv_tensorcore.html
+++ b/docs/how_to/optimize_operators/opt_conv_tensorcore.html
@@ -897,7 +897,7 @@ be able to run on our build server</p>
<span class="nb">print</span><span class="p">(</span><span class="s2">"conv2d with tensor core: </span><span class="si">%f</span><span class="s2"> ms"</span> <span class="o">%</span> <span class="p">(</span><span class="n">evaluator</span><span class="p">(</span><span class="n">a</span><span class="p">,</span> <span class="n">w</span><span class="p">,</span> <span class="n">c</span><span class="p">)</span><span class="o">.</span><span class="n">mean</span> <span class="o">* [...]
</pre></div>
</div>
-<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>conv2d with tensor core: 11.079066 ms
+<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>conv2d with tensor core: 12.221926 ms
</pre></div>
</div>
</div>
diff --git a/docs/how_to/optimize_operators/opt_gemm.html b/docs/how_to/optimize_operators/opt_gemm.html
index 64c467b8f3..20551150b2 100644
--- a/docs/how_to/optimize_operators/opt_gemm.html
+++ b/docs/how_to/optimize_operators/opt_gemm.html
@@ -512,8 +512,8 @@ Then we write a baseline implementation, the simplest way to write a matrix mult
<span class="nb">print</span><span class="p">(</span><span class="s2">"Baseline: </span><span class="si">%f</span><span class="s2">"</span> <span class="o">%</span> <span class="n">evaluator</span><span class="p">(</span><span class="n">a</span><span class="p">,</span> <span class="n">b</span><span class="p">,</span> <span class="n">c</span><span class="p">)</span><span class="o">.</span><span class="n">mean</span><span class="p">)</span>
</pre></div>
</div>
-<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>Numpy running time: 0.018887
-Baseline: 3.297650
+<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>Numpy running time: 0.019362
+Baseline: 3.553764
</pre></div>
</div>
<p>In TVM, we can always inspect lower level IR to debug or optimize our schedule.
@@ -572,7 +572,7 @@ fill 32 * 32 * sizeof(float) which is 4KB in the cache whose total size is 32KB
<span class="nb">print</span><span class="p">(</span><span class="s2">"Opt1: </span><span class="si">%f</span><span class="s2">"</span> <span class="o">%</span> <span class="n">evaluator</span><span class="p">(</span><span class="n">a</span><span class="p">,</span> <span class="n">b</span><span class="p">,</span> <span class="n">c</span><span class="p">)</span><span class="o">.</span><span class="n">mean</span><span class="p">)</span>
</pre></div>
</div>
-<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>Opt1: 0.295892
+<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>Opt1: 0.321135
</pre></div>
</div>
<p>Here is the generated IR after blocking.</p>
@@ -629,7 +629,7 @@ vastly.</p>
<span class="nb">print</span><span class="p">(</span><span class="s2">"Opt2: </span><span class="si">%f</span><span class="s2">"</span> <span class="o">%</span> <span class="n">evaluator</span><span class="p">(</span><span class="n">a</span><span class="p">,</span> <span class="n">b</span><span class="p">,</span> <span class="n">c</span><span class="p">)</span><span class="o">.</span><span class="n">mean</span><span class="p">)</span>
</pre></div>
</div>
-<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>Opt2: 0.275580
+<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>Opt2: 0.319334
</pre></div>
</div>
<p>Here is the generated IR after vectorization.</p>
@@ -684,7 +684,7 @@ the access pattern for A matrix is more cache friendly.</p>
<span class="nb">print</span><span class="p">(</span><span class="s2">"Opt3: </span><span class="si">%f</span><span class="s2">"</span> <span class="o">%</span> <span class="n">evaluator</span><span class="p">(</span><span class="n">a</span><span class="p">,</span> <span class="n">b</span><span class="p">,</span> <span class="n">c</span><span class="p">)</span><span class="o">.</span><span class="n">mean</span><span class="p">)</span>
</pre></div>
</div>
-<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>Opt3: 0.114876
+<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>Opt3: 0.123049
</pre></div>
</div>
<p>Here is the generated IR after loop permutation.</p>
@@ -761,7 +761,7 @@ flattening.</p>
<span class="nb">print</span><span class="p">(</span><span class="s2">"Opt4: </span><span class="si">%f</span><span class="s2">"</span> <span class="o">%</span> <span class="n">evaluator</span><span class="p">(</span><span class="n">a</span><span class="p">,</span> <span class="n">b</span><span class="p">,</span> <span class="n">c</span><span class="p">)</span><span class="o">.</span><span class="n">mean</span><span class="p">)</span>
</pre></div>
</div>
-<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>Opt4: 0.110927
+<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>Opt4: 0.107505
</pre></div>
</div>
<p>Here is the generated IR after array packing.</p>
@@ -839,7 +839,7 @@ write to C when all the block results are ready.</p>
<span class="nb">print</span><span class="p">(</span><span class="s2">"Opt5: </span><span class="si">%f</span><span class="s2">"</span> <span class="o">%</span> <span class="n">evaluator</span><span class="p">(</span><span class="n">a</span><span class="p">,</span> <span class="n">b</span><span class="p">,</span> <span class="n">c</span><span class="p">)</span><span class="o">.</span><span class="n">mean</span><span class="p">)</span>
</pre></div>
</div>
-<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>Opt5: 0.112017
+<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>Opt5: 0.112190
</pre></div>
</div>
<p>Here is the generated IR after blocking.</p>
@@ -919,7 +919,7 @@ class Module:
<span class="nb">print</span><span class="p">(</span><span class="s2">"Opt6: </span><span class="si">%f</span><span class="s2">"</span> <span class="o">%</span> <span class="n">opt6_time</span><span class="p">)</span>
</pre></div>
</div>
-<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>Opt6: 0.134752
+<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>Opt6: 0.133341
</pre></div>
</div>
<p>Here is the generated IR after parallelization.</p>
diff --git a/docs/how_to/optimize_operators/sg_execution_times.html b/docs/how_to/optimize_operators/sg_execution_times.html
index ae57385a51..c70fde3b3b 100644
--- a/docs/how_to/optimize_operators/sg_execution_times.html
+++ b/docs/how_to/optimize_operators/sg_execution_times.html
@@ -381,7 +381,7 @@
<div class="section" id="computation-times">
<span id="sphx-glr-how-to-optimize-operators-sg-execution-times"></span><h1>Computation times<a class="headerlink" href="#computation-times" title="Permalink to this headline">¶</a></h1>
-<p><strong>00:33.848</strong> total execution time for <strong>how_to_optimize_operators</strong> files:</p>
+<p><strong>00:35.615</strong> total execution time for <strong>how_to_optimize_operators</strong> files:</p>
<table class="docutils align-default">
<colgroup>
<col style="width: 83%" />
@@ -390,15 +390,15 @@
</colgroup>
<tbody>
<tr class="row-odd"><td><p><a class="reference internal" href="opt_gemm.html#sphx-glr-how-to-optimize-operators-opt-gemm-py"><span class="std std-ref">How to optimize GEMM on CPU</span></a> (<code class="docutils literal notranslate"><span class="pre">opt_gemm.py</span></code>)</p></td>
-<td><p>00:30.707</p></td>
+<td><p>00:32.372</p></td>
<td><p>0.0 MB</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="opt_conv_tensorcore.html#sphx-glr-how-to-optimize-operators-opt-conv-tensorcore-py"><span class="std std-ref">How to optimize convolution using TensorCores</span></a> (<code class="docutils literal notranslate"><span class="pre">opt_conv_tensorcore.py</span></code>)</p></td>
-<td><p>00:01.995</p></td>
+<td><p>00:02.067</p></td>
<td><p>0.0 MB</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="opt_conv_cuda.html#sphx-glr-how-to-optimize-operators-opt-conv-cuda-py"><span class="std std-ref">How to optimize convolution on GPU</span></a> (<code class="docutils literal notranslate"><span class="pre">opt_conv_cuda.py</span></code>)</p></td>
-<td><p>00:01.147</p></td>
+<td><p>00:01.176</p></td>
<td><p>0.0 MB</p></td>
</tr>
</tbody>
diff --git a/docs/how_to/tune_with_autoscheduler/sg_execution_times.html b/docs/how_to/tune_with_autoscheduler/sg_execution_times.html
index dd1c3c09c0..e68cc89afc 100644
--- a/docs/how_to/tune_with_autoscheduler/sg_execution_times.html
+++ b/docs/how_to/tune_with_autoscheduler/sg_execution_times.html
@@ -381,7 +381,7 @@
<div class="section" id="computation-times">
<span id="sphx-glr-how-to-tune-with-autoscheduler-sg-execution-times"></span><h1>Computation times<a class="headerlink" href="#computation-times" title="Permalink to this headline">¶</a></h1>
-<p><strong>03:56.081</strong> total execution time for <strong>how_to_tune_with_autoscheduler</strong> files:</p>
+<p><strong>03:57.746</strong> total execution time for <strong>how_to_tune_with_autoscheduler</strong> files:</p>
<table class="docutils align-default">
<colgroup>
<col style="width: 85%" />
@@ -390,27 +390,27 @@
</colgroup>
<tbody>
<tr class="row-odd"><td><p><a class="reference internal" href="tune_network_x86.html#sphx-glr-how-to-tune-with-autoscheduler-tune-network-x86-py"><span class="std std-ref">Auto-scheduling a Neural Network for x86 CPU</span></a> (<code class="docutils literal notranslate"><span class="pre">tune_network_x86.py</span></code>)</p></td>
-<td><p>01:41.991</p></td>
+<td><p>01:43.580</p></td>
<td><p>0.0 MB</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="tune_network_cuda.html#sphx-glr-how-to-tune-with-autoscheduler-tune-network-cuda-py"><span class="std std-ref">Auto-scheduling a Neural Network for NVIDIA GPU</span></a> (<code class="docutils literal notranslate"><span class="pre">tune_network_cuda.py</span></code>)</p></td>
-<td><p>01:16.938</p></td>
+<td><p>01:16.721</p></td>
<td><p>0.0 MB</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="tune_network_arm.html#sphx-glr-how-to-tune-with-autoscheduler-tune-network-arm-py"><span class="std std-ref">Auto-scheduling a Neural Network for ARM CPU</span></a> (<code class="docutils literal notranslate"><span class="pre">tune_network_arm.py</span></code>)</p></td>
-<td><p>00:22.020</p></td>
+<td><p>00:21.753</p></td>
<td><p>0.0 MB</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="tune_network_mali.html#sphx-glr-how-to-tune-with-autoscheduler-tune-network-mali-py"><span class="std std-ref">Auto-scheduling a Neural Network for mali GPU</span></a> (<code class="docutils literal notranslate"><span class="pre">tune_network_mali.py</span></code>)</p></td>
-<td><p>00:18.892</p></td>
+<td><p>00:18.570</p></td>
<td><p>0.0 MB</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="tune_conv2d_layer_cuda.html#sphx-glr-how-to-tune-with-autoscheduler-tune-conv2d-layer-cuda-py"><span class="std std-ref">Auto-scheduling a Convolution Layer for GPU</span></a> (<code class="docutils literal notranslate"><span class="pre">tune_conv2d_layer_cuda.py</span></code>)</p></td>
-<td><p>00:16.133</p></td>
+<td><p>00:17.016</p></td>
<td><p>0.0 MB</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="tune_sparse_x86.html#sphx-glr-how-to-tune-with-autoscheduler-tune-sparse-x86-py"><span class="std std-ref">Auto-scheduling Sparse Matrix Multiplication on CPU with Custom Sketch Rule</span></a> (<code class="docutils literal notranslate"><span class="pre">tune_sparse_x86.py</span></code>)</p></td>
-<td><p>00:00.107</p></td>
+<td><p>00:00.106</p></td>
<td><p>0.0 MB</p></td>
</tr>
</tbody>
diff --git a/docs/how_to/tune_with_autoscheduler/tune_conv2d_layer_cuda.html b/docs/how_to/tune_with_autoscheduler/tune_conv2d_layer_cuda.html
index 4729885cee..1b87684ee3 100644
--- a/docs/how_to/tune_with_autoscheduler/tune_conv2d_layer_cuda.html
+++ b/docs/how_to/tune_with_autoscheduler/tune_conv2d_layer_cuda.html
@@ -1052,7 +1052,7 @@ class Module:
<span class="p">)</span>
</pre></div>
</div>
-<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>Execution time of this operator: 0.338 ms
+<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>Execution time of this operator: 0.336 ms
</pre></div>
</div>
</div>
diff --git a/docs/how_to/tune_with_autoscheduler/tune_network_cuda.html b/docs/how_to/tune_with_autoscheduler/tune_network_cuda.html
index 04c2619a8f..9e45a9383d 100644
--- a/docs/how_to/tune_with_autoscheduler/tune_network_cuda.html
+++ b/docs/how_to/tune_with_autoscheduler/tune_network_cuda.html
@@ -942,7 +942,7 @@ so we can read the log file and load the best schedules.</p>
Evaluate inference time cost...
Execution time summary:
mean (ms) median (ms) max (ms) min (ms) std (ms)
- 3.2028 3.2028 3.2028 3.2027 0.0001
+ 3.1995 3.1996 3.2002 3.1986 0.0006
</pre></div>
</div>
</div>
@@ -964,7 +964,7 @@ to learn how to use the RPC Tracker and RPC Server.
To use the RPC Tracker in auto-scheduler, replace the runner in <code class="code docutils literal notranslate"><span class="pre">TuningOptions</span></code>
with <a class="reference internal" href="../../reference/api/python/auto_scheduler.html#tvm.auto_scheduler.RPCRunner" title="tvm.auto_scheduler.RPCRunner"><code class="xref any py py-class docutils literal notranslate"><span class="pre">auto_scheduler.RPCRunner</span></code></a>.</p></li>
</ol>
-<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 1 minutes 16.938 seconds)</p>
+<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 1 minutes 16.721 seconds)</p>
<div class="sphx-glr-footer sphx-glr-footer-example docutils container" id="sphx-glr-download-how-to-tune-with-autoscheduler-tune-network-cuda-py">
<div class="sphx-glr-download sphx-glr-download-python docutils container">
<p><a class="reference download internal" download="" href="../../_downloads/eafe360d52540634c9eea0fa89e804bd/tune_network_cuda.py"><code class="xref download docutils literal notranslate"><span class="pre">Download</span> <span class="pre">Python</span> <span class="pre">source</span> <span class="pre">code:</span> <span class="pre">tune_network_cuda.py</span></code></a></p>
diff --git a/docs/how_to/tune_with_autoscheduler/tune_network_x86.html b/docs/how_to/tune_with_autoscheduler/tune_network_x86.html
index dc147c5562..91b26f97fa 100644
--- a/docs/how_to/tune_with_autoscheduler/tune_network_x86.html
+++ b/docs/how_to/tune_with_autoscheduler/tune_network_x86.html
@@ -964,7 +964,7 @@ so we can read the log file and load the best schedules.</p>
Evaluate inference time cost...
Execution time summary:
mean (ms) median (ms) max (ms) min (ms) std (ms)
- 757.1652 757.3116 757.9601 756.2239 0.7163
+ 771.7885 771.2089 772.9789 771.1777 0.8419
</pre></div>
</div>
</div>
@@ -986,7 +986,7 @@ to learn how to use the RPC Tracker and RPC Server.
To use the RPC Tracker in auto-scheduler, replace the runner in <code class="code docutils literal notranslate"><span class="pre">TuningOptions</span></code>
with <a class="reference internal" href="../../reference/api/python/auto_scheduler.html#tvm.auto_scheduler.RPCRunner" title="tvm.auto_scheduler.RPCRunner"><code class="xref any py py-class docutils literal notranslate"><span class="pre">auto_scheduler.RPCRunner</span></code></a>.</p></li>
</ol>
-<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 1 minutes 41.991 seconds)</p>
+<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 1 minutes 43.580 seconds)</p>
<div class="sphx-glr-footer sphx-glr-footer-example docutils container" id="sphx-glr-download-how-to-tune-with-autoscheduler-tune-network-x86-py">
<div class="sphx-glr-download sphx-glr-download-python docutils container">
<p><a class="reference download internal" download="" href="../../_downloads/e416b94ca1090b0897c0f6e0df95b911/tune_network_x86.py"><code class="xref download docutils literal notranslate"><span class="pre">Download</span> <span class="pre">Python</span> <span class="pre">source</span> <span class="pre">code:</span> <span class="pre">tune_network_x86.py</span></code></a></p>
diff --git a/docs/how_to/tune_with_autotvm/sg_execution_times.html b/docs/how_to/tune_with_autotvm/sg_execution_times.html
index 4ab82bf54a..9c96493397 100644
--- a/docs/how_to/tune_with_autotvm/sg_execution_times.html
+++ b/docs/how_to/tune_with_autotvm/sg_execution_times.html
@@ -381,7 +381,7 @@
<div class="section" id="computation-times">
<span id="sphx-glr-how-to-tune-with-autotvm-sg-execution-times"></span><h1>Computation times<a class="headerlink" href="#computation-times" title="Permalink to this headline">¶</a></h1>
-<p><strong>00:24.116</strong> total execution time for <strong>how_to_tune_with_autotvm</strong> files:</p>
+<p><strong>00:24.419</strong> total execution time for <strong>how_to_tune_with_autotvm</strong> files:</p>
<table class="docutils align-default">
<colgroup>
<col style="width: 84%" />
@@ -390,23 +390,23 @@
</colgroup>
<tbody>
<tr class="row-odd"><td><p><a class="reference internal" href="tune_conv2d_cuda.html#sphx-glr-how-to-tune-with-autotvm-tune-conv2d-cuda-py"><span class="std std-ref">Tuning High Performance Convolution on NVIDIA GPUs</span></a> (<code class="docutils literal notranslate"><span class="pre">tune_conv2d_cuda.py</span></code>)</p></td>
-<td><p>00:24.078</p></td>
+<td><p>00:24.379</p></td>
<td><p>0.0 MB</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="tune_relay_x86.html#sphx-glr-how-to-tune-with-autotvm-tune-relay-x86-py"><span class="std std-ref">Auto-tuning a Convolutional Network for x86 CPU</span></a> (<code class="docutils literal notranslate"><span class="pre">tune_relay_x86.py</span></code>)</p></td>
-<td><p>00:00.022</p></td>
+<td><p>00:00.023</p></td>
<td><p>0.0 MB</p></td>
</tr>
-<tr class="row-odd"><td><p><a class="reference internal" href="tune_relay_mobile_gpu.html#sphx-glr-how-to-tune-with-autotvm-tune-relay-mobile-gpu-py"><span class="std std-ref">Auto-tuning a Convolutional Network for Mobile GPU</span></a> (<code class="docutils literal notranslate"><span class="pre">tune_relay_mobile_gpu.py</span></code>)</p></td>
+<tr class="row-odd"><td><p><a class="reference internal" href="tune_relay_arm.html#sphx-glr-how-to-tune-with-autotvm-tune-relay-arm-py"><span class="std std-ref">Auto-tuning a Convolutional Network for ARM CPU</span></a> (<code class="docutils literal notranslate"><span class="pre">tune_relay_arm.py</span></code>)</p></td>
<td><p>00:00.006</p></td>
<td><p>0.0 MB</p></td>
</tr>
-<tr class="row-even"><td><p><a class="reference internal" href="tune_relay_arm.html#sphx-glr-how-to-tune-with-autotvm-tune-relay-arm-py"><span class="std std-ref">Auto-tuning a Convolutional Network for ARM CPU</span></a> (<code class="docutils literal notranslate"><span class="pre">tune_relay_arm.py</span></code>)</p></td>
+<tr class="row-even"><td><p><a class="reference internal" href="tune_relay_mobile_gpu.html#sphx-glr-how-to-tune-with-autotvm-tune-relay-mobile-gpu-py"><span class="std std-ref">Auto-tuning a Convolutional Network for Mobile GPU</span></a> (<code class="docutils literal notranslate"><span class="pre">tune_relay_mobile_gpu.py</span></code>)</p></td>
<td><p>00:00.006</p></td>
<td><p>0.0 MB</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="tune_relay_cuda.html#sphx-glr-how-to-tune-with-autotvm-tune-relay-cuda-py"><span class="std std-ref">Auto-tuning a Convolutional Network for NVIDIA GPU</span></a> (<code class="docutils literal notranslate"><span class="pre">tune_relay_cuda.py</span></code>)</p></td>
-<td><p>00:00.005</p></td>
+<td><p>00:00.006</p></td>
<td><p>0.0 MB</p></td>
</tr>
</tbody>
diff --git a/docs/how_to/tune_with_autotvm/tune_conv2d_cuda.html b/docs/how_to/tune_with_autotvm/tune_conv2d_cuda.html
index d0837d9780..0c666f5fcc 100644
--- a/docs/how_to/tune_with_autotvm/tune_conv2d_cuda.html
+++ b/docs/how_to/tune_with_autotvm/tune_conv2d_cuda.html
@@ -650,7 +650,7 @@ and measure running time.</p>
Best config:
,None
-Time cost of this operator: 0.037275
+Time cost of this operator: 0.037189
</pre></div>
</div>
<div class="sphx-glr-footer sphx-glr-footer-example docutils container" id="sphx-glr-download-how-to-tune-with-autotvm-tune-conv2d-cuda-py">
diff --git a/docs/how_to/tutorials/cross_compilation_and_rpc.html b/docs/how_to/tutorials/cross_compilation_and_rpc.html
index b81dd27d73..26ff013734 100644
--- a/docs/how_to/tutorials/cross_compilation_and_rpc.html
+++ b/docs/how_to/tutorials/cross_compilation_and_rpc.html
@@ -561,7 +561,7 @@ device and returns the measured cost. Network overhead is excluded.</p>
<span class="nb">print</span><span class="p">(</span><span class="s2">"</span><span class="si">%g</span><span class="s2"> secs/op"</span> <span class="o">%</span> <span class="n">cost</span><span class="p">)</span>
</pre></div>
</div>
-<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>1.261e-07 secs/op
+<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>1.291e-07 secs/op
</pre></div>
</div>
</div>
diff --git a/docs/how_to/tutorials/optimize_llm.html b/docs/how_to/tutorials/optimize_llm.html
index 9f68bd9be1..a4ff79cdb8 100644
--- a/docs/how_to/tutorials/optimize_llm.html
+++ b/docs/how_to/tutorials/optimize_llm.html
@@ -985,7 +985,7 @@ IRModule to generate the token.</p>
<span class="nb">print</span><span class="p">(</span><span class="n">tokenizer</span><span class="o">.</span><span class="n">decode</span><span class="p">(</span><span class="n">output_tokens</span><span class="p">))</span>
</pre></div>
</div>
-<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 1 minutes 19.738 seconds)</p>
+<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 1 minutes 59.041 seconds)</p>
<div class="sphx-glr-footer sphx-glr-footer-example docutils container" id="sphx-glr-download-how-to-tutorials-optimize-llm-py">
<div class="sphx-glr-download sphx-glr-download-python docutils container">
<p><a class="reference download internal" download="" href="../../_downloads/fb98884d1e98b239c77e2b86f43d4ac2/optimize_llm.py"><code class="xref download docutils literal notranslate"><span class="pre">Download</span> <span class="pre">Python</span> <span class="pre">source</span> <span class="pre">code:</span> <span class="pre">optimize_llm.py</span></code></a></p>
diff --git a/docs/how_to/tutorials/sg_execution_times.html b/docs/how_to/tutorials/sg_execution_times.html
index 7316ad0282..3a26d3dd38 100644
--- a/docs/how_to/tutorials/sg_execution_times.html
+++ b/docs/how_to/tutorials/sg_execution_times.html
@@ -381,7 +381,7 @@
<div class="section" id="computation-times">
<span id="sphx-glr-how-to-tutorials-sg-execution-times"></span><h1>Computation times<a class="headerlink" href="#computation-times" title="Permalink to this headline">¶</a></h1>
-<p><strong>01:22.092</strong> total execution time for <strong>how_to_tutorials</strong> files:</p>
+<p><strong>02:01.542</strong> total execution time for <strong>how_to_tutorials</strong> files:</p>
<table class="docutils align-default">
<colgroup>
<col style="width: 84%" />
@@ -390,19 +390,19 @@
</colgroup>
<tbody>
<tr class="row-odd"><td><p><a class="reference internal" href="optimize_llm.html#sphx-glr-how-to-tutorials-optimize-llm-py"><span class="std std-ref">Optimize Large Language Model</span></a> (<code class="docutils literal notranslate"><span class="pre">optimize_llm.py</span></code>)</p></td>
-<td><p>01:19.738</p></td>
+<td><p>01:59.041</p></td>
<td><p>0.0 MB</p></td>
</tr>
-<tr class="row-even"><td><p><a class="reference internal" href="customize_opt.html#sphx-glr-how-to-tutorials-customize-opt-py"><span class="std std-ref">Customize Optimization</span></a> (<code class="docutils literal notranslate"><span class="pre">customize_opt.py</span></code>)</p></td>
-<td><p>00:00.830</p></td>
+<tr class="row-even"><td><p><a class="reference internal" href="cross_compilation_and_rpc.html#sphx-glr-how-to-tutorials-cross-compilation-and-rpc-py"><span class="std std-ref">Cross Compilation and RPC</span></a> (<code class="docutils literal notranslate"><span class="pre">cross_compilation_and_rpc.py</span></code>)</p></td>
+<td><p>00:00.916</p></td>
<td><p>0.0 MB</p></td>
</tr>
-<tr class="row-odd"><td><p><a class="reference internal" href="cross_compilation_and_rpc.html#sphx-glr-how-to-tutorials-cross-compilation-and-rpc-py"><span class="std std-ref">Cross Compilation and RPC</span></a> (<code class="docutils literal notranslate"><span class="pre">cross_compilation_and_rpc.py</span></code>)</p></td>
-<td><p>00:00.787</p></td>
+<tr class="row-odd"><td><p><a class="reference internal" href="customize_opt.html#sphx-glr-how-to-tutorials-customize-opt-py"><span class="std std-ref">Customize Optimization</span></a> (<code class="docutils literal notranslate"><span class="pre">customize_opt.py</span></code>)</p></td>
+<td><p>00:00.881</p></td>
<td><p>0.0 MB</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="e2e_opt_model.html#sphx-glr-how-to-tutorials-e2e-opt-model-py"><span class="std std-ref">End-to-End Optimize Model</span></a> (<code class="docutils literal notranslate"><span class="pre">e2e_opt_model.py</span></code>)</p></td>
-<td><p>00:00.737</p></td>
+<td><p>00:00.704</p></td>
<td><p>0.0 MB</p></td>
</tr>
</tbody>
diff --git a/docs/how_to/work_with_microtvm/micro_autotune.html b/docs/how_to/work_with_microtvm/micro_autotune.html
index 44c64fca08..3b5d1b35dc 100644
--- a/docs/how_to/work_with_microtvm/micro_autotune.html
+++ b/docs/how_to/work_with_microtvm/micro_autotune.html
@@ -684,10 +684,10 @@ the tuned operator.</p>
<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>########## Build without Autotuning ##########
Node Name Ops Time(us) Time(%) Shape Inputs Outputs Measurements(us)
--------- --- -------- ------- ----- ------ ------- ----------------
-tvmgen_default_fused_nn_contrib_conv2d_NCHWc tvmgen_default_fused_nn_contrib_conv2d_NCHWc 305.1 98.744 (1, 2, 10, 10, 3) 2 1 [305.1]
-tvmgen_default_fused_layout_transform_1 tvmgen_default_fused_layout_transform_1 2.912 0.943 (1, 6, 10, 10) 1 1 [2.912]
-tvmgen_default_fused_layout_transform tvmgen_default_fused_layout_transform 0.968 0.313 (1, 1, 10, 10, 3) 1 1 [0.968]
-Total_time - 308.98 - - - - -
+tvmgen_default_fused_nn_contrib_conv2d_NCHWc tvmgen_default_fused_nn_contrib_conv2d_NCHWc 303.9 98.729 (1, 2, 10, 10, 3) 2 1 [303.9]
+tvmgen_default_fused_layout_transform_1 tvmgen_default_fused_layout_transform_1 2.933 0.953 (1, 6, 10, 10) 1 1 [2.933]
+tvmgen_default_fused_layout_transform tvmgen_default_fused_layout_transform 0.978 0.318 (1, 1, 10, 10, 3) 1 1 [0.978]
+Total_time - 307.811 - - - - -
</pre></div>
</div>
</div>
@@ -739,13 +739,13 @@ Total_time -
<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>########## Build with Autotuning ##########
Node Name Ops Time(us) Time(%) Shape Inputs Outputs Measurements(us)
--------- --- -------- ------- ----- ------ ------- ----------------
-tvmgen_default_fused_nn_contrib_conv2d_NCHWc tvmgen_default_fused_nn_contrib_conv2d_NCHWc 104.7 97.523 (1, 6, 10, 10, 1) 2 1 [104.7]
-tvmgen_default_fused_layout_transform_1 tvmgen_default_fused_layout_transform_1 1.803 1.68 (1, 6, 10, 10) 1 1 [1.803]
-tvmgen_default_fused_layout_transform tvmgen_default_fused_layout_transform 0.856 0.797 (1, 3, 10, 10, 1) 1 1 [0.856]
-Total_time - 107.359 - - - - -
+tvmgen_default_fused_nn_contrib_conv2d_NCHWc tvmgen_default_fused_nn_contrib_conv2d_NCHWc 138.1 98.118 (1, 6, 10, 10, 1) 2 1 [138.1]
+tvmgen_default_fused_layout_transform_1 tvmgen_default_fused_layout_transform_1 1.783 1.267 (1, 6, 10, 10) 1 1 [1.783]
+tvmgen_default_fused_layout_transform tvmgen_default_fused_layout_transform 0.865 0.615 (1, 3, 10, 10, 1) 1 1 [0.865]
+Total_time - 140.748 - - - - -
</pre></div>
</div>
-<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 1 minutes 28.452 seconds)</p>
+<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 1 minutes 33.118 seconds)</p>
<div class="sphx-glr-footer sphx-glr-footer-example docutils container" id="sphx-glr-download-how-to-work-with-microtvm-micro-autotune-py">
<div class="sphx-glr-download sphx-glr-download-python docutils container">
<p><a class="reference download internal" download="" href="../../_downloads/9ccca8fd489a1486ac71b55a55c320c5/micro_autotune.py"><code class="xref download docutils literal notranslate"><span class="pre">Download</span> <span class="pre">Python</span> <span class="pre">source</span> <span class="pre">code:</span> <span class="pre">micro_autotune.py</span></code></a></p>
diff --git a/docs/how_to/work_with_microtvm/micro_pytorch.html b/docs/how_to/work_with_microtvm/micro_pytorch.html
index 1602ef8a0f..fa7ea02a64 100644
--- a/docs/how_to/work_with_microtvm/micro_pytorch.html
+++ b/docs/how_to/work_with_microtvm/micro_pytorch.html
@@ -495,7 +495,7 @@ download a cat image and preprocess it to use as the model input.</p>
Downloading: "https://download.pytorch.org/models/quantized/mobilenet_v2_qnnpack_37f702c5.pth" to /workspace/.cache/torch/hub/checkpoints/mobilenet_v2_qnnpack_37f702c5.pth
0%| | 0.00/3.42M [00:00<?, ?B/s]
-100%|##########| 3.42M/3.42M [00:00<00:00, 47.4MB/s]
+100%|##########| 3.42M/3.42M [00:00<00:00, 65.1MB/s]
/venv/apache-tvm-py3.8/lib/python3.8/site-packages/torch/ao/nn/quantized/modules/__init__.py:98: TracerWarning: Converting a tensor to a Python float might cause the trace to be incorrect. We can't record the data flow of Python values, so this value will be treated as a constant in the future. This means that the trace might not generalize to other inputs!
return torch.quantize_per_tensor(X, float(self.scale),
/venv/apache-tvm-py3.8/lib/python3.8/site-packages/torch/ao/nn/quantized/modules/__init__.py:99: TracerWarning: Converting a tensor to a Python integer might cause the trace to be incorrect. We can't record the data flow of Python values, so this value will be treated as a constant in the future. This means that the trace might not generalize to other inputs!
@@ -621,7 +621,7 @@ via the host <cite>main.cc`</cite> or if a Zephyr emulated board is selected as
Torch top-1 id: 282, class name: tiger cat
</pre></div>
</div>
-<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 1 minutes 41.216 seconds)</p>
+<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 1 minutes 37.224 seconds)</p>
<div class="sphx-glr-footer sphx-glr-footer-example docutils container" id="sphx-glr-download-how-to-work-with-microtvm-micro-pytorch-py">
<div class="sphx-glr-download sphx-glr-download-python docutils container">
<p><a class="reference download internal" download="" href="../../_downloads/12b9ecc04c41abaa12022061771821d1/micro_pytorch.py"><code class="xref download docutils literal notranslate"><span class="pre">Download</span> <span class="pre">Python</span> <span class="pre">source</span> <span class="pre">code:</span> <span class="pre">micro_pytorch.py</span></code></a></p>
diff --git a/docs/how_to/work_with_microtvm/micro_train.html b/docs/how_to/work_with_microtvm/micro_train.html
index d73654b518..b4b337b00a 100644
--- a/docs/how_to/work_with_microtvm/micro_train.html
+++ b/docs/how_to/work_with_microtvm/micro_train.html
@@ -564,7 +564,7 @@ take about <strong>2 minutes</strong> to download the Stanford Cars, while COCO
<a href="https://docs.python.org/3/library/shutil.html#shutil.move" title="shutil.move" class="sphx-glr-backref-module-shutil sphx-glr-backref-type-py-function"><span class="n">shutil</span><span class="o">.</span><span class="n">move</span></a><span class="p">(</span><span class="sa">f</span><span class="s2">"</span><span class="si">{</span><a href="https://docs.python.org/3/library/stdtypes.html#str" title="builtins.str" class="sphx-glr-backref-module-builtins sphx-glr-backref-typ [...]
</pre></div>
</div>
-<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>'/tmp/tmpu7exbo9p/images/random'
+<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>'/tmp/tmpqj5bau7m/images/random'
</pre></div>
</div>
</div>
@@ -624,8 +624,8 @@ objects to other stuff? We can display some examples from our datasets using <co
<span class="n">plt</span><span class="o">.</span><span class="n">axis</span><span class="p">(</span><span class="s2">"off"</span><span class="p">)</span>
</pre></div>
</div>
-<img src="../../_images/sphx_glr_micro_train_001.png" srcset="../../_images/sphx_glr_micro_train_001.png" alt="[1.0, 0.0], [1.0, 0.0], [1.0, 0.0], [0.0, 1.0], [0.0, 1.0], [0.0, 1.0], [0.0, 1.0], [0.0, 1.0], [1.0, 0.0], [0.0, 1.0]" class = "sphx-glr-single-img"/><div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>/tmp/tmpu7exbo9p/images/target contains 8144 images
-/tmp/tmpu7exbo9p/images/random contains 5000 images
+<img src="../../_images/sphx_glr_micro_train_001.png" srcset="../../_images/sphx_glr_micro_train_001.png" alt="[1.0, 0.0], [1.0, 0.0], [1.0, 0.0], [0.0, 1.0], [0.0, 1.0], [0.0, 1.0], [0.0, 1.0], [0.0, 1.0], [1.0, 0.0], [0.0, 1.0]" class = "sphx-glr-single-img"/><div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>/tmp/tmpqj5bau7m/images/target contains 8144 images
+/tmp/tmpqj5bau7m/images/random contains 5000 images
</pre></div>
</div>
</div>
@@ -737,13 +737,13 @@ the time on our validation set).</p>
</pre></div>
</div>
<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>Epoch 1/3
-328/328 - 48s - loss: 0.2112 - accuracy: 0.9275 - val_loss: 0.1025 - val_accuracy: 0.9656 - 48s/epoch - 145ms/step
+328/328 - 48s - loss: 0.2381 - accuracy: 0.9174 - val_loss: 0.1478 - val_accuracy: 0.9498 - 48s/epoch - 147ms/step
Epoch 2/3
-328/328 - 44s - loss: 0.0964 - accuracy: 0.9665 - val_loss: 0.1478 - val_accuracy: 0.9464 - 44s/epoch - 135ms/step
+328/328 - 45s - loss: 0.1074 - accuracy: 0.9613 - val_loss: 0.0855 - val_accuracy: 0.9683 - 45s/epoch - 136ms/step
Epoch 3/3
-328/328 - 44s - loss: 0.0652 - accuracy: 0.9753 - val_loss: 0.1003 - val_accuracy: 0.9675 - 44s/epoch - 134ms/step
+328/328 - 44s - loss: 0.0673 - accuracy: 0.9748 - val_loss: 0.1038 - val_accuracy: 0.9641 - 44s/epoch - 135ms/step
-<keras.callbacks.History object at 0x7fa5933a58b0>
+<keras.callbacks.History object at 0x7f52108a9700>
</pre></div>
</div>
</div>
@@ -1007,7 +1007,7 @@ as intended.</p>
<p>From here, we could modify the model to read live images from the camera - we have another
Arduino tutorial for how to do that <a class="reference external" href="https://github.com/guberti/tvm-arduino-demos/tree/master/examples/person_detection">on GitHub</a>. Alternatively, we could also
<a class="reference external" href="https://tvm.apache.org/docs/how_to/work_with_microtvm/micro_autotune.html">use TVM’s autotuning capabilities</a> to dramatically improve the model’s performance.</p>
-<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 5 minutes 21.934 seconds)</p>
+<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 5 minutes 59.573 seconds)</p>
<div class="sphx-glr-footer sphx-glr-footer-example docutils container" id="sphx-glr-download-how-to-work-with-microtvm-micro-train-py">
<div class="sphx-glr-download sphx-glr-download-python docutils container">
<p><a class="reference download internal" download="" href="../../_downloads/b52cec46baf4f78d6bcd94cbe269c8a6/micro_train.py"><code class="xref download docutils literal notranslate"><span class="pre">Download</span> <span class="pre">Python</span> <span class="pre">source</span> <span class="pre">code:</span> <span class="pre">micro_train.py</span></code></a></p>
diff --git a/docs/how_to/work_with_microtvm/sg_execution_times.html b/docs/how_to/work_with_microtvm/sg_execution_times.html
index 858676add9..b885f14b32 100644
--- a/docs/how_to/work_with_microtvm/sg_execution_times.html
+++ b/docs/how_to/work_with_microtvm/sg_execution_times.html
@@ -381,7 +381,7 @@
<div class="section" id="computation-times">
<span id="sphx-glr-how-to-work-with-microtvm-sg-execution-times"></span><h1>Computation times<a class="headerlink" href="#computation-times" title="Permalink to this headline">¶</a></h1>
-<p><strong>09:05.159</strong> total execution time for <strong>how_to_work_with_microtvm</strong> files:</p>
+<p><strong>09:41.910</strong> total execution time for <strong>how_to_work_with_microtvm</strong> files:</p>
<table class="docutils align-default">
<colgroup>
<col style="width: 82%" />
@@ -390,27 +390,27 @@
</colgroup>
<tbody>
<tr class="row-odd"><td><p><a class="reference internal" href="micro_train.html#sphx-glr-how-to-work-with-microtvm-micro-train-py"><span class="std std-ref">5. Training Vision Models for microTVM on Arduino</span></a> (<code class="docutils literal notranslate"><span class="pre">micro_train.py</span></code>)</p></td>
-<td><p>05:21.934</p></td>
+<td><p>05:59.573</p></td>
<td><p>0.0 MB</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="micro_pytorch.html#sphx-glr-how-to-work-with-microtvm-micro-pytorch-py"><span class="std std-ref">4. microTVM PyTorch Tutorial</span></a> (<code class="docutils literal notranslate"><span class="pre">micro_pytorch.py</span></code>)</p></td>
-<td><p>01:41.216</p></td>
+<td><p>01:37.224</p></td>
<td><p>0.0 MB</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="micro_autotune.html#sphx-glr-how-to-work-with-microtvm-micro-autotune-py"><span class="std std-ref">6. Model Tuning with microTVM</span></a> (<code class="docutils literal notranslate"><span class="pre">micro_autotune.py</span></code>)</p></td>
-<td><p>01:28.452</p></td>
+<td><p>01:33.118</p></td>
<td><p>0.0 MB</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="micro_aot.html#sphx-glr-how-to-work-with-microtvm-micro-aot-py"><span class="std std-ref">3. microTVM Ahead-of-Time (AOT) Compilation</span></a> (<code class="docutils literal notranslate"><span class="pre">micro_aot.py</span></code>)</p></td>
-<td><p>00:13.428</p></td>
+<td><p>00:12.832</p></td>
<td><p>0.0 MB</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="micro_custom_ide.html#sphx-glr-how-to-work-with-microtvm-micro-custom-ide-py"><span class="std std-ref">9. Bring microTVM to your own development environment</span></a> (<code class="docutils literal notranslate"><span class="pre">micro_custom_ide.py</span></code>)</p></td>
-<td><p>00:10.998</p></td>
+<td><p>00:11.181</p></td>
<td><p>0.0 MB</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="micro_tflite.html#sphx-glr-how-to-work-with-microtvm-micro-tflite-py"><span class="std std-ref">2. microTVM TFLite Tutorial</span></a> (<code class="docutils literal notranslate"><span class="pre">micro_tflite.py</span></code>)</p></td>
-<td><p>00:09.132</p></td>
+<td><p>00:07.982</p></td>
<td><p>0.0 MB</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="micro_ethosu.html#sphx-glr-how-to-work-with-microtvm-micro-ethosu-py"><span class="std std-ref">7. Running TVM on bare metal Arm(R) Cortex(R)-M55 CPU and Ethos(TM)-U55 NPU with CMSIS-NN</span></a> (<code class="docutils literal notranslate"><span class="pre">micro_ethosu.py</span></code>)</p></td>
diff --git a/docs/how_to/work_with_relay/sg_execution_times.html b/docs/how_to/work_with_relay/sg_execution_times.html
index 3f56b87e52..b121bce8fc 100644
--- a/docs/how_to/work_with_relay/sg_execution_times.html
+++ b/docs/how_to/work_with_relay/sg_execution_times.html
@@ -381,7 +381,7 @@
<div class="section" id="computation-times">
<span id="sphx-glr-how-to-work-with-relay-sg-execution-times"></span><h1>Computation times<a class="headerlink" href="#computation-times" title="Permalink to this headline">¶</a></h1>
-<p><strong>00:40.575</strong> total execution time for <strong>how_to_work_with_relay</strong> files:</p>
+<p><strong>00:42.160</strong> total execution time for <strong>how_to_work_with_relay</strong> files:</p>
<table class="docutils align-default">
<colgroup>
<col style="width: 84%" />
@@ -390,15 +390,15 @@
</colgroup>
<tbody>
<tr class="row-odd"><td><p><a class="reference internal" href="using_pipeline_executor.html#sphx-glr-how-to-work-with-relay-using-pipeline-executor-py"><span class="std std-ref">Using Pipeline Executor in Relay</span></a> (<code class="docutils literal notranslate"><span class="pre">using_pipeline_executor.py</span></code>)</p></td>
-<td><p>00:34.814</p></td>
+<td><p>00:36.120</p></td>
<td><p>0.0 MB</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="using_external_lib.html#sphx-glr-how-to-work-with-relay-using-external-lib-py"><span class="std std-ref">Using External Libraries in Relay</span></a> (<code class="docutils literal notranslate"><span class="pre">using_external_lib.py</span></code>)</p></td>
-<td><p>00:03.865</p></td>
+<td><p>00:03.880</p></td>
<td><p>0.0 MB</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="build_gcn.html#sphx-glr-how-to-work-with-relay-build-gcn-py"><span class="std std-ref">Building a Graph Convolutional Network</span></a> (<code class="docutils literal notranslate"><span class="pre">build_gcn.py</span></code>)</p></td>
-<td><p>00:01.890</p></td>
+<td><p>00:02.153</p></td>
<td><p>0.0 MB</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="using_relay_viz.html#sphx-glr-how-to-work-with-relay-using-relay-viz-py"><span class="std std-ref">Use Relay Visualizer to Visualize Relay</span></a> (<code class="docutils literal notranslate"><span class="pre">using_relay_viz.py</span></code>)</p></td>
diff --git a/docs/how_to/work_with_schedules/sg_execution_times.html b/docs/how_to/work_with_schedules/sg_execution_times.html
index 1e854ba07e..22ae68e028 100644
--- a/docs/how_to/work_with_schedules/sg_execution_times.html
+++ b/docs/how_to/work_with_schedules/sg_execution_times.html
@@ -381,7 +381,7 @@
<div class="section" id="computation-times">
<span id="sphx-glr-how-to-work-with-schedules-sg-execution-times"></span><h1>Computation times<a class="headerlink" href="#computation-times" title="Permalink to this headline">¶</a></h1>
-<p><strong>00:03.074</strong> total execution time for <strong>how_to_work_with_schedules</strong> files:</p>
+<p><strong>00:03.098</strong> total execution time for <strong>how_to_work_with_schedules</strong> files:</p>
<table class="docutils align-default">
<colgroup>
<col style="width: 83%" />
@@ -390,31 +390,31 @@
</colgroup>
<tbody>
<tr class="row-odd"><td><p><a class="reference internal" href="tensorize.html#sphx-glr-how-to-work-with-schedules-tensorize-py"><span class="std std-ref">Use Tensorize to Leverage Hardware Intrinsics</span></a> (<code class="docutils literal notranslate"><span class="pre">tensorize.py</span></code>)</p></td>
-<td><p>00:01.398</p></td>
+<td><p>00:01.310</p></td>
<td><p>0.0 MB</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="reduction.html#sphx-glr-how-to-work-with-schedules-reduction-py"><span class="std std-ref">Reduction</span></a> (<code class="docutils literal notranslate"><span class="pre">reduction.py</span></code>)</p></td>
-<td><p>00:00.696</p></td>
+<td><p>00:00.743</p></td>
<td><p>0.0 MB</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="scan.html#sphx-glr-how-to-work-with-schedules-scan-py"><span class="std std-ref">Scan and Recurrent Kernel</span></a> (<code class="docutils literal notranslate"><span class="pre">scan.py</span></code>)</p></td>
-<td><p>00:00.682</p></td>
+<td><p>00:00.735</p></td>
<td><p>0.0 MB</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="extern_op.html#sphx-glr-how-to-work-with-schedules-extern-op-py"><span class="std std-ref">External Tensor Functions</span></a> (<code class="docutils literal notranslate"><span class="pre">extern_op.py</span></code>)</p></td>
-<td><p>00:00.130</p></td>
+<td><p>00:00.134</p></td>
<td><p>0.0 MB</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="schedule_primitives.html#sphx-glr-how-to-work-with-schedules-schedule-primitives-py"><span class="std std-ref">Schedule Primitives in TVM</span></a> (<code class="docutils literal notranslate"><span class="pre">schedule_primitives.py</span></code>)</p></td>
-<td><p>00:00.070</p></td>
+<td><p>00:00.073</p></td>
<td><p>0.0 MB</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="tedd.html#sphx-glr-how-to-work-with-schedules-tedd-py"><span class="std std-ref">Use Tensor Expression Debug Display (TEDD) for Visualization</span></a> (<code class="docutils literal notranslate"><span class="pre">tedd.py</span></code>)</p></td>
-<td><p>00:00.064</p></td>
+<td><p>00:00.068</p></td>
<td><p>0.0 MB</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="tuple_inputs.html#sphx-glr-how-to-work-with-schedules-tuple-inputs-py"><span class="std std-ref">Compute and Reduce with Tuple Inputs</span></a> (<code class="docutils literal notranslate"><span class="pre">tuple_inputs.py</span></code>)</p></td>
-<td><p>00:00.034</p></td>
+<td><p>00:00.035</p></td>
<td><p>0.0 MB</p></td>
</tr>
</tbody>
diff --git a/docs/objects.inv b/docs/objects.inv
index fc2df293d7..93aee67d35 100644
Binary files a/docs/objects.inv and b/docs/objects.inv differ
diff --git a/docs/reference/api/python/auto_scheduler.html b/docs/reference/api/python/auto_scheduler.html
index 41bf0df54c..63d217f996 100644
--- a/docs/reference/api/python/auto_scheduler.html
+++ b/docs/reference/api/python/auto_scheduler.html
@@ -575,7 +575,7 @@ TVM schedule (e.g. applying the <cite>LoopState</cite> transform steps to a TVM
<cite>LoopState</cite> with extra information got from TVM schedule).</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>compute</strong> (<em>Union</em><em>[</em><em>List</em><em>[</em><a class="reference internal" href="te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a><em>]</em><em>, </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><a class="reference internal" href="te.html#tvm.te.Schedule" title="tvm.te.Schedule"><em>tvm.te.Schedule</em></a><em>]</em>) – Inpu [...]
+<dd class="field-odd"><p><strong>compute</strong> (<em>Union</em><em>[</em><em>List</em><em>[</em><a class="reference internal" href="te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a><em>]</em><em>, </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><a class="reference internal" href="te.html#tvm.te.Schedule" title="tvm.te.Schedule"><em>tvm.te.Schedule</em></a><em>]</em>) – Inpu [...]
</dd>
</dl>
<p><strong>Methods:</strong></p>
@@ -709,7 +709,7 @@ The workload key is a JSON string from a tuple of (hash of DAG, tensor shapes…
<dd class="field-odd"><p><strong>key</strong> – The workload key of this compute DAG</p>
</dd>
<dt class="field-even">Return type</dt>
-<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)">str</a></p>
+<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)">str</a></p>
</dd>
</dl>
</dd></dl>
@@ -743,7 +743,7 @@ Currently we only enable layout rewrite for cpu / mali backend for now</p>
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>target</strong> (<a class="reference internal" href="target.html#tvm.target.Target" title="tvm.target.Target"><em>tvm.target.Target</em></a>) – The compilation target.</p></li>
-<li><p><strong>in_relay_integration</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a>) – If this check is ask for relay integration.</p></li>
+<li><p><strong>in_relay_integration</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – If this check is ask for relay integration.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -764,8 +764,8 @@ Currently we only enable layout rewrite for cpu / mali backend for now</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>rewritten_layout</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The layout after rewrite</p></li>
-<li><p><strong>axis_names</strong> (<em>List</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em>) – Specify the order of axes by names</p></li>
+<li><p><strong>rewritten_layout</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The layout after rewrite</p></li>
+<li><p><strong>axis_names</strong> (<em>List</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em>) – Specify the order of axes by names</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -825,7 +825,7 @@ Currently we only enable layout rewrite for cpu / mali backend for now</p>
<dd class="field-even"><p><strong>scores</strong> – The predicted scores for all states</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p>List[<a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.12)">float</a>]</p>
+<dd class="field-odd"><p>List[<a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.13)">float</a>]</p>
</dd>
</dl>
</dd></dl>
@@ -855,8 +855,8 @@ their predictions.</p>
<li><p><strong>verbose_eval</strong> (<em>int = 25</em>) – Print training log every <cite>verbose_eval</cite> iterations.</p></li>
<li><p><strong>num_warmup_sample</strong> (<em>int = 100</em>) – The minimum number of samples to start to use the trained model.
If the number of samples is less than this number, the model outputs random predictions.</p></li>
-<li><p><strong>seed</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>]</em>) – The random seed</p></li>
-<li><p><strong>model_file</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em>) – If is not None, save model to this file after every update.</p></li>
+<li><p><strong>seed</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>]</em>) – The random seed</p></li>
+<li><p><strong>model_file</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em>) – If is not None, save model to this file after every update.</p></li>
<li><p><strong>adaptive_training</strong> (<em>bool = False</em>) – Whether to use adaptive training, which reduces the training frequency when there are
too many logs.</p></li>
</ul>
@@ -913,7 +913,7 @@ XGBoost does not support incremental training, so we re-train a new model every
<dd class="field-odd"><p><strong>scores</strong> – The predicted scores for all states</p>
</dd>
<dt class="field-even">Return type</dt>
-<dd class="field-even"><p>List[<a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.12)">float</a>]</p>
+<dd class="field-even"><p>List[<a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.13)">float</a>]</p>
</dd>
</dl>
</dd></dl>
@@ -933,7 +933,7 @@ XGBoost does not support incremental training, so we re-train a new model every
<dd class="field-even"><p><strong>scores</strong> – The predicted scores for all stages in all states in the packed format</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p>List[<a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.12)">float</a>]</p>
+<dd class="field-odd"><p>List[<a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.13)">float</a>]</p>
</dd>
</dl>
<div class="admonition note">
@@ -972,7 +972,7 @@ This function can be used to pre-train the cost model with history log files.
<dl class="py method">
<dt class="sig sig-object py" id="tvm.auto_scheduler.XGBModel.save">
-<span class="sig-name descname"><span class="pre">save</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">file_name</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><span class="pre">str</span></a></span></em><span class="sig-paren">)</span><a class="headerlink" href="#tvm.auto_scheduler.XGBModel [...]
+<span class="sig-name descname"><span class="pre">save</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">file_name</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a></span></em><span class="sig-paren">)</span><a class="headerlink" href="#tvm.auto_scheduler.XGBModel [...]
<dd><p>Save the model to a file
:param file_name: The filename
:type file_name: str</p>
@@ -980,7 +980,7 @@ This function can be used to pre-train the cost model with history log files.
<dl class="py method">
<dt class="sig sig-object py" id="tvm.auto_scheduler.XGBModel.load">
-<span class="sig-name descname"><span class="pre">load</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">file_name</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><span class="pre">str</span></a></span></em><span class="sig-paren">)</span><a class="headerlink" href="#tvm.auto_scheduler.XGBModel [...]
+<span class="sig-name descname"><span class="pre">load</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">file_name</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a></span></em><span class="sig-paren">)</span><a class="headerlink" href="#tvm.auto_scheduler.XGBModel [...]
<dd><p>Load the model from a file
:param file_name: The filename
:type file_name: str</p>
@@ -995,13 +995,13 @@ This function can be used to pre-train the cost model with history log files.
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>records</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><em>list of str</em><em>, or </em><em>iterator of</em><em> (</em><a class="reference internal" href="#tvm.auto_scheduler.MeasureInput" title="tvm.auto_scheduler.measure.MeasureInput"><em>auto_scheduler.measure.MeasureInput</em></a><em>, </em><a class="reference internal [...]
+<li><p><strong>records</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><em>list of str</em><em>, or </em><em>iterator of</em><em> (</em><a class="reference internal" href="#tvm.auto_scheduler.MeasureInput" title="tvm.auto_scheduler.measure.MeasureInput"><em>auto_scheduler.measure.MeasureInput</em></a><em>, </em><a class="reference internal [...]
If is str, then it should be the filename of a records log file.
Each row of this file is an encoded record pair. If it is an iterator,
it can either be a set of str filenames which will be applied jointly,
or a set of (input, result) tuples.</p></li>
-<li><p><strong>n_lines</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>]</em>) – if it is not None, only load the first <cite>n_lines</cite> lines of log.</p></li>
-<li><p><strong>include_compatible</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a>) – When set to True, compatible records will also be considered.</p></li>
+<li><p><strong>n_lines</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>]</em>) – if it is not None, only load the first <cite>n_lines</cite> lines of log.</p></li>
+<li><p><strong>include_compatible</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – When set to True, compatible records will also be considered.</p></li>
</ul>
</dd>
</dl>
@@ -1030,9 +1030,9 @@ or a set of (input, result) tuples.</p></li>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>best_records</strong> (<em>Dict</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><em>Dict</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><em>Dict</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in P [...]
-<li><p><strong>target_key</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The first key to the best_records.</p></li>
-<li><p><strong>workload_key</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The workload key that can be decoded to workload hash and args.</p></li>
+<li><p><strong>best_records</strong> (<em>Dict</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><em>Dict</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><em>Dict</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in P [...]
+<li><p><strong>target_key</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The first key to the best_records.</p></li>
+<li><p><strong>workload_key</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The workload key that can be decoded to workload hash and args.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -1053,10 +1053,10 @@ or a set of (input, result) tuples.</p></li>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>records</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em> or </em><em>iterator of</em><em> (</em><a class="reference internal" href="#tvm.auto_scheduler.MeasureInput" title="tvm.auto_scheduler.measure.MeasureInput"><em>auto_scheduler.measure.MeasureInput</em></a><em>, </em><a class="reference internal" href="#tvm.auto_scheduler.MeasureResult" [...]
+<li><p><strong>records</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em> or </em><em>iterator of</em><em> (</em><a class="reference internal" href="#tvm.auto_scheduler.MeasureInput" title="tvm.auto_scheduler.measure.MeasureInput"><em>auto_scheduler.measure.MeasureInput</em></a><em>, </em><a class="reference internal" href="#tvm.auto_scheduler.MeasureResult" [...]
If is str, then it should be the filename of a records log file.
Each row of this file is an encoded record pair. Otherwise, it is an iterator.</p></li>
-<li><p><strong>n_lines</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>]</em>) – if it is not None, only load the first <cite>n_lines</cite> lines of log</p></li>
+<li><p><strong>n_lines</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>]</em>) – if it is not None, only load the first <cite>n_lines</cite> lines of log</p></li>
</ul>
</dd>
</dl>
@@ -1070,7 +1070,7 @@ Each row of this file is an encoded record pair. Otherwise, it is an iterator.</
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>target</strong> (<a class="reference internal" href="target.html#tvm.target.Target" title="tvm.target.Target"><em>Target</em></a>) – The current target</p></li>
-<li><p><strong>workload_key</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The current workload_key.</p></li>
+<li><p><strong>workload_key</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The current workload_key.</p></li>
<li><p><strong>state</strong> (<em>StateObject</em>) – The state that stores schedule configuration for the workload</p></li>
</ul>
</dd>
@@ -1086,13 +1086,13 @@ Each row of this file is an encoded record pair. Otherwise, it is an iterator.</
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>records</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em> or </em><em>iterator of</em><em> (</em><a class="reference internal" href="#tvm.auto_scheduler.MeasureInput" title="tvm.auto_scheduler.measure.MeasureInput"><em>auto_scheduler.measure.MeasureInput</em></a><em>, </em><a class="reference internal" href="#tvm.auto_scheduler.MeasureResult" tit [...]
+<li><p><strong>records</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em> or </em><em>iterator of</em><em> (</em><a class="reference internal" href="#tvm.auto_scheduler.MeasureInput" title="tvm.auto_scheduler.measure.MeasureInput"><em>auto_scheduler.measure.MeasureInput</em></a><em>, </em><a class="reference internal" href="#tvm.auto_scheduler.MeasureResult" tit [...]
If is str, then it should be the filename of a records log file.
Each row of this file is an encoded record pair. Otherwise, it is an iterator.</p></li>
-<li><p><strong>sample_simple_workloads</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a>) – When False, sampling will not apply to simple workloads (w/o reduction).</p></li>
-<li><p><strong>cost_model_file</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The filename of the pre-trained XGBoost cost model. If not present, then random
+<li><p><strong>sample_simple_workloads</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – When False, sampling will not apply to simple workloads (w/o reduction).</p></li>
+<li><p><strong>cost_model_file</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The filename of the pre-trained XGBoost cost model. If not present, then random
model will be used.</p></li>
-<li><p><strong>num_measure</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – Meausre the top-N rank of sampled schedules on the device. The default -1 means
+<li><p><strong>num_measure</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – Meausre the top-N rank of sampled schedules on the device. The default -1 means
no measurement and simply return the top-1 schedule ranked by the cost model.</p></li>
</ul>
</dd>
@@ -1119,10 +1119,10 @@ from the upper contexts.</p>
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>target</strong> (<a class="reference internal" href="target.html#tvm.target.Target" title="tvm.target.Target"><em>Target</em></a>) – The current target</p></li>
-<li><p><strong>workload_key</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The workload key</p></li>
-<li><p><strong>has_complex_op</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a>) – Whether this workload has at least one complex op.</p></li>
+<li><p><strong>workload_key</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The workload key</p></li>
+<li><p><strong>has_complex_op</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – Whether this workload has at least one complex op.</p></li>
<li><p><strong>dag</strong> (<a class="reference internal" href="#tvm.auto_scheduler.ComputeDAG" title="tvm.auto_scheduler.ComputeDAG"><em>ComputeDAG</em></a>) – The ComputeDAG of the workload.</p></li>
-<li><p><strong>func_name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The function name of this workload.</p></li>
+<li><p><strong>func_name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The function name of this workload.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -1165,10 +1165,10 @@ from the upper contexts.</p>
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>target</strong> (<a class="reference internal" href="target.html#tvm.target.Target" title="tvm.target.Target"><em>Target</em></a>) – The current target</p></li>
-<li><p><strong>workload_key</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The workload key</p></li>
-<li><p><strong>has_complex_op</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a>) – Whether this workload has at least one complex op.</p></li>
+<li><p><strong>workload_key</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The workload key</p></li>
+<li><p><strong>has_complex_op</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – Whether this workload has at least one complex op.</p></li>
<li><p><strong>dag</strong> (<a class="reference internal" href="#tvm.auto_scheduler.ComputeDAG" title="tvm.auto_scheduler.ComputeDAG"><em>ComputeDAG</em></a>) – The ComputeDAG of the workload.</p></li>
-<li><p><strong>func_name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The function name of this workload.</p></li>
+<li><p><strong>func_name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The function name of this workload.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -1188,7 +1188,7 @@ from the upper contexts.</p>
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>target</strong> (<a class="reference internal" href="target.html#tvm.target.Target" title="tvm.target.Target"><em>Target</em></a>) – The current target</p></li>
-<li><p><strong>workload_key</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The current workload_key.</p></li>
+<li><p><strong>workload_key</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The current workload_key.</p></li>
<li><p><strong>state</strong> (<em>StateObject</em>) – The state that stores schedule configuration for the workload</p></li>
</ul>
</dd>
@@ -1329,11 +1329,11 @@ initialization order?).</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>costs</strong> (<em>List</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.12)"><em>float</em></a><em>]</em>) – The time costs of execution.</p></li>
-<li><p><strong>error_no</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – The error code.</p></li>
-<li><p><strong>error_msg</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em>) – The error message if there is any error.</p></li>
-<li><p><strong>all_cost</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.12)"><em>float</em></a>) – The time cost of build and run.</p></li>
-<li><p><strong>timestamp</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.12)"><em>float</em></a>) – The time stamps of this measurement.</p></li>
+<li><p><strong>costs</strong> (<em>List</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.13)"><em>float</em></a><em>]</em>) – The time costs of execution.</p></li>
+<li><p><strong>error_no</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – The error code.</p></li>
+<li><p><strong>error_msg</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em>) – The error message if there is any error.</p></li>
+<li><p><strong>all_cost</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.13)"><em>float</em></a>) – The time cost of build and run.</p></li>
+<li><p><strong>timestamp</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.13)"><em>float</em></a>) – The time stamps of this measurement.</p></li>
</ul>
</dd>
</dl>
@@ -1348,9 +1348,9 @@ Or sometime we may need to use RPC even in local running to insulate the thread
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>key</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The key of the device registered in the RPC tracker.</p></li>
-<li><p><strong>host</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The host address of the RPC Tracker.</p></li>
-<li><p><strong>port</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – The port of RPC Tracker.</p></li>
+<li><p><strong>key</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The key of the device registered in the RPC tracker.</p></li>
+<li><p><strong>host</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The host address of the RPC Tracker.</p></li>
+<li><p><strong>port</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – The port of RPC Tracker.</p></li>
<li><p><strong>priority</strong> (<em>int = 1</em>) – The priority of this run request, larger is more prior.</p></li>
<li><p><strong>n_parallel</strong> (<em>int = 1</em>) – The number of tasks run in parallel.</p></li>
<li><p><strong>timeout</strong> (<em>int = 10</em>) – The timeout limit (in second) for each run.
@@ -1389,7 +1389,7 @@ subgraph and return a Map from the input Tensor to its buffer name.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>func_name</strong> (<em>Union</em><em>[</em><a class="reference internal" href="relax/relax.html#tvm.relax.Function" title="tvm.relax.Function"><em>Function</em></a><em>, </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em>) – The check function that returns the compute declaration Tensors or its function name.</p></li>
+<li><p><strong>func_name</strong> (<em>Union</em><em>[</em><a class="reference internal" href="relax/relax.html#tvm.relax.Function" title="tvm.relax.Function"><em>Function</em></a><em>, </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em>) – The check function that returns the compute declaration Tensors or its function name.</p></li>
<li><p><strong>f</strong> (<em>Optional</em><em>[</em><a class="reference internal" href="relax/relax.html#tvm.relax.Function" title="tvm.relax.Function"><em>Function</em></a><em>]</em>) – The check function to be registered.</p></li>
<li><p><strong>override</strong> (<em>boolean = False</em>) – Whether to override existing entry.</p></li>
</ul>
@@ -1414,7 +1414,7 @@ subgraph and return a Map from the input Tensor to its buffer name.</p>
<dd><p>Reader of the json log file.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>filename</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – File name for this reader to load log from.</p>
+<dd class="field-odd"><p><strong>filename</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – File name for this reader to load log from.</p>
</dd>
</dl>
<p><strong>Methods:</strong></p>
@@ -1452,7 +1452,7 @@ subgraph and return a Map from the input Tensor to its buffer name.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>max_lines</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>]</em>) – The maximum number of lines. None to read all lines.</p></li>
+<li><p><strong>max_lines</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>]</em>) – The maximum number of lines. None to read all lines.</p></li>
<li><p><strong>skip_lines</strong> (<em>int = 0</em>) – Skip the first n lines.</p></li>
</ul>
</dd>
@@ -1479,7 +1479,7 @@ to rebuild these fields.</p>
<dd><p>A measurement callback that writes measurement records into a file.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>filename</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – File name for this callback to write log to.</p>
+<dd class="field-odd"><p><strong>filename</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – File name for this callback to write log to.</p>
</dd>
</dl>
</dd></dl>
@@ -1492,12 +1492,12 @@ there is no legal measure pair with the specified workload_key/target found from
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>filename</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – File name to load log from.</p></li>
-<li><p><strong>workload_key</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em>) – The workload key of the compute declaration.
+<li><p><strong>filename</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – File name to load log from.</p></li>
+<li><p><strong>workload_key</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em>) – The workload key of the compute declaration.
With <cite>None</cite>, this returns the best measure pair of all workloads.</p></li>
<li><p><strong>target</strong> (<em>Optional</em><em>[</em><a class="reference internal" href="target.html#tvm.target.Target" title="tvm.target.Target"><em>tvm.target.Target</em></a><em>]</em>) – The target device.
With <cite>None</cite>, this returns the best measure pair of all target devices.</p></li>
-<li><p><strong>include_compatible</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a>) – When set to True, all compatible records in the log file will be considered.</p></li>
+<li><p><strong>include_compatible</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – When set to True, all compatible records in the log file will be considered.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -1516,7 +1516,7 @@ With <cite>None</cite>, this returns the best measure pair of all target devices
<dd><p>Load measurement records from a file.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>filename</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – File name to load log from.</p>
+<dd class="field-odd"><p><strong>filename</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – File name to load log from.</p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p><strong>logs</strong></p>
@@ -1539,7 +1539,7 @@ to rebuild these fields.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>filename</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – File name to write log to.</p></li>
+<li><p><strong>filename</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – File name to write log to.</p></li>
<li><p><strong>inputs</strong> (<em>List</em><em>[</em><em>MeasureInputs</em><em>]</em>) – The MeasureInputs to be written.</p></li>
<li><p><strong>results</strong> (<em>List</em><em>[</em><em>MeasureResults</em><em>]</em>) – The MeasureResults to be written.</p></li>
</ul>
@@ -1556,12 +1556,12 @@ to rebuild these fields.</p>
<dd class="field-odd"><ul class="simple">
<li><p><strong>mod</strong> (<em>tvm.IRModule</em><em> or </em><em>relay.function.Function</em>) – The module or function to tune</p></li>
<li><p><strong>params</strong> (<em>dict of str to numpy array</em>) – The associated parameters of the program</p></li>
-<li><p><strong>target</strong> (<em>Union</em><em>[</em><a class="reference internal" href="target.html#tvm.target.Target" title="tvm.target.Target"><em>tvm.target.Target</em></a><em>, </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em>) – The compilation target</p></li>
-<li><p><strong>target_host</strong> (<em>Optional</em><em>[</em><em>Union</em><em>[</em><a class="reference internal" href="target.html#tvm.target.Target" title="tvm.target.Target"><em>tvm.target.Target</em></a><em>, </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em><em>]</em>) – The host compilation target</p></li>
+<li><p><strong>target</strong> (<em>Union</em><em>[</em><a class="reference internal" href="target.html#tvm.target.Target" title="tvm.target.Target"><em>tvm.target.Target</em></a><em>, </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em>) – The compilation target</p></li>
+<li><p><strong>target_host</strong> (<em>Optional</em><em>[</em><em>Union</em><em>[</em><a class="reference internal" href="target.html#tvm.target.Target" title="tvm.target.Target"><em>tvm.target.Target</em></a><em>, </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em><em>]</em>) – The host compilation target</p></li>
<li><p><strong>hardware_params</strong> (<em>Optional</em><em>[</em><a class="reference internal" href="#tvm.auto_scheduler.HardwareParams" title="tvm.auto_scheduler.HardwareParams"><em>HardwareParams</em></a><em>]</em>) – Hardware parameters used for the search tasks</p></li>
-<li><p><strong>include_simple_tasks</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a>) – Whether to extract simple tasks that do not include complicated ops.</p></li>
-<li><p><strong>dump_workload_to_dag_log</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em>) – A file to dump an association between the workload keys and the actual DAG</p></li>
-<li><p><strong>opt_level</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>]</em>) – The optimization level of the task extractions.</p></li>
+<li><p><strong>include_simple_tasks</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – Whether to extract simple tasks that do not include complicated ops.</p></li>
+<li><p><strong>dump_workload_to_dag_log</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em>) – A file to dump an association between the workload keys and the actual DAG</p></li>
+<li><p><strong>opt_level</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>]</em>) – The optimization level of the task extractions.</p></li>
<li><p><strong>other_targets</strong> (<em>Optional</em><em>[</em><em>List</em><em>[</em><a class="reference internal" href="target.html#tvm.target.Target" title="tvm.target.Target"><em>tvm.target.Target</em></a><em>]</em><em>]</em>) – Other targets for call_all_topi_funcs, e.g., cutlass target.</p></li>
</ul>
</dd>
@@ -1581,7 +1581,7 @@ to rebuild these fields.</p>
<dd><p>Return whether the auto-scheduler is enabled.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>enabled</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a>) – Whether the auto-scheduler is enabled</p>
+<dd class="field-odd"><p><strong>enabled</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – Whether the auto-scheduler is enabled</p>
</dd>
</dl>
</dd></dl>
@@ -1661,14 +1661,14 @@ history states as starting point to perform Evolutionary Search).</p></li>
</dl>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>filename</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The name of the record file.</p>
+<dd class="field-odd"><p><strong>filename</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The name of the record file.</p>
</dd>
</dl>
</dd></dl>
<dl class="py class">
<dt class="sig sig-object py" id="tvm.auto_scheduler.SketchPolicy">
-<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.auto_scheduler.</span></span><span class="sig-name descname"><span class="pre">SketchPolicy</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">task</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">program_cost_model</span></span><span class="o"><span class="pre">=</span></span><span class="defau [...]
+<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.auto_scheduler.</span></span><span class="sig-name descname"><span class="pre">SketchPolicy</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">task</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">program_cost_model</span></span><span class="o"><span class="pre">=</span></span><span class="defau [...]
<dd><p>The search policy that searches in a hierarchical search space defined by sketches.
The policy randomly samples programs from the space defined by sketches and use evolutionary
search to fine-tune them.</p>
@@ -1677,10 +1677,10 @@ search to fine-tune them.</p>
<dd class="field-odd"><ul class="simple">
<li><p><strong>task</strong> (<a class="reference internal" href="#tvm.auto_scheduler.SearchTask" title="tvm.auto_scheduler.SearchTask"><em>SearchTask</em></a>) – The SearchTask for the computation declaration.</p></li>
<li><p><strong>program_cost_model</strong> (<em>CostModel = RandomModel</em><em>(</em><em>)</em>) – The cost model to estimate the complete schedules.</p></li>
-<li><p><strong>params</strong> (<em>Optional</em><em>[</em><em>Dict</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><a class="reference internal" href="tir/tir.html#tvm.tir.Any" title="tvm.tir.Any"><em>Any</em></a><em>]</em><em>]</em>) – Parameters of the search policy.
+<li><p><strong>params</strong> (<em>Optional</em><em>[</em><em>Dict</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><a class="reference internal" href="tir/tir.html#tvm.tir.Any" title="tvm.tir.Any"><em>Any</em></a><em>]</em><em>]</em>) – Parameters of the search policy.
See <cite>src/auto_scheduler/search_policy/sketch_search_policy.h</cite> for the definitions.
See <cite>DEFAULT_PARAMS</cite> below to find the default values.</p></li>
-<li><p><strong>seed</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>]</em>) – Random seed.</p></li>
+<li><p><strong>seed</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>]</em>) – Random seed.</p></li>
<li><p><strong>verbose</strong> (<em>int = 1</em>) – Verbosity level. 0 for silent, 1 to output information during schedule search.</p></li>
<li><p><strong>init_search_callbacks</strong> (<em>Optional</em><em>[</em><em>List</em><em>[</em><em>SearchCallback</em><em>]</em><em>]</em>) – <p>Callback functions called before the search process, usually used to do extra
initializations.
@@ -1758,7 +1758,7 @@ The actual search is all done in c++.</p>
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>init_populations</strong> (<em>List</em><em>[</em><em>State</em><em>]</em>) – The initial population states</p></li>
-<li><p><strong>out_size</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – The size of generated states</p></li>
+<li><p><strong>out_size</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – The size of generated states</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -1809,13 +1809,13 @@ TODO(jcf94): This is considered to be merged with the new Target specification:
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>func</strong> (<em>Union</em><em>[</em><a class="reference internal" href="relax/relax.html#tvm.relax.Function" title="tvm.relax.Function"><em>Function</em></a><em>, </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em>) – The function that returns the compute declaration Tensors.
+<li><p><strong>func</strong> (<em>Union</em><em>[</em><a class="reference internal" href="relax/relax.html#tvm.relax.Function" title="tvm.relax.Function"><em>Function</em></a><em>, </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em>) – The function that returns the compute declaration Tensors.
Can be the a function or the function name.</p></li>
<li><p><strong>args</strong> (<em>Union</em><em>[</em><a class="reference internal" href="relax/relax.html#tvm.relax.Tuple" title="tvm.relax.Tuple"><em>Tuple</em></a><em>[</em><a class="reference internal" href="tir/tir.html#tvm.tir.Any" title="tvm.tir.Any"><em>Any</em></a><em>, </em><em>...</em><em>]</em><em>, </em><em>List</em><em>[</em><a class="reference internal" href="tir/tir.html#tvm.tir.Any" title="tvm.tir.Any"><em>Any</em></a><em>]</em><em>]</em>) – The args of the function.</p></li>
<li><p><strong>compute_dag</strong> (<a class="reference internal" href="#tvm.auto_scheduler.ComputeDAG" title="tvm.auto_scheduler.ComputeDAG"><em>ComputeDAG</em></a>) – The ComputeDAG for the corresponding compute declaration.</p></li>
-<li><p><strong>workload_key</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The workload key for the corresponding compute declaration.</p></li>
+<li><p><strong>workload_key</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The workload key for the corresponding compute declaration.</p></li>
<li><p><strong>target</strong> (<em>any target-like object</em><em>, </em><em>see Target.canon_target</em>) – The target device of this search task.</p></li>
-<li><p><strong>target_host</strong> (<a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.12)"><em>None</em></a><em> or </em><em>any target-like object</em><em>, </em><em>see Target.canon_target</em>) – The target host device of this search task.</p></li>
+<li><p><strong>target_host</strong> (<a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><em>None</em></a><em> or </em><em>any target-like object</em><em>, </em><em>see Target.canon_target</em>) – The target host device of this search task.</p></li>
<li><p><strong>hardware_params</strong> (<em>Optional</em><em>[</em><a class="reference internal" href="#tvm.auto_scheduler.HardwareParams" title="tvm.auto_scheduler.HardwareParams"><em>HardwareParams</em></a><em>]</em>) – Hardware parameters used in this search task.</p></li>
<li><p><strong>layout_rewrite_option</strong> (<em>Optional</em><em>[</em><a class="reference internal" href="#tvm.auto_scheduler.LayoutRewriteOption" title="tvm.auto_scheduler.LayoutRewriteOption"><em>LayoutRewriteOption</em></a><em>]</em>) – The layout rewrite option used for measuring programs. If None, the default value will be
set depending on the specified target.
@@ -1823,7 +1823,7 @@ Auto_scheduler will find a better schedule for the specified layout rewrite opti
The NO_REWRITE and INSERT_TRANSFORM_STAGE are expected to be used when tuning a standalone
op, and the REWRITE_FOR_PRE_TRANSFORMED is expected to be used when tuning ops inside a
network.</p></li>
-<li><p><strong>task_inputs</strong> (<em>Union</em><em>[</em><em>Dict</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><em>tvm.nd.NDArray</em><em>]</em><em>, </em><em>List</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em><em>]</em>) – A dict maps the input names to input tensors [...]
+<li><p><strong>task_inputs</strong> (<em>Union</em><em>[</em><em>Dict</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><em>tvm.nd.NDArray</em><em>]</em><em>, </em><em>List</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em><em>]</em>) – A dict maps the input names to input tensors [...]
Some special Tensor used as inputs in program measuring. Usually we do not need to care
about it, but for special workloads like Sparse computation the Sparse Tensor input are
meaningful that we cannot use random input directly.</p></li>
@@ -1886,8 +1886,8 @@ tuning process.</p></li>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>log_file</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The name of the log file.</p></li>
-<li><p><strong>include_compatible</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a>) – When set to True, all compatible records in the log file will be considered.</p></li>
+<li><p><strong>log_file</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The name of the log file.</p></li>
+<li><p><strong>include_compatible</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – When set to True, all compatible records in the log file will be considered.</p></li>
<li><p><strong>layout_rewrite_option</strong> (<em>Optional</em><em>[</em><a class="reference internal" href="#tvm.auto_scheduler.LayoutRewriteOption" title="tvm.auto_scheduler.LayoutRewriteOption"><em>LayoutRewriteOption</em></a><em>]</em>) – The layout rewrite option.</p></li>
</ul>
</dd>
@@ -1907,8 +1907,8 @@ tuning process.</p></li>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>log_file</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The name of the log file</p></li>
-<li><p><strong>print_mode</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – if “schedule”, print the best schedule as python schedule API code.
+<li><p><strong>log_file</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The name of the log file</p></li>
+<li><p><strong>print_mode</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – if “schedule”, print the best schedule as python schedule API code.
if “cuda”, print the best schedule as CUDA source code.</p></li>
</ul>
</dd>
@@ -1916,7 +1916,7 @@ if “cuda”, print the best schedule as CUDA source code.</p></li>
<dd class="field-even"><p><strong>code</strong> – The best schedule code in python API or CUDA source code</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)">str</a></p>
+<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)">str</a></p>
</dd>
</dl>
</dd></dl>
@@ -1935,13 +1935,13 @@ The search policy measures <cite>num_measure_trials</cite> schedules in total an
among them.
With <cite>num_measure_trials</cite> == 0, the policy will do the schedule search but won’t involve
measurement. This can be used to get a runnable schedule quickly without auto-tuning.</p></li>
-<li><p><strong>early_stopping</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>]</em>) – Stop the tuning early if getting no improvement after n measurements.</p></li>
+<li><p><strong>early_stopping</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>]</em>) – Stop the tuning early if getting no improvement after n measurements.</p></li>
<li><p><strong>num_measures_per_round</strong> (<em>int = 64</em>) – The number of schedules to be measured at each search round.
The whole schedule search process will try a total number of <cite>num_measure_trials</cite> in several
rounds.</p></li>
<li><p><strong>verbose</strong> (<em>int = 1</em>) – Verbosity level. 0 for silent, 1 to output information during schedule search.</p></li>
-<li><p><strong>builder</strong> (<em>Union</em><em>[</em><em>ProgramBuilder</em><em>, </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>] </em><em>= 'local'</em>) – ProgramBuilder which builds the program.</p></li>
-<li><p><strong>runner</strong> (<em>Union</em><em>[</em><em>ProgramRunner</em><em>, </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>] </em><em>= 'local'</em>) – ProgramRunner which runs the program and measures time costs.</p></li>
+<li><p><strong>builder</strong> (<em>Union</em><em>[</em><em>ProgramBuilder</em><em>, </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>] </em><em>= 'local'</em>) – ProgramBuilder which builds the program.</p></li>
+<li><p><strong>runner</strong> (<em>Union</em><em>[</em><em>ProgramRunner</em><em>, </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>] </em><em>= 'local'</em>) – ProgramRunner which runs the program and measures time costs.</p></li>
<li><p><strong>measure_callbacks</strong> (<em>Optional</em><em>[</em><em>List</em><em>[</em><a class="reference internal" href="meta_schedule.html#tvm.meta_schedule.MeasureCallback" title="tvm.meta_schedule.MeasureCallback"><em>MeasureCallback</em></a><em>]</em><em>]</em>) – Callback functions called after each measurement.
Candidates:
- auto_scheduler.RecordToFile</p></li>
@@ -1952,7 +1952,7 @@ Candidates:
<dl class="py function">
<dt class="sig sig-object py" id="tvm.auto_scheduler.auto_schedule">
-<span class="sig-prename descclassname"><span class="pre">tvm.auto_scheduler.</span></span><span class="sig-name descname"><span class="pre">auto_schedule</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">task</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">search_policy</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em clas [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.auto_scheduler.</span></span><span class="sig-name descname"><span class="pre">auto_schedule</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">task</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">search_policy</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em clas [...]
<dd><p>THIS API IS DEPRECATED.</p>
<p>Run auto scheduling search for a task.</p>
<dl class="field-list simple">
@@ -1980,11 +1980,11 @@ Candidates:
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>func</strong> (<em>Union</em><em>[</em><a class="reference internal" href="relax/relax.html#tvm.relax.Function" title="tvm.relax.Function"><em>Function</em></a><em>, </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em>) – The function that returns the compute declaration Tensors.
+<li><p><strong>func</strong> (<em>Union</em><em>[</em><a class="reference internal" href="relax/relax.html#tvm.relax.Function" title="tvm.relax.Function"><em>Function</em></a><em>, </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em>) – The function that returns the compute declaration Tensors.
Can be the a function or the function name.</p></li>
<li><p><strong>args</strong> (<em>Union</em><em>[</em><a class="reference internal" href="relax/relax.html#tvm.relax.Tuple" title="tvm.relax.Tuple"><em>Tuple</em></a><em>[</em><a class="reference internal" href="tir/tir.html#tvm.tir.Any" title="tvm.tir.Any"><em>Any</em></a><em>, </em><em>...</em><em>]</em><em>, </em><em>List</em><em>[</em><a class="reference internal" href="tir/tir.html#tvm.tir.Any" title="tvm.tir.Any"><em>Any</em></a><em>]</em><em>]</em>) – The args of the function.</p></li>
-<li><p><strong>target</strong> (<em>Union</em><em>[</em><a class="reference internal" href="target.html#tvm.target.Target" title="tvm.target.Target"><em>tvm.target.Target</em></a><em>, </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em>) – The target device of this search task.</p></li>
-<li><p><strong>target_host</strong> (<em>Optional</em><em>[</em><em>Union</em><em>[</em><a class="reference internal" href="target.html#tvm.target.Target" title="tvm.target.Target"><em>tvm.target.Target</em></a><em>, </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em><em>]</em>) – The target host device of this search task.</p></li>
+<li><p><strong>target</strong> (<em>Union</em><em>[</em><a class="reference internal" href="target.html#tvm.target.Target" title="tvm.target.Target"><em>tvm.target.Target</em></a><em>, </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em>) – The target device of this search task.</p></li>
+<li><p><strong>target_host</strong> (<em>Optional</em><em>[</em><em>Union</em><em>[</em><a class="reference internal" href="target.html#tvm.target.Target" title="tvm.target.Target"><em>tvm.target.Target</em></a><em>, </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em><em>]</em>) – The target host device of this search task.</p></li>
<li><p><strong>hardware_params</strong> (<em>Optional</em><em>[</em><a class="reference internal" href="#tvm.auto_scheduler.HardwareParams" title="tvm.auto_scheduler.HardwareParams"><em>HardwareParams</em></a><em>]</em>) – Hardware parameters used in this search task.</p></li>
</ul>
</dd>
@@ -1999,29 +1999,29 @@ Can be the a function or the function name.</p></li>
<dl class="py class">
<dt class="sig sig-object py" id="tvm.auto_scheduler.TaskScheduler">
-<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.auto_scheduler.</span></span><span class="sig-name descname"><span class="pre">TaskScheduler</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">tasks</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">task_weights</span></span><span class="o"><span class="pre">=</span></span><span class="default_v [...]
+<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.auto_scheduler.</span></span><span class="sig-name descname"><span class="pre">TaskScheduler</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">tasks</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">task_weights</span></span><span class="o"><span class="pre">=</span></span><span class="default_v [...]
<dd><p>Allocate the time resources when tuning multiple tasks together.
This implements two strategies: “round-robin” and “gradient”.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>tasks</strong> (<em>List</em><em>[</em><a class="reference internal" href="#tvm.auto_scheduler.SearchTask" title="tvm.auto_scheduler.SearchTask"><em>SearchTask</em></a><em>]</em>) – All tasks to tune</p></li>
-<li><p><strong>task_weights</strong> (<em>Optional</em><em>[</em><em>List</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.12)"><em>float</em></a><em>]</em><em>]</em>) – The weights of tasks.
+<li><p><strong>task_weights</strong> (<em>Optional</em><em>[</em><em>List</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.13)"><em>float</em></a><em>]</em><em>]</em>) – The weights of tasks.
If provided, the task scheduler will set the objective function to
sum(weight[t] * latency[t]), where weight[t] is the weight of a task
and the lantecy[t] is the lantecy of the task.
If not provided, the task scheduer will assign equal weights to all
tasks (i.e., the objective function is sum(latency[t])).</p></li>
-<li><p><strong>objective_func</strong> (<em>Optional</em><em>[</em><em>Callable</em><em>[</em><em>List</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.12)"><em>float</em></a><em>] </em><em>-> float</em><em>]</em><em>]</em>) – The objective function to be minimized.
+<li><p><strong>objective_func</strong> (<em>Optional</em><em>[</em><em>Callable</em><em>[</em><em>List</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.13)"><em>float</em></a><em>] </em><em>-> float</em><em>]</em><em>]</em>) – The objective function to be minimized.
The objective function accepts the current latencies of all tasks and returns the
objective.
If not provided, the objective is the weighted sum of the latencies of all tasks.</p></li>
<li><p><strong>strategy</strong> (<em>str = "gradient"</em>) – The scheduling strategy.
“round-robin”: Tune tasks in round robin order.
“gradient” : Tune tasks with gradient descent.</p></li>
-<li><p><strong>load_model_file</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em>) – Load pre-trained model from this file. If this is None, the cost model will
+<li><p><strong>load_model_file</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em>) – Load pre-trained model from this file. If this is None, the cost model will
be trained from scratch.</p></li>
-<li><p><strong>load_log_file</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em>) – Load measurement records from this file. If it is not None, the status of the
+<li><p><strong>load_log_file</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em>) – Load measurement records from this file. If it is not None, the status of the
task scheduler, search policies and cost models will be restored according to this file.</p></li>
<li><p><strong>verbose</strong> (<em>int = 1</em>) – The level of verbosity. 0 means silent.</p></li>
<li><p><strong>alpha</strong> (<em>float = 0.2</em>) – The parameter used for ‘gradient’ strategy</p></li>
@@ -2052,15 +2052,15 @@ If None, PrintTableInfo and LogEstimatedLatency callback will be used.</p></li>
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>tune_option</strong> (<a class="reference internal" href="#tvm.auto_scheduler.TuningOptions" title="tvm.auto_scheduler.TuningOptions"><em>TuningOptions</em></a>) – The tuning options applied to all tasks.</p></li>
-<li><p><strong>search_policy</strong> (<em>: Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><em>List</em><em>[</em><em>SearchPolicy</em><em>]</em><em>] </em><em>= "default"</em>) – The list of search policies.
+<li><p><strong>search_policy</strong> (<em>: Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><em>List</em><em>[</em><em>SearchPolicy</em><em>]</em><em>] </em><em>= "default"</em>) – The list of search policies.
If it is str,
“default” for the default policy (SketchPolicy + XGBModel),
“sketch.xgb” for SketchPolicy + XGBModel,
“sketch.random” for SketchPolicy + RandomModel.</p></li>
-<li><p><strong>search_policy_params</strong> (<em>Optional</em><em>[</em><em>Dict</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><a class="reference internal" href="tir/tir.html#tvm.tir.Any" title="tvm.tir.Any"><em>Any</em></a><em>]</em><em>]</em>) – The parameters of the search policy</p></li>
+<li><p><strong>search_policy_params</strong> (<em>Optional</em><em>[</em><em>Dict</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><a class="reference internal" href="tir/tir.html#tvm.tir.Any" title="tvm.tir.Any"><em>Any</em></a><em>]</em><em>]</em>) – The parameters of the search policy</p></li>
<li><p><strong>adaptive_training</strong> (<em>bool = False</em>) – Option used by XGBModel to reduce the model training frequency when there’re
too many logs.</p></li>
-<li><p><strong>per_task_early_stopping</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>]</em>) – Stop tuning a task early if getting no improvement after n measurements.</p></li>
+<li><p><strong>per_task_early_stopping</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>]</em>) – Stop tuning a task early if getting no improvement after n measurements.</p></li>
</ul>
</dd>
</dl>
@@ -2075,7 +2075,7 @@ too many logs.</p></li>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>func</strong> (<em>Union</em><em>[</em><a class="reference internal" href="relax/relax.html#tvm.relax.Function" title="tvm.relax.Function"><em>Function</em></a><em>, </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em>) – The function that returns the compute declaration Tensors.
+<li><p><strong>func</strong> (<em>Union</em><em>[</em><a class="reference internal" href="relax/relax.html#tvm.relax.Function" title="tvm.relax.Function"><em>Function</em></a><em>, </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em>) – The function that returns the compute declaration Tensors.
Can be the a function or the function name.</p></li>
<li><p><strong>args</strong> (<em>Args</em>) – The args of the function.</p></li>
</ul>
@@ -2084,7 +2084,7 @@ Can be the a function or the function name.</p></li>
<dd class="field-even"><p><strong>workload_key</strong> – The workload key of the function.</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)">str</a></p>
+<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)">str</a></p>
</dd>
</dl>
</dd></dl>
@@ -2098,7 +2098,7 @@ Can be the a function or the function name.</p></li>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>func_name</strong> (<em>Union</em><em>[</em><a class="reference internal" href="relax/relax.html#tvm.relax.Function" title="tvm.relax.Function"><em>Function</em></a><em>, </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em>) – The generation function that returns the compute declaration Tensors or its function name.</p></li>
+<li><p><strong>func_name</strong> (<em>Union</em><em>[</em><a class="reference internal" href="relax/relax.html#tvm.relax.Function" title="tvm.relax.Function"><em>Function</em></a><em>, </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em>) – The generation function that returns the compute declaration Tensors or its function name.</p></li>
<li><p><strong>f</strong> (<em>Optional</em><em>[</em><a class="reference internal" href="relax/relax.html#tvm.relax.Function" title="tvm.relax.Function"><em>Function</em></a><em>]</em>) – The generation function to be registered.</p></li>
<li><p><strong>override</strong> (<em>boolean = False</em>) – Whether to override existing entry.</p></li>
</ul>
diff --git a/docs/reference/api/python/autotvm.html b/docs/reference/api/python/autotvm.html
index 90168912da..36fa996250 100644
--- a/docs/reference/api/python/autotvm.html
+++ b/docs/reference/api/python/autotvm.html
@@ -446,11 +446,11 @@
</ul>
<dl class="py function">
<dt class="sig sig-object py" id="tvm.autotvm.apply_history_best">
-<span class="sig-prename descclassname"><span class="pre">tvm.autotvm.</span></span><span class="sig-name descname"><span class="pre">apply_history_best</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">records</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Union</span><span class="p"><span class="pre">[</span></span><a class="reference external" href="https://docs.python.org/3/library/co [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.autotvm.</span></span><span class="sig-name descname"><span class="pre">apply_history_best</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">records</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Union</span><span class="p"><span class="pre">[</span></span><a class="reference external" href="https://docs.python.org/3/library/co [...]
<dd><p>Apply the history best config</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>records</strong> (<a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.12)"><em>None</em></a><em>, </em><em>Records</em><em>, or </em><em>iterator of Records objects</em><em>, </em><em>where a</em>) – <dl class="simple">
+<dd class="field-odd"><p><strong>records</strong> (<a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><em>None</em></a><em>, </em><em>Records</em><em>, or </em><em>iterator of Records objects</em><em>, </em><em>where a</em>) – <dl class="simple">
<dt>Records object is a path-like object, a file-like object,</dt><dd><p>or an iterator of (MeasureInput, MeasureResult).</p>
</dd>
</dl>
@@ -488,9 +488,9 @@ contents will be merged.</p>
<dd class="field-odd"><ul class="simple">
<li><p><strong>costs</strong> (<em>Array of float</em><em> or </em><em>Array of Exception</em>) – If no error occurs during measurement, it is an array of measured running times.
If an error occurs during measurement, it is an array of the exception objections.</p></li>
-<li><p><strong>error_no</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – Denote error type, defined by MeasureErrorNo</p></li>
-<li><p><strong>all_cost</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.12)"><em>float</em></a>) – All cost of this measure, including rpc, compilation, test runs</p></li>
-<li><p><strong>timestamp</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.12)"><em>float</em></a>) – The absolute time stamp when we finish measurement.</p></li>
+<li><p><strong>error_no</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – Denote error type, defined by MeasureErrorNo</p></li>
+<li><p><strong>all_cost</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.13)"><em>float</em></a>) – All cost of this measure, including rpc, compilation, test runs</p></li>
+<li><p><strong>timestamp</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.13)"><em>float</em></a>) – The absolute time stamp when we finish measurement.</p></li>
</ul>
</dd>
</dl>
@@ -544,7 +544,7 @@ The typical value for NVIDIA GPU is 150 ms.</p>
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>task</strong> (<em>tvm.autotvm.task.Task</em>) – The tuning task</p></li>
-<li><p><strong>option</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#dict" title="(in Python v3.12)"><em>dict</em></a>) – The option for measuring generated code.
+<li><p><strong>option</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#dict" title="(in Python v3.13)"><em>dict</em></a>) – The option for measuring generated code.
You should use the return value of function <a class="reference internal" href="#tvm.autotvm.measure.measure_option" title="tvm.autotvm.measure.measure_option"><code class="xref any py py-func docutils literal notranslate"><span class="pre">measure_option</span></code></a> for this argument.</p></li>
</ul>
</dd>
@@ -564,15 +564,15 @@ You should use the return value of function <a class="reference internal" href="
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>timeout</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.12)"><em>float</em></a>) – The timeout of a compilation</p></li>
-<li><p><strong>n_parallel</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – The number of tasks run in parallel. “None” will use all cpu cores</p></li>
-<li><p><strong>build_kwargs</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#dict" title="(in Python v3.12)"><em>dict</em></a>) – If supplied, additional kwargs passed to build_func. Overrides any build_kwargs supplied
+<li><p><strong>timeout</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.13)"><em>float</em></a>) – The timeout of a compilation</p></li>
+<li><p><strong>n_parallel</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – The number of tasks run in parallel. “None” will use all cpu cores</p></li>
+<li><p><strong>build_kwargs</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#dict" title="(in Python v3.13)"><em>dict</em></a>) – If supplied, additional kwargs passed to build_func. Overrides any build_kwargs supplied
by the Runner.</p></li>
-<li><p><strong>build_func</strong> (<em>callable</em><em> or </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – If is ‘default’, use default build function
+<li><p><strong>build_func</strong> (<em>callable</em><em> or </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – If is ‘default’, use default build function
If is ‘ndk’, use function for android ndk
If id ‘stackvm’, use function for stackvm
If is callable, use it as custom build function, expect lib_format field.</p></li>
-<li><p><strong>do_fork</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a>) – If False, do not fork when building. Requires n_parallel=1.</p></li>
+<li><p><strong>do_fork</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – If False, do not fork when building. Requires n_parallel=1.</p></li>
<li><p><strong>runtime</strong> (<em>Optional</em><em>[</em><em>Runtime</em><em>]</em>) – Specify the runtime to generate artifacts for</p></li>
</ul>
</dd>
@@ -587,26 +587,26 @@ This function will ask a RPC Tracker to get device for measurement.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>timeout</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.12)"><em>float</em></a>) – The timeout of a RPCRunner measurement task</p></li>
-<li><p><strong>n_parallel</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – The number of tasks run in parallel. “None” will use all cpu cores</p></li>
-<li><p><strong>key</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The key of the device registered in the tracker</p></li>
-<li><p><strong>host</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The host address of RPC Tracker</p></li>
-<li><p><strong>port</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – The port of RPC Tracker</p></li>
-<li><p><strong>number</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – The number of times to run the generated code for taking average.
+<li><p><strong>timeout</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.13)"><em>float</em></a>) – The timeout of a RPCRunner measurement task</p></li>
+<li><p><strong>n_parallel</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – The number of tasks run in parallel. “None” will use all cpu cores</p></li>
+<li><p><strong>key</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The key of the device registered in the tracker</p></li>
+<li><p><strong>host</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The host address of RPC Tracker</p></li>
+<li><p><strong>port</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – The port of RPC Tracker</p></li>
+<li><p><strong>number</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – The number of times to run the generated code for taking average.
We call these runs as one <cite>repeat</cite> of measurement.</p></li>
-<li><p><strong>repeat</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>, </em><em>optional</em>) – The number of times to repeat the measurement.
+<li><p><strong>repeat</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>, </em><em>optional</em>) – The number of times to repeat the measurement.
In total, the generated code will be run (1 + number x repeat) times,
where the first “1” is warm up and will be discarded.
The returned result contains <cite>repeat</cite> costs,
each of which is an average of <cite>number</cite> costs.</p></li>
-<li><p><strong>min_repeat_ms</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>, </em><em>optional</em>) – The minimum duration of one <cite>repeat</cite> in milliseconds.
+<li><p><strong>min_repeat_ms</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>, </em><em>optional</em>) – The minimum duration of one <cite>repeat</cite> in milliseconds.
By default, one <cite>repeat</cite> contains <cite>number</cite> runs. If this parameter is set,
the parameters <cite>number</cite> will be dynamically adjusted to meet the
minimum duration requirement of one <cite>repeat</cite>.
i.e., When the run time of one <cite>repeat</cite> falls below this time, the <cite>number</cite> parameter
will be automatically increased.</p></li>
-<li><p><strong>cooldown_interval</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.12)"><em>float</em></a><em>, </em><em>optional</em>) – The cool down interval between two measurements.</p></li>
-<li><p><strong>enable_cpu_cache_flush</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a>) – Whether to flush cache on CPU between repeated measurements.
+<li><p><strong>cooldown_interval</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.13)"><em>float</em></a><em>, </em><em>optional</em>) – The cool down interval between two measurements.</p></li>
+<li><p><strong>enable_cpu_cache_flush</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – Whether to flush cache on CPU between repeated measurements.
Flushing cache can make the measured latency of one operator closer to
its actual latency during end-to-end inference.
To make this option effective, the argument <cite>number</cite> should also be set to 1.
@@ -625,22 +625,22 @@ If not given, default_module_loader is used.</p></li>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>timeout</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.12)"><em>float</em></a>) – The timeout of a compilation</p></li>
-<li><p><strong>number</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – The number of times to run the generated code for taking average.
+<li><p><strong>timeout</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.13)"><em>float</em></a>) – The timeout of a compilation</p></li>
+<li><p><strong>number</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – The number of times to run the generated code for taking average.
We call these runs as one <cite>repeat</cite> of measurement.</p></li>
-<li><p><strong>repeat</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>, </em><em>optional</em>) – The number of times to repeat the measurement.
+<li><p><strong>repeat</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>, </em><em>optional</em>) – The number of times to repeat the measurement.
In total, the generated code will be run (1 + number x repeat) times,
where the first one is warm up and will be discarded.
The returned result contains <cite>repeat</cite> costs,
each of which is an average of <cite>number</cite> costs.</p></li>
-<li><p><strong>min_repeat_ms</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>, </em><em>optional</em>) – The minimum duration of one <cite>repeat</cite> in milliseconds.
+<li><p><strong>min_repeat_ms</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>, </em><em>optional</em>) – The minimum duration of one <cite>repeat</cite> in milliseconds.
By default, one <cite>repeat</cite> contains <cite>number</cite> runs. If this parameter is set,
the parameters <cite>number</cite> will be dynamically adjusted to meet the
minimum duration requirement of one <cite>repeat</cite>.
i.e., When the run time of one <cite>repeat</cite> falls below this time, the <cite>number</cite> parameter
will be automatically increased.</p></li>
-<li><p><strong>cooldown_interval</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.12)"><em>float</em></a><em>, </em><em>optional</em>) – The cool down interval between two measurements.</p></li>
-<li><p><strong>enable_cpu_cache_flush</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a>) – Whether to flush cache on CPU between repeated measurements.
+<li><p><strong>cooldown_interval</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.13)"><em>float</em></a><em>, </em><em>optional</em>) – The cool down interval between two measurements.</p></li>
+<li><p><strong>enable_cpu_cache_flush</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – Whether to flush cache on CPU between repeated measurements.
Flushing cache can make the measured latency of one operator closer to
its actual latency during end-to-end inference.
To make this option effective, the argument <cite>number</cite> should also be set to 1.
@@ -680,7 +680,7 @@ This tuning loop is repeated.</p>
<dd class="field-odd"><p><strong>has_next</strong></p>
</dd>
<dt class="field-even">Return type</dt>
-<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)">bool</a></p>
+<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)">bool</a></p>
</dd>
</dl>
</dd></dl>
@@ -691,7 +691,7 @@ This tuning loop is repeated.</p>
<dd><p>get the next batch of configs to be measure on real hardware</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>batch_size</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – The size of the batch</p>
+<dd class="field-odd"><p><strong>batch_size</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – The size of the batch</p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p></p>
@@ -723,15 +723,15 @@ This tuning loop is repeated.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>n_trial</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – Maximum number of configs to try (measure on real hardware)</p></li>
-<li><p><strong>measure_option</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#dict" title="(in Python v3.12)"><em>dict</em></a>) – The options for how to measure generated code.
+<li><p><strong>n_trial</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – Maximum number of configs to try (measure on real hardware)</p></li>
+<li><p><strong>measure_option</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#dict" title="(in Python v3.13)"><em>dict</em></a>) – The options for how to measure generated code.
You should use the return value ot autotvm.measure_option for this argument.</p></li>
-<li><p><strong>early_stopping</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>, </em><em>optional</em>) – Early stop the tuning when not finding better configs in this number of trials</p></li>
+<li><p><strong>early_stopping</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>, </em><em>optional</em>) – Early stop the tuning when not finding better configs in this number of trials</p></li>
<li><p><strong>callbacks</strong> (<em>List of callable</em>) – A list of callback functions. The signature of callback function is
(Tuner, List of MeasureInput, List of MeasureResult)
with no return value. These callback functions will be called on
every measurement pair. See autotvm/tuner/callback.py for some examples.</p></li>
-<li><p><strong>si_prefix</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – One of tvm.autotvm.utils.SI_PREFIXES. The SI prefix to use when reporting FLOPS.</p></li>
+<li><p><strong>si_prefix</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – One of tvm.autotvm.utils.SI_PREFIXES. The SI prefix to use when reporting FLOPS.</p></li>
</ul>
</dd>
</dl>
@@ -751,7 +751,7 @@ every measurement pair. See autotvm/tuner/callback.py for some examples.</p></li
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>data_set</strong> (<em>Array of</em><em> (</em><a class="reference internal" href="#tvm.autotvm.measure.MeasureInput" title="tvm.autotvm.measure.MeasureInput"><em>autotvm.measure.MeasureInput</em></a><em>, </em><a class="reference internal" href="#tvm.autotvm.measure.MeasureResult" title="tvm.autotvm.measure.MeasureResult"><em>autotvm.measure.MeasureResult</em></a><em>) </em><em>pair</em>) – Previous tuning records</p></li>
-<li><p><strong>min_seed_records</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – Defaults to 500. Indicates the minimum number of records to
+<li><p><strong>min_seed_records</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – Defaults to 500. Indicates the minimum number of records to
train the tuner with. If there are less than <cite>min_seed_records</cite>
number of records in <cite>data_set</cite>, no training of the tuner
will be done.</p></li>
@@ -781,7 +781,7 @@ will be done.</p></li>
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>task</strong> (<em>autotvm.task.Task</em>) – Tuning Task</p></li>
-<li><p><strong>range_idx</strong> (<em>Optional</em><em>[</em><a class="reference internal" href="relax/relax.html#tvm.relax.Tuple" title="tvm.relax.Tuple"><em>Tuple</em></a><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>, </em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>]</em><em>]</em>) – A tuple o [...]
+<li><p><strong>range_idx</strong> (<em>Optional</em><em>[</em><a class="reference internal" href="relax/relax.html#tvm.relax.Tuple" title="tvm.relax.Tuple"><em>Tuple</em></a><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>, </em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>]</em><em>]</em>) – A tuple o [...]
</ul>
</dd>
</dl>
@@ -794,7 +794,7 @@ will be done.</p></li>
<dd class="field-odd"><p><strong>has_next</strong></p>
</dd>
<dt class="field-even">Return type</dt>
-<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)">bool</a></p>
+<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)">bool</a></p>
</dd>
</dl>
</dd></dl>
@@ -807,7 +807,7 @@ will be done.</p></li>
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>data_set</strong> (<em>Array of</em><em> (</em><a class="reference internal" href="#tvm.autotvm.measure.MeasureInput" title="tvm.autotvm.measure.MeasureInput"><em>autotvm.measure.MeasureInput</em></a><em>, </em><a class="reference internal" href="#tvm.autotvm.measure.MeasureResult" title="tvm.autotvm.measure.MeasureResult"><em>autotvm.measure.MeasureResult</em></a><em>) </em><em>pair</em>) – Previous tuning records</p></li>
-<li><p><strong>min_seed_records</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – Defaults to 500. Indicates the minimum number of records to
+<li><p><strong>min_seed_records</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – Defaults to 500. Indicates the minimum number of records to
train the tuner with. If there are less than <cite>min_seed_records</cite>
number of records in <cite>data_set</cite>, no training of the tuner
will be done.</p></li>
@@ -822,7 +822,7 @@ will be done.</p></li>
<dd><p>get the next batch of configs to be measure on real hardware</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>batch_size</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – The size of the batch</p>
+<dd class="field-odd"><p><strong>batch_size</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – The size of the batch</p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p></p>
@@ -857,15 +857,15 @@ will be done.</p></li>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>n_trial</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – Maximum number of configs to try (measure on real hardware)</p></li>
-<li><p><strong>measure_option</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#dict" title="(in Python v3.12)"><em>dict</em></a>) – The options for how to measure generated code.
+<li><p><strong>n_trial</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – Maximum number of configs to try (measure on real hardware)</p></li>
+<li><p><strong>measure_option</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#dict" title="(in Python v3.13)"><em>dict</em></a>) – The options for how to measure generated code.
You should use the return value ot autotvm.measure_option for this argument.</p></li>
-<li><p><strong>early_stopping</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>, </em><em>optional</em>) – Early stop the tuning when not finding better configs in this number of trials</p></li>
+<li><p><strong>early_stopping</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>, </em><em>optional</em>) – Early stop the tuning when not finding better configs in this number of trials</p></li>
<li><p><strong>callbacks</strong> (<em>List of callable</em>) – A list of callback functions. The signature of callback function is
(Tuner, List of MeasureInput, List of MeasureResult)
with no return value. These callback functions will be called on
every measurement pair. See autotvm/tuner/callback.py for some examples.</p></li>
-<li><p><strong>si_prefix</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – One of tvm.autotvm.utils.SI_PREFIXES. The SI prefix to use when reporting FLOPS.</p></li>
+<li><p><strong>si_prefix</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – One of tvm.autotvm.utils.SI_PREFIXES. The SI prefix to use when reporting FLOPS.</p></li>
</ul>
</dd>
</dl>
@@ -897,7 +897,7 @@ every measurement pair. See autotvm/tuner/callback.py for some examples.</p></li
<dd><p>get the next batch of configs to be measure on real hardware</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>batch_size</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – The size of the batch</p>
+<dd class="field-odd"><p><strong>batch_size</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – The size of the batch</p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p></p>
@@ -917,7 +917,7 @@ every measurement pair. See autotvm/tuner/callback.py for some examples.</p></li
<dd class="field-odd"><p><strong>has_next</strong></p>
</dd>
<dt class="field-even">Return type</dt>
-<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)">bool</a></p>
+<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)">bool</a></p>
</dd>
</dl>
</dd></dl>
@@ -930,7 +930,7 @@ every measurement pair. See autotvm/tuner/callback.py for some examples.</p></li
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>data_set</strong> (<em>Array of</em><em> (</em><a class="reference internal" href="#tvm.autotvm.measure.MeasureInput" title="tvm.autotvm.measure.MeasureInput"><em>autotvm.measure.MeasureInput</em></a><em>, </em><a class="reference internal" href="#tvm.autotvm.measure.MeasureResult" title="tvm.autotvm.measure.MeasureResult"><em>autotvm.measure.MeasureResult</em></a><em>) </em><em>pair</em>) – Previous tuning records</p></li>
-<li><p><strong>min_seed_records</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – Defaults to 500. Indicates the minimum number of records to
+<li><p><strong>min_seed_records</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – Defaults to 500. Indicates the minimum number of records to
train the tuner with. If there are less than <cite>min_seed_records</cite>
number of records in <cite>data_set</cite>, no training of the tuner
will be done.</p></li>
@@ -963,15 +963,15 @@ will be done.</p></li>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>n_trial</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – Maximum number of configs to try (measure on real hardware)</p></li>
-<li><p><strong>measure_option</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#dict" title="(in Python v3.12)"><em>dict</em></a>) – The options for how to measure generated code.
+<li><p><strong>n_trial</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – Maximum number of configs to try (measure on real hardware)</p></li>
+<li><p><strong>measure_option</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#dict" title="(in Python v3.13)"><em>dict</em></a>) – The options for how to measure generated code.
You should use the return value ot autotvm.measure_option for this argument.</p></li>
-<li><p><strong>early_stopping</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>, </em><em>optional</em>) – Early stop the tuning when not finding better configs in this number of trials</p></li>
+<li><p><strong>early_stopping</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>, </em><em>optional</em>) – Early stop the tuning when not finding better configs in this number of trials</p></li>
<li><p><strong>callbacks</strong> (<em>List of callable</em>) – A list of callback functions. The signature of callback function is
(Tuner, List of MeasureInput, List of MeasureResult)
with no return value. These callback functions will be called on
every measurement pair. See autotvm/tuner/callback.py for some examples.</p></li>
-<li><p><strong>si_prefix</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – One of tvm.autotvm.utils.SI_PREFIXES. The SI prefix to use when reporting FLOPS.</p></li>
+<li><p><strong>si_prefix</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – One of tvm.autotvm.utils.SI_PREFIXES. The SI prefix to use when reporting FLOPS.</p></li>
</ul>
</dd>
</dl>
@@ -1002,9 +1002,9 @@ This tuner expands the <code class="code docutils literal notranslate"><span cla
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>pop_size</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – number of genes in one generation</p></li>
-<li><p><strong>elite_num</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – number of elite to keep</p></li>
-<li><p><strong>mutation_prob</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.12)"><em>float</em></a>) – probability of mutation of a knob in a gene</p></li>
+<li><p><strong>pop_size</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – number of genes in one generation</p></li>
+<li><p><strong>elite_num</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – number of elite to keep</p></li>
+<li><p><strong>mutation_prob</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.13)"><em>float</em></a>) – probability of mutation of a knob in a gene</p></li>
</ul>
</dd>
</dl>
@@ -1014,7 +1014,7 @@ This tuner expands the <code class="code docutils literal notranslate"><span cla
<dd><p>get the next batch of configs to be measure on real hardware</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>batch_size</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – The size of the batch</p>
+<dd class="field-odd"><p><strong>batch_size</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – The size of the batch</p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p></p>
@@ -1048,7 +1048,7 @@ This tuner expands the <code class="code docutils literal notranslate"><span cla
<dd class="field-odd"><p><strong>has_next</strong></p>
</dd>
<dt class="field-even">Return type</dt>
-<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)">bool</a></p>
+<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)">bool</a></p>
</dd>
</dl>
</dd></dl>
@@ -1077,15 +1077,15 @@ This tuner expands the <code class="code docutils literal notranslate"><span cla
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>n_trial</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – Maximum number of configs to try (measure on real hardware)</p></li>
-<li><p><strong>measure_option</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#dict" title="(in Python v3.12)"><em>dict</em></a>) – The options for how to measure generated code.
+<li><p><strong>n_trial</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – Maximum number of configs to try (measure on real hardware)</p></li>
+<li><p><strong>measure_option</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#dict" title="(in Python v3.13)"><em>dict</em></a>) – The options for how to measure generated code.
You should use the return value ot autotvm.measure_option for this argument.</p></li>
-<li><p><strong>early_stopping</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>, </em><em>optional</em>) – Early stop the tuning when not finding better configs in this number of trials</p></li>
+<li><p><strong>early_stopping</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>, </em><em>optional</em>) – Early stop the tuning when not finding better configs in this number of trials</p></li>
<li><p><strong>callbacks</strong> (<em>List of callable</em>) – A list of callback functions. The signature of callback function is
(Tuner, List of MeasureInput, List of MeasureResult)
with no return value. These callback functions will be called on
every measurement pair. See autotvm/tuner/callback.py for some examples.</p></li>
-<li><p><strong>si_prefix</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – One of tvm.autotvm.utils.SI_PREFIXES. The SI prefix to use when reporting FLOPS.</p></li>
+<li><p><strong>si_prefix</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – One of tvm.autotvm.utils.SI_PREFIXES. The SI prefix to use when reporting FLOPS.</p></li>
</ul>
</dd>
</dl>
@@ -1099,7 +1099,7 @@ every measurement pair. See autotvm/tuner/callback.py for some examples.</p></li
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>data_set</strong> (<em>Array of</em><em> (</em><a class="reference internal" href="#tvm.autotvm.measure.MeasureInput" title="tvm.autotvm.measure.MeasureInput"><em>autotvm.measure.MeasureInput</em></a><em>, </em><a class="reference internal" href="#tvm.autotvm.measure.MeasureResult" title="tvm.autotvm.measure.MeasureResult"><em>autotvm.measure.MeasureResult</em></a><em>) </em><em>pair</em>) – Previous tuning records</p></li>
-<li><p><strong>min_seed_records</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – Defaults to 500. Indicates the minimum number of records to
+<li><p><strong>min_seed_records</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – Defaults to 500. Indicates the minimum number of records to
train the tuner with. If there are less than <cite>min_seed_records</cite>
number of records in <cite>data_set</cite>, no training of the tuner
will be done.</p></li>
@@ -1118,9 +1118,9 @@ will be done.</p></li>
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>task</strong> (<a class="reference internal" href="#tvm.autotvm.task.task.Task" title="tvm.autotvm.task.task.Task"><em>Task</em></a>) – The tuning task</p></li>
-<li><p><strong>plan_size</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – The size of a plan. After <cite>plan_size</cite> trials, the tuner will refit a new cost model
+<li><p><strong>plan_size</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – The size of a plan. After <cite>plan_size</cite> trials, the tuner will refit a new cost model
and do planing for the next <cite>plan_size</cite> trials.</p></li>
-<li><p><strong>feature_type</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><em>optional</em>) – <p>If is ‘itervar’, use features extracted from IterVar (loop variable).
+<li><p><strong>feature_type</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><em>optional</em>) – <p>If is ‘itervar’, use features extracted from IterVar (loop variable).
If is ‘knob’, use flatten ConfigEntity directly.
If is ‘curve’, use sampled curve feature (relation feature).</p>
<p>Note on choosing feature type:
@@ -1134,16 +1134,16 @@ you can switch to ‘knob’.</p>
‘knob’ is faster.</p>
<p>For cross-device or cross-operator tuning, you can use ‘curve’ only.</p>
</p></li>
-<li><p><strong>loss_type</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – If is ‘reg’, use regression loss to train cost model.
+<li><p><strong>loss_type</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – If is ‘reg’, use regression loss to train cost model.
The cost model predicts the normalized flops.
If is ‘rank’, use pairwise rank loss to train cost model.
The cost model predicts relative rank score.
If is ‘rank-binary’, use pairwise rank loss with binarized labels to train cost model.
The cost model predicts relative rank score.</p></li>
-<li><p><strong>num_threads</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>, </em><em>optional</em>) – The number of threads.</p></li>
-<li><p><strong>optimizer</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em> or </em><em>ModelOptimizer</em><em>, </em><em>optional</em>) – If is ‘sa’, use a default simulated annealing optimizer.
+<li><p><strong>num_threads</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>, </em><em>optional</em>) – The number of threads.</p></li>
+<li><p><strong>optimizer</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em> or </em><em>ModelOptimizer</em><em>, </em><em>optional</em>) – If is ‘sa’, use a default simulated annealing optimizer.
Otherwise it should be a ModelOptimizer object.</p></li>
-<li><p><strong>diversity_filter_ratio</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em> or </em><a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.12)"><em>float</em></a><em>, </em><em>optional</em>) – If is not None, the tuner will first select
+<li><p><strong>diversity_filter_ratio</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em> or </em><a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.13)"><em>float</em></a><em>, </em><em>optional</em>) – If is not None, the tuner will first select
top-(plan_size * diversity_filter_ratio) candidates according to the cost model
and then pick batch_size of them according to the diversity metric.</p></li>
<li><p><strong>log_interval</strong> (<em>int = 50</em>) – The verbose level.
@@ -1159,15 +1159,15 @@ Otherwise, output debug information every <cite>verbose</cite> iterations.</p></
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>n_trial</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – Maximum number of configs to try (measure on real hardware)</p></li>
-<li><p><strong>measure_option</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#dict" title="(in Python v3.12)"><em>dict</em></a>) – The options for how to measure generated code.
+<li><p><strong>n_trial</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – Maximum number of configs to try (measure on real hardware)</p></li>
+<li><p><strong>measure_option</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#dict" title="(in Python v3.13)"><em>dict</em></a>) – The options for how to measure generated code.
You should use the return value ot autotvm.measure_option for this argument.</p></li>
-<li><p><strong>early_stopping</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>, </em><em>optional</em>) – Early stop the tuning when not finding better configs in this number of trials</p></li>
+<li><p><strong>early_stopping</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>, </em><em>optional</em>) – Early stop the tuning when not finding better configs in this number of trials</p></li>
<li><p><strong>callbacks</strong> (<em>List of callable</em>) – A list of callback functions. The signature of callback function is
(Tuner, List of MeasureInput, List of MeasureResult)
with no return value. These callback functions will be called on
every measurement pair. See autotvm/tuner/callback.py for some examples.</p></li>
-<li><p><strong>si_prefix</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – One of tvm.autotvm.utils.SI_PREFIXES. The SI prefix to use when reporting FLOPS.</p></li>
+<li><p><strong>si_prefix</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – One of tvm.autotvm.utils.SI_PREFIXES. The SI prefix to use when reporting FLOPS.</p></li>
</ul>
</dd>
</dl>
@@ -1182,7 +1182,7 @@ every measurement pair. See autotvm/tuner/callback.py for some examples.</p></li
<dd class="field-odd"><p><strong>has_next</strong></p>
</dd>
<dt class="field-even">Return type</dt>
-<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)">bool</a></p>
+<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)">bool</a></p>
</dd>
</dl>
</dd></dl>
@@ -1195,7 +1195,7 @@ every measurement pair. See autotvm/tuner/callback.py for some examples.</p></li
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>data_set</strong> (<em>Array of</em><em> (</em><a class="reference internal" href="#tvm.autotvm.measure.MeasureInput" title="tvm.autotvm.measure.MeasureInput"><em>autotvm.measure.MeasureInput</em></a><em>, </em><a class="reference internal" href="#tvm.autotvm.measure.MeasureResult" title="tvm.autotvm.measure.MeasureResult"><em>autotvm.measure.MeasureResult</em></a><em>) </em><em>pair</em>) – Previous tuning records</p></li>
-<li><p><strong>min_seed_records</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – Defaults to 500. Indicates the minimum number of records to
+<li><p><strong>min_seed_records</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – Defaults to 500. Indicates the minimum number of records to
train the tuner with. If there are less than <cite>min_seed_records</cite>
number of records in <cite>data_set</cite>, no training of the tuner
will be done.</p></li>
@@ -1210,7 +1210,7 @@ will be done.</p></li>
<dd><p>get the next batch of configs to be measure on real hardware</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>batch_size</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – The size of the batch</p>
+<dd class="field-odd"><p><strong>batch_size</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – The size of the batch</p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p></p>
@@ -1263,8 +1263,8 @@ The rows of the log are stored in the format of autotvm.record.encode.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>file_out</strong> (<em>File</em><em> or </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The file to log to.</p></li>
-<li><p><strong>protocol</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><em>optional</em>) – The log protocol. Can be ‘json’ or ‘pickle’</p></li>
+<li><p><strong>file_out</strong> (<em>File</em><em> or </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The file to log to.</p></li>
+<li><p><strong>protocol</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><em>optional</em>) – The log protocol. Can be ‘json’ or ‘pickle’</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -1312,9 +1312,9 @@ The rows of the log are stored in the format of autotvm.record.encode.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>total</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – The total number of trials</p></li>
-<li><p><strong>prefix</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The prefix of output message</p></li>
-<li><p><strong>si_prefix</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – SI prefix for flops</p></li>
+<li><p><strong>total</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – The total number of trials</p></li>
+<li><p><strong>prefix</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The prefix of output message</p></li>
+<li><p><strong>si_prefix</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – SI prefix for flops</p></li>
</ul>
</dd>
</dl>
@@ -1363,7 +1363,7 @@ flatten te.tensor.Tensor to a tuple</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>task_name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The AutoTVM task name</p></li>
+<li><p><strong>task_name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The AutoTVM task name</p></li>
<li><p><strong>args</strong> (<em>list of args</em>) – The arguments to the function</p></li>
</ul>
</dd>
@@ -1383,7 +1383,7 @@ flatten te.tensor.Tensor to a tuple</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The name of the task.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The name of the task.</p></li>
<li><p><strong>args</strong> (<a class="reference internal" href="relax/relax.html#tvm.relax.Tuple" title="tvm.relax.Tuple"><em>Tuple</em></a>) – Positional argument of func</p></li>
</ul>
</dd>
@@ -1423,7 +1423,7 @@ will be ignored</p>
<dl class="py class">
<dt class="sig sig-object py" id="tvm.autotvm.task.task.MissingTask">
-<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.autotvm.task.task.</span></span><span class="sig-name descname"><span class="pre">MissingTask</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">taskname</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" t [...]
+<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.autotvm.task.task.</span></span><span class="sig-name descname"><span class="pre">MissingTask</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">taskname</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" t [...]
<dd><p>Dummy task template for a task lookup which cannot be resolved.
This can occur if the task being requested from _lookup_task()
has not been imported in this run.</p>
@@ -1436,8 +1436,8 @@ has not been imported in this run.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>task_name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The task name</p></li>
-<li><p><strong>func</strong> (<a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.12)"><em>None</em></a><em> or </em><em>callable</em>) – A callable template function.
+<li><p><strong>task_name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The task name</p></li>
+<li><p><strong>func</strong> (<a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><em>None</em></a><em> or </em><em>callable</em>) – A callable template function.
If it is None, return a decorator.
If is callable, decorate this function.</p></li>
</ul>
@@ -1488,7 +1488,7 @@ If is callable, decorate this function.</p></li>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>task_name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The AutoTVM task name</p></li>
+<li><p><strong>task_name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The AutoTVM task name</p></li>
<li><p><strong>args</strong> (<em>List</em>) – Positional arguments</p></li>
<li><p><strong>target</strong> (<a class="reference internal" href="target.html#tvm.target.Target" title="tvm.target.Target"><em>Target</em></a>) – The compilation target</p></li>
<li><p><strong>target_host</strong> (<a class="reference internal" href="target.html#tvm.target.Target" title="tvm.target.Target"><em>Target</em></a><em>, </em><em>optional</em>) – The compilation target for host side</p></li>
@@ -1535,7 +1535,7 @@ If is callable, decorate this function.</p></li>
<dd class="field-even"><p><strong>flop</strong> – number of FLOP in this schedule</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)">int</a></p>
+<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)">int</a></p>
</dd>
</dl>
</dd></dl>
@@ -1596,7 +1596,7 @@ We call a specific entity in a space as XXXEntity.</p>
<dd class="field-odd"><p><strong>n</strong> – number of output axes</p>
</dd>
<dt class="field-even">Return type</dt>
-<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)">int</a></p>
+<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)">int</a></p>
</dd>
</dl>
</dd></dl>
@@ -1610,10 +1610,10 @@ We call a specific entity in a space as XXXEntity.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>var</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em> or </em><em>tvm.te.schedule.IterVar</em>) – If is int, return a virtual axis whose length is the provided argument.
+<li><p><strong>var</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em> or </em><em>tvm.te.schedule.IterVar</em>) – If is int, return a virtual axis whose length is the provided argument.
If is IterVar, return a virtual axis whose length is extracted from
the IterVar’s extent domain.</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – </p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – </p></li>
</ul>
</dd>
</dl>
@@ -1626,7 +1626,7 @@ the IterVar’s extent domain.</p></li>
<dd class="field-odd"><p><strong>n</strong> – number of output axes</p>
</dd>
<dt class="field-even">Return type</dt>
-<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)">int</a></p>
+<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)">int</a></p>
</dd>
</dl>
</dd></dl>
@@ -1639,13 +1639,13 @@ the IterVar’s extent domain.</p></li>
<dd><p>return all factors of an integer</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>n</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – integer to factorize</p>
+<dd class="field-odd"><p><strong>n</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – integer to factorize</p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p><strong>factors</strong> – List of all factors</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#list" title="(in Python v3.12)">list</a></p>
+<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#list" title="(in Python v3.13)">list</a></p>
</dd>
</dl>
</dd></dl>
@@ -1656,13 +1656,13 @@ the IterVar’s extent domain.</p></li>
<dd><p>return all power-of-two numbers that are less or equal than the integer</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>n</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – integer for reference</p>
+<dd class="field-odd"><p><strong>n</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – integer for reference</p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p><strong>factors</strong> – List of all power-of-two numbers</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#list" title="(in Python v3.12)">list</a></p>
+<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#list" title="(in Python v3.13)">list</a></p>
</dd>
</dl>
</dd></dl>
@@ -1680,7 +1680,7 @@ the IterVar’s extent domain.</p></li>
<dd class="field-odd"><p><strong>n</strong> – number of output axes</p>
</dd>
<dt class="field-even">Return type</dt>
-<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)">int</a></p>
+<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)">int</a></p>
</dd>
</dl>
</dd></dl>
@@ -1735,7 +1735,7 @@ size is [4, 4, 8] (4x4x8 = 128).</p>
<dd class="field-odd"><p><strong>n</strong> – number of output axes</p>
</dd>
<dt class="field-even">Return type</dt>
-<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)">int</a></p>
+<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)">int</a></p>
</dd>
</dl>
</dd></dl>
@@ -1787,7 +1787,7 @@ size is [4, 4, 8] (4x4x8 = 128).</p>
<dd class="field-odd"><p><strong>n</strong> – number of output axes</p>
</dd>
<dt class="field-even">Return type</dt>
-<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)">int</a></p>
+<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)">int</a></p>
</dd>
</dl>
</dd></dl>
@@ -1814,7 +1814,7 @@ size is [4, 4, 8] (4x4x8 = 128).</p>
<li><p><strong>op</strong> (<em>tvm.te.Operation</em>) – The stage to be applied</p></li>
<li><p><strong>axes</strong> (<em>Array of tvm.te.schedule.IterVar</em>) – axis to split</p></li>
<li><p><strong>axis_lens</strong> (<em>Array of int</em><em>, </em><em>optional</em>) – the length of axes</p></li>
-<li><p><strong>max_unroll</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>, </em><em>optional</em>) – maximum unroll step</p></li>
+<li><p><strong>max_unroll</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>, </em><em>optional</em>) – maximum unroll step</p></li>
<li><p><strong>vec_size</strong> (<em>Array of int</em><em>, </em><em>optional</em>) – valid vector lanes for vectorization</p></li>
<li><p><strong>cfg</strong> (<a class="reference internal" href="#tvm.autotvm.task.space.ConfigEntity" title="tvm.autotvm.task.space.ConfigEntity"><em>ConfigEntity</em></a><em>, </em><em>optional</em>) – cfg for recording error</p></li>
<li><p><strong>source</strong> (<em>Array of Array tensor</em><em>, </em><em>optional</em>) – source tensor for attaching cache</p></li>
@@ -1844,7 +1844,7 @@ size is [4, 4, 8] (4x4x8 = 128).</p>
<dd class="field-odd"><p><strong>n</strong> – number of output axes</p>
</dd>
<dt class="field-even">Return type</dt>
-<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)">int</a></p>
+<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)">int</a></p>
</dd>
</dl>
</dd></dl>
@@ -1868,7 +1868,7 @@ collect transformation space and build transform graph of axes</p>
<dd><p>get a virtual axis (axis placeholder)</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>var</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em> or </em><em>tvm.te.schedule.IterVar</em>) – If is int, return an axis whose length is the provided argument.
+<dd class="field-odd"><p><strong>var</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em> or </em><em>tvm.te.schedule.IterVar</em>) – If is int, return an axis whose length is the provided argument.
If is IterVar, return an axis whose length is extracted from the
IterVar’s extent domain.</p>
</dd>
@@ -1881,7 +1881,7 @@ IterVar’s extent domain.</p>
<dd><p>get a virtual axis (axis placeholder)</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>var</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em> or </em><em>tvm.te.schedule.IterVar</em>) – If is int, return an axis whose length is the provided argument.
+<dd class="field-odd"><p><strong>var</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em> or </em><em>tvm.te.schedule.IterVar</em>) – If is int, return an axis whose length is the provided argument.
If is IterVar, return an axis whose length is extracted from the
IterVar’s extent domain.</p>
</dd>
@@ -1895,9 +1895,9 @@ IterVar’s extent domain.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – name to index the entity of this space</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – name to index the entity of this space</p></li>
<li><p><strong>axis</strong> (<em>tvm.te.schedule.IterVar</em>) – axis to split</p></li>
-<li><p><strong>policy</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – name of policy.
+<li><p><strong>policy</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – name of policy.
If is ‘factors’, the tuner will try all divisible factors.
If is ‘power2’, the tuner will try power-of-two factors less or equal to the length.
If is ‘verbose’, the tuner will try all candidates in above two policies.
@@ -1939,15 +1939,15 @@ If is ‘candidate’, try given candidates.</p></li>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – name to index the entity of this space</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – name to index the entity of this space</p></li>
<li><p><strong>axes</strong> (<em>Array of tvm.te.schedule.IterVar</em>) – axes to reorder</p></li>
-<li><p><strong>policy</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – name of policy
+<li><p><strong>policy</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – name of policy
If is ‘identity’, do an identity permutation.
If is ‘all’, try all permutations.
If is ‘interval_all’, try all permutations of an interval of axes.
If is ‘candidate’, try listed candidate.
If is ‘interleave’, interleave chains of spatial axes and chains of reduction axes.</p></li>
-<li><p><strong>kwargs</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#dict" title="(in Python v3.12)"><em>dict</em></a>) – extra arguments for policy</p></li>
+<li><p><strong>kwargs</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#dict" title="(in Python v3.13)"><em>dict</em></a>) – extra arguments for policy</p></li>
</ul>
</dd>
</dl>
@@ -1960,15 +1960,15 @@ If is ‘interleave’, interleave chains of spatial axes and chains of reductio
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – name to index the entity of this space</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – name to index the entity of this space</p></li>
<li><p><strong>axes</strong> (<em>Array of tvm.te.schedule.IterVar</em>) – axes to annotate</p></li>
-<li><p><strong>policy</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – name of policy
+<li><p><strong>policy</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – name of policy
If is ‘unroll’, unroll the axes.
If is ‘try_unroll’, try to unroll the axes.
If is ‘try_unroll_vec’, try to unroll or vectorize the axes.
If is ‘bind_gpu’, bind the first few axes to gpu threads.
If is ‘locate_cache’, choose n axes to attach shared/local cache.</p></li>
-<li><p><strong>kwargs</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#dict" title="(in Python v3.12)"><em>dict</em></a>) – extra arguments for policy</p></li>
+<li><p><strong>kwargs</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#dict" title="(in Python v3.13)"><em>dict</em></a>) – extra arguments for policy</p></li>
</ul>
</dd>
</dl>
@@ -1981,8 +1981,8 @@ If is ‘locate_cache’, choose n axes to attach shared/local cache.</p></li>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – name key of that option</p></li>
-<li><p><strong>candidate</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#list" title="(in Python v3.12)"><em>list</em></a>) – list of candidates</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – name key of that option</p></li>
+<li><p><strong>candidate</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#list" title="(in Python v3.13)"><em>list</em></a>) – list of candidates</p></li>
</ul>
</dd>
</dl>
@@ -1994,7 +1994,7 @@ If is ‘locate_cache’, choose n axes to attach shared/local cache.</p></li>
<dd><p>Add float operation statistics for this tuning task</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>flop</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em> or </em><a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.12)"><em>float</em></a><em> or </em><a class="reference internal" href="tir/tir.html#tvm.tir.IntImm" title="tvm.tir.IntImm"><em>IntImm</em></a><em> or </em><a class="reference internal" [...]
+<dd class="field-odd"><p><strong>flop</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em> or </em><a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.13)"><em>float</em></a><em> or </em><a class="reference internal" href="tir/tir.html#tvm.tir.IntImm" title="tvm.tir.IntImm"><em>IntImm</em></a><em> or </em><a class="reference internal" [...]
</dd>
</dl>
</dd></dl>
@@ -2008,7 +2008,7 @@ Otherwise these error will occur during runtime, which
will cost more time.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>msg</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – </p>
+<dd class="field-odd"><p><strong>msg</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – </p>
</dd>
</dl>
</dd></dl>
@@ -2027,7 +2027,7 @@ because the ConfigEntity/ConfigSpace collects errors during instantiation</p>
<dd class="field-odd"><p><strong>valid</strong> – whether the config meets all the constraints</p>
</dd>
<dt class="field-even">Return type</dt>
-<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)">bool</a></p>
+<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)">bool</a></p>
</dd>
</dl>
</dd></dl>
@@ -2038,13 +2038,13 @@ because the ConfigEntity/ConfigSpace collects errors during instantiation</p>
<dd><p>Checks if the index satisfies the multi_filter condition</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>index</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – index from the range of the space</p>
+<dd class="field-odd"><p><strong>index</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – index from the range of the space</p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p><strong>valid</strong> – whether the index meets all the constraints</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)">bool</a></p>
+<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)">bool</a></p>
</dd>
</dl>
</dd></dl>
@@ -2128,15 +2128,15 @@ indexes or range_length for the range of space. It is recommended to use:
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>start</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – start of subrange, inclusive</p></li>
-<li><p><strong>end</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – end of subrange, exclusive</p></li>
+<li><p><strong>start</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – start of subrange, inclusive</p></li>
+<li><p><strong>end</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – end of subrange, exclusive</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p><strong>count</strong> – number of valid indexes</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)">int</a></p>
+<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)">int</a></p>
</dd>
</dl>
</dd></dl>
@@ -2148,9 +2148,9 @@ indexes or range_length for the range of space. It is recommended to use:
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>start</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>, </em><em>optional</em>) – specifying at which position to start, inclusive</p></li>
-<li><p><strong>end</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>, </em><em>optional</em>) – specifying at which position to end, exclusive</p></li>
-<li><p><strong>to_exclude</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#list" title="(in Python v3.12)"><em>list</em></a><em>, </em><em>optional</em>) – determines unsuitable values</p></li>
+<li><p><strong>start</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>, </em><em>optional</em>) – specifying at which position to start, inclusive</p></li>
+<li><p><strong>end</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>, </em><em>optional</em>) – specifying at which position to end, exclusive</p></li>
+<li><p><strong>to_exclude</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#list" title="(in Python v3.13)"><em>list</em></a><em>, </em><em>optional</em>) – determines unsuitable values</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -2170,18 +2170,18 @@ indexes or range_length for the range of space. It is recommended to use:
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>index</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – specifying at which position to start, inclusive</p></li>
-<li><p><strong>n</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>, </em><em>optional</em>) – step by using to find the next index, for the opposite
+<li><p><strong>index</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – specifying at which position to start, inclusive</p></li>
+<li><p><strong>n</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>, </em><em>optional</em>) – step by using to find the next index, for the opposite
direction a negative number should be used</p></li>
-<li><p><strong>start</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#list" title="(in Python v3.12)"><em>list</em></a><em>, </em><em>optional</em>) – start of subrange, inclusive</p></li>
-<li><p><strong>end</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#list" title="(in Python v3.12)"><em>list</em></a><em>, </em><em>optional</em>) – end of subrange, exclusive</p></li>
+<li><p><strong>start</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#list" title="(in Python v3.13)"><em>list</em></a><em>, </em><em>optional</em>) – start of subrange, inclusive</p></li>
+<li><p><strong>end</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#list" title="(in Python v3.13)"><em>list</em></a><em>, </em><em>optional</em>) – end of subrange, exclusive</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p><strong>next</strong> – next index in the space</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)">int</a></p>
+<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)">int</a></p>
</dd>
</dl>
</dd></dl>
@@ -2198,13 +2198,13 @@ direction a negative number should be used</p></li>
<dd><p>Convert point form (single integer) to knob (vector)</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>point</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – point to convert</p>
+<dd class="field-odd"><p><strong>point</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – point to convert</p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p><strong>knob</strong> – knob representation of the point</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#list" title="(in Python v3.12)">list</a></p>
+<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#list" title="(in Python v3.13)">list</a></p>
</dd>
</dl>
</dd></dl>
@@ -2215,13 +2215,13 @@ direction a negative number should be used</p></li>
<dd><p>Convert knob form (vector) to point form (single integer)</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>knob</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#list" title="(in Python v3.12)"><em>list</em></a>) – knob to convert</p>
+<dd class="field-odd"><p><strong>knob</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#list" title="(in Python v3.13)"><em>list</em></a>) – knob to convert</p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p><strong>point</strong> – point of the knob representation</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)">int</a></p>
+<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)">int</a></p>
</dd>
</dl>
</dd></dl>
@@ -2234,7 +2234,7 @@ This function is an alternative of <cite>np.random.choice</cite> when self.range
which case numpy does not work.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>m</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – The number of sampled int</p>
+<dd class="field-odd"><p><strong>m</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – The number of sampled int</p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p><strong>ints</strong></p>
@@ -2251,13 +2251,13 @@ which case numpy does not work.</p>
<dd><p>random walk as local transition</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>point</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – index of the ConfigEntity</p>
+<dd class="field-odd"><p><strong>point</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – index of the ConfigEntity</p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p><strong>new_point</strong> – new neighborhood index</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)">int</a></p>
+<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)">int</a></p>
</dd>
</dl>
</dd></dl>
@@ -2268,7 +2268,7 @@ which case numpy does not work.</p>
<dd><p>Get a config entity with detailed parameters from this space</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>index</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – index in the space</p>
+<dd class="field-odd"><p><strong>index</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – index in the space</p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p><strong>config</strong> – config corresponds to the index</p>
@@ -2288,10 +2288,10 @@ which case numpy does not work.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>index</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – index of this config in space</p></li>
-<li><p><strong>code_hash</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – hash of schedule code</p></li>
-<li><p><strong>entity_map</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#dict" title="(in Python v3.12)"><em>dict</em></a>) – map name to transform entity</p></li>
-<li><p><strong>constraints</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#list" title="(in Python v3.12)"><em>list</em></a>) – List of constraints</p></li>
+<li><p><strong>index</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – index of this config in space</p></li>
+<li><p><strong>code_hash</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – hash of schedule code</p></li>
+<li><p><strong>entity_map</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#dict" title="(in Python v3.13)"><em>dict</em></a>) – map name to transform entity</p></li>
+<li><p><strong>constraints</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#list" title="(in Python v3.13)"><em>list</em></a>) – List of constraints</p></li>
</ul>
</dd>
</dl>
@@ -2317,7 +2317,7 @@ which case numpy does not work.</p>
<dd class="field-odd"><p><strong>other_option</strong> – other tunable parameters (tunable parameters defined by <cite>cfg.define_knob</cite>)</p>
</dd>
<dt class="field-even">Return type</dt>
-<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#dict" title="(in Python v3.12)">dict</a></p>
+<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#dict" title="(in Python v3.13)">dict</a></p>
</dd>
</dl>
</dd></dl>
@@ -2331,7 +2331,7 @@ which case numpy does not work.</p>
<dd class="field-odd"><p><strong>json_dict</strong> – a json serializable dictionary</p>
</dd>
<dt class="field-even">Return type</dt>
-<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#dict" title="(in Python v3.12)">dict</a></p>
+<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#dict" title="(in Python v3.13)">dict</a></p>
</dd>
</dl>
</dd></dl>
@@ -2342,7 +2342,7 @@ which case numpy does not work.</p>
<dd><p>Build a ConfigEntity from json serializable dictionary</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>json_dict</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#dict" title="(in Python v3.12)"><em>dict</em></a>) – Json serializable dictionary. This should be the return value
+<dd class="field-odd"><p><strong>json_dict</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#dict" title="(in Python v3.13)"><em>dict</em></a>) – Json serializable dictionary. This should be the return value
of <a class="reference internal" href="#tvm.autotvm.task.space.ConfigEntity.to_json_dict" title="tvm.autotvm.task.space.ConfigEntity.to_json_dict"><code class="xref any py py-meth docutils literal notranslate"><span class="pre">to_json_dict</span></code></a>.</p>
</dd>
<dt class="field-even">Returns</dt>
@@ -2367,7 +2367,7 @@ of <a class="reference internal" href="#tvm.autotvm.task.space.ConfigEntity.to_j
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – name of the knob</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – name of the knob</p></li>
<li><p><strong>constraints</strong> (<em>List of int</em>) – The maximum tile size for every dimension. Value <cite>-1</cite> means no constraint.</p></li>
</ul>
</dd>
@@ -2501,15 +2501,15 @@ One can construct a new <cite>ConfigEntity</cite> if this is not the case.</p>
<dl class="py class">
<dt class="sig sig-object py" id="tvm.autotvm.task.dispatcher.ApplyFixedConfig">
-<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.autotvm.task.dispatcher.</span></span><span class="sig-name descname"><span class="pre">ApplyFixedConfig</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">tasks</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">schedule_names</span></span><span class="p"><span class="pre">:</span></span> <span c [...]
+<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.autotvm.task.dispatcher.</span></span><span class="sig-name descname"><span class="pre">ApplyFixedConfig</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">tasks</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">schedule_names</span></span><span class="p"><span class="pre">:</span></span> <span c [...]
<dd><p>Apply a config of a deterministic schedule.
This is used for building a single Relay operator with deterministic schedule
for testing schedules at Relay level.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>tasks</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#list" title="(in Python v3.12)"><em>list</em></a><em>[</em><a class="reference internal" href="#tvm.autotvm.task.task.Task" title="tvm.autotvm.task.task.Task"><em>tvm.autotvm.task.task.Task</em></a><em>]</em>) – List of autoTVM tasks.</p></li>
-<li><p><strong>schedule_names</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><em>List</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em>) – Name of schedules to use.</p></li>
+<li><p><strong>tasks</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#list" title="(in Python v3.13)"><em>list</em></a><em>[</em><a class="reference internal" href="#tvm.autotvm.task.task.Task" title="tvm.autotvm.task.task.Task"><em>tvm.autotvm.task.task.Task</em></a><em>]</em>) – List of autoTVM tasks.</p></li>
+<li><p><strong>schedule_names</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><em>List</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em>) – Name of schedules to use.</p></li>
</ul>
</dd>
</dl>
@@ -2523,11 +2523,11 @@ for testing schedules at Relay level.</p>
<dl class="py class">
<dt class="sig sig-object py" id="tvm.autotvm.task.dispatcher.ApplyHistoryBest">
-<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.autotvm.task.dispatcher.</span></span><span class="sig-name descname"><span class="pre">ApplyHistoryBest</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">records</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Union</span><span class="p"><span class="pre">[</span></span>< [...]
+<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.autotvm.task.dispatcher.</span></span><span class="sig-name descname"><span class="pre">ApplyHistoryBest</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">records</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Union</span><span class="p"><span class="pre">[</span></span>< [...]
<dd><p>Apply the history best config</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>records</strong> (<a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.12)"><em>None</em></a><em>, </em><em>Records</em><em>, or </em><em>iterator of Records objects</em><em>, </em><em>where a</em>) – <dl class="simple">
+<dd class="field-odd"><p><strong>records</strong> (<a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><em>None</em></a><em>, </em><em>Records</em><em>, or </em><em>iterator of Records objects</em><em>, </em><em>where a</em>) – <dl class="simple">
<dt>Records object is a path-like object, a file-like object,</dt><dd><p>or an iterator of (MeasureInput, MeasureResult).</p>
</dd>
</dl>
@@ -2538,11 +2538,11 @@ contents will be merged.</p>
</dl>
<dl class="py method">
<dt class="sig sig-object py" id="tvm.autotvm.task.dispatcher.ApplyHistoryBest.load">
-<span class="sig-name descname"><span class="pre">load</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">records</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Union</span><span class="p"><span class="pre">[</span></span><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><span class="pre">str</span></a><span class="p"><span c [...]
+<span class="sig-name descname"><span class="pre">load</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">records</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Union</span><span class="p"><span class="pre">[</span></span><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a><span class="p"><span c [...]
<dd><p>Load records to this dispatch context</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>records</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><em>list of str</em><em>, or </em><em>iterator of</em><em> (</em><a class="reference internal" href="#tvm.autotvm.measure.MeasureInput" title="tvm.autotvm.measure.MeasureInput"><em>autotvm.measure.MeasureInput</em></a><em>, </em><a class="reference [...]
+<dd class="field-odd"><p><strong>records</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><em>list of str</em><em>, or </em><em>iterator of</em><em> (</em><a class="reference internal" href="#tvm.autotvm.measure.MeasureInput" title="tvm.autotvm.measure.MeasureInput"><em>autotvm.measure.MeasureInput</em></a><em>, </em><a class="reference [...]
contents will be merged.</p>
</dd>
</dl>
@@ -2684,7 +2684,7 @@ to clean the cache.</p>
<dl class="py class">
<dt class="sig sig-object py" id="tvm.autotvm.task.dispatcher.ApplyGraphBest">
-<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.autotvm.task.dispatcher.</span></span><span class="sig-name descname"><span class="pre">ApplyGraphBest</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">records</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Union</span><span class="p"><span class="pre">[</span></span><a [...]
+<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.autotvm.task.dispatcher.</span></span><span class="sig-name descname"><span class="pre">ApplyGraphBest</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">records</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Union</span><span class="p"><span class="pre">[</span></span><a [...]
<dd><p>Load the graph level tuning optimal schedules.</p>
<p>The input records should be in the ascending order of
node index for target operator. Usually this can be obtained
@@ -2767,8 +2767,8 @@ we will serialize it to a hashable tuple.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>task_name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – AutoTVM task name.</p></li>
-<li><p><strong>args</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#tuple" title="(in Python v3.12)"><em>tuple</em></a>) – Arguments to the TOPI function.</p></li>
+<li><p><strong>task_name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – AutoTVM task name.</p></li>
+<li><p><strong>args</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#tuple" title="(in Python v3.13)"><em>tuple</em></a>) – Arguments to the TOPI function.</p></li>
</ul>
</dd>
</dl>
@@ -2820,8 +2820,8 @@ stores this “workload” to its final ComputeOp, which can be used to reconstr
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>task_name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The AutoTVM task name</p></li>
-<li><p><strong>func</strong> (<a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.12)"><em>None</em></a><em> or </em><em>callable</em>) – If it is None, return a decorator.
+<li><p><strong>task_name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The AutoTVM task name</p></li>
+<li><p><strong>func</strong> (<a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><em>None</em></a><em> or </em><em>callable</em>) – If it is None, return a decorator.
If is callable, decorate this function.</p></li>
</ul>
</dd>
@@ -2848,8 +2848,8 @@ You can attach “workload” to your compute op by using <a class="reference in
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>task_name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The AutoTVM task name</p></li>
-<li><p><strong>func</strong> (<a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.12)"><em>None</em></a><em> or </em><em>callable</em>) – If it is None, return a decorator.
+<li><p><strong>task_name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The AutoTVM task name</p></li>
+<li><p><strong>func</strong> (<a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><em>None</em></a><em> or </em><em>callable</em>) – If it is None, return a decorator.
If is callable, decorate this function.</p></li>
</ul>
</dd>
@@ -2882,14 +2882,14 @@ If is callable, decorate this function.</p></li>
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>inp</strong> (<a class="reference internal" href="#tvm.autotvm.measure.MeasureInput" title="tvm.autotvm.measure.MeasureInput"><em>autotvm.measure.MeasureInput</em></a>) – input for the measure</p></li>
-<li><p><strong>include_config</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a><em>, </em><em>optional</em>) – whether includes config in the str key</p></li>
+<li><p><strong>include_config</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a><em>, </em><em>optional</em>) – whether includes config in the str key</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p><strong>key</strong> – The str representation of key</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)">str</a></p>
+<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)">str</a></p>
</dd>
</dl>
</dd></dl>
@@ -2903,14 +2903,14 @@ If is callable, decorate this function.</p></li>
<dd class="field-odd"><ul class="simple">
<li><p><strong>inp</strong> (<a class="reference internal" href="#tvm.autotvm.measure.MeasureInput" title="tvm.autotvm.measure.MeasureInput"><em>autotvm.measure.MeasureInput</em></a>) – </p></li>
<li><p><strong>result</strong> (<a class="reference internal" href="#tvm.autotvm.measure.MeasureResult" title="tvm.autotvm.measure.MeasureResult"><em>autotvm.measure.MeasureResult</em></a>) – pair of input/result</p></li>
-<li><p><strong>protocol</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – log protocol, json or pickle</p></li>
+<li><p><strong>protocol</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – log protocol, json or pickle</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p><strong>row</strong> – a row in the logger file</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)">str</a></p>
+<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)">str</a></p>
</dd>
</dl>
</dd></dl>
@@ -2922,27 +2922,27 @@ If is callable, decorate this function.</p></li>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>row</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – a row in the logger file</p></li>
-<li><p><strong>protocol</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – log protocol, json or pickle</p></li>
+<li><p><strong>row</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – a row in the logger file</p></li>
+<li><p><strong>protocol</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – log protocol, json or pickle</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p><strong>ret</strong> – The tuple of input and result, or None if input uses old version log format.</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#tuple" title="(in Python v3.12)">tuple</a>(<a class="reference internal" href="#tvm.autotvm.measure.MeasureInput" title="tvm.autotvm.measure.MeasureInput">autotvm.measure.MeasureInput</a>, <a class="reference internal" href="#tvm.autotvm.measure.MeasureResult" title="tvm.autotvm.measure.MeasureResult">autotvm.measure.MeasureResult</a>), or <a class="reference external" href="https [...]
+<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#tuple" title="(in Python v3.13)">tuple</a>(<a class="reference internal" href="#tvm.autotvm.measure.MeasureInput" title="tvm.autotvm.measure.MeasureInput">autotvm.measure.MeasureInput</a>, <a class="reference internal" href="#tvm.autotvm.measure.MeasureResult" title="tvm.autotvm.measure.MeasureResult">autotvm.measure.MeasureResult</a>), or <a class="reference external" href="https [...]
</dd>
</dl>
</dd></dl>
<dl class="py function">
<dt class="sig sig-object py" id="tvm.autotvm.record.load_from_buffer">
-<span class="sig-prename descclassname"><span class="pre">tvm.autotvm.record.</span></span><span class="sig-name descname"><span class="pre">load_from_buffer</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">file</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/io.html#io.TextIOBase" title="(in Python v3.12)"><span class="pre">io.TextIOBas [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.autotvm.record.</span></span><span class="sig-name descname"><span class="pre">load_from_buffer</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">file</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/io.html#io.TextIOBase" title="(in Python v3.13)"><span class="pre">io.TextIOBas [...]
<dd><p>Generator: load records from buffer.
This is a generator that yields the records.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>file</strong> (<a class="reference external" href="https://docs.python.org/3/library/io.html#io.TextIOBase" title="(in Python v3.12)"><em>io.TextIOBase</em></a>) – </p>
+<dd class="field-odd"><p><strong>file</strong> (<a class="reference external" href="https://docs.python.org/3/library/io.html#io.TextIOBase" title="(in Python v3.13)"><em>io.TextIOBase</em></a>) – </p>
</dd>
<dt class="field-even">Yields</dt>
<dd class="field-even"><ul class="simple">
@@ -2955,12 +2955,12 @@ This is a generator that yields the records.</p>
<dl class="py function">
<dt class="sig sig-object py" id="tvm.autotvm.record.load_from_file">
-<span class="sig-prename descclassname"><span class="pre">tvm.autotvm.record.</span></span><span class="sig-name descname"><span class="pre">load_from_file</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">filepath</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Union</span><span class="p"><span class="pre">[</span></span><a class="reference external" href="https://docs.python.org/3/librar [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.autotvm.record.</span></span><span class="sig-name descname"><span class="pre">load_from_file</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">filepath</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Union</span><span class="p"><span class="pre">[</span></span><a class="reference external" href="https://docs.python.org/3/librar [...]
<dd><p>Generator: load records from path.
This is a generator that yields the records.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>filepath</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#bytes" title="(in Python v3.12)"><em>bytes</em></a><em>, or </em><a class="reference external" href="https://docs.python.org/3/library/os.html#os.PathLike" title="(in Python v3.12)"><em>os.PathLike</em></a>) – </p>
+<dd class="field-odd"><p><strong>filepath</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#bytes" title="(in Python v3.13)"><em>bytes</em></a><em>, or </em><a class="reference external" href="https://docs.python.org/3/library/os.html#os.PathLike" title="(in Python v3.13)"><em>os.PathLike</em></a>) – </p>
</dd>
<dt class="field-even">Yields</dt>
<dd class="field-even"><ul class="simple">
@@ -2979,8 +2979,8 @@ This function can also delete duplicated records in log file</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>in_file</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – input filename</p></li>
-<li><p><strong>clean</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a>) – whether delete duplicated items</p></li>
+<li><p><strong>in_file</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – input filename</p></li>
+<li><p><strong>clean</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – whether delete duplicated items</p></li>
</ul>
</dd>
</dl>
@@ -2996,8 +2996,8 @@ in_file and out_file will be saved.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>in_file</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The filename of input</p></li>
-<li><p><strong>out_file</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em> or </em><em>file</em>) – The filename of output</p></li>
+<li><p><strong>in_file</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The filename of input</p></li>
+<li><p><strong>out_file</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em> or </em><em>file</em>) – The filename of output</p></li>
</ul>
</dd>
</dl>
diff --git a/docs/reference/api/python/contrib.html b/docs/reference/api/python/contrib.html
index 5303785c3d..00e9fec6a0 100644
--- a/docs/reference/api/python/contrib.html
+++ b/docs/reference/api/python/contrib.html
@@ -470,8 +470,8 @@ This function serves as an example on how to call external libraries.</p>
<dd class="field-odd"><ul class="simple">
<li><p><strong>lhs</strong> (<a class="reference internal" href="te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The left matrix operand</p></li>
<li><p><strong>rhs</strong> (<a class="reference internal" href="te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The right matrix operand</p></li>
-<li><p><strong>transa</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a>) – Whether transpose lhs</p></li>
-<li><p><strong>transb</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a>) – Whether transpose rhs</p></li>
+<li><p><strong>transa</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – Whether transpose lhs</p></li>
+<li><p><strong>transb</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – Whether transpose rhs</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -493,8 +493,8 @@ This function serves as an example on how to call external libraries.</p>
<dd class="field-odd"><ul class="simple">
<li><p><strong>lhs</strong> (<a class="reference internal" href="te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The left matrix operand</p></li>
<li><p><strong>rhs</strong> (<a class="reference internal" href="te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The right matrix operand</p></li>
-<li><p><strong>transa</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a>) – Whether transpose lhs</p></li>
-<li><p><strong>transb</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a>) – Whether transpose rhs</p></li>
+<li><p><strong>transa</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – Whether transpose lhs</p></li>
+<li><p><strong>transb</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – Whether transpose rhs</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -516,7 +516,7 @@ This function serves as an example on how to call external libraries.</p>
<dd><p>Find clang in system.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>required</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a>) – Whether it is required,
+<dd class="field-odd"><p><strong>required</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – Whether it is required,
runtime error will be raised if the compiler is required.</p>
</dd>
<dt class="field-even">Returns</dt>
@@ -541,10 +541,10 @@ matches the major llvm version that built with tvm</p>
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>inputs</strong> (<em>list of str</em>) – List of input files name or code source.</p></li>
-<li><p><strong>output</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><em>optional</em>) – Output file, if it is none
+<li><p><strong>output</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><em>optional</em>) – Output file, if it is none
a temporary file is created</p></li>
-<li><p><strong>options</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#list" title="(in Python v3.12)"><em>list</em></a>) – The list of additional options string.</p></li>
-<li><p><strong>cc</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><em>optional</em>) – The clang compiler, if not specified,
+<li><p><strong>options</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#list" title="(in Python v3.13)"><em>list</em></a>) – The list of additional options string.</p></li>
+<li><p><strong>cc</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><em>optional</em>) – The clang compiler, if not specified,
we will try to guess the matched clang version.</p></li>
</ul>
</dd>
@@ -552,7 +552,7 @@ we will try to guess the matched clang version.</p></li>
<dd class="field-even"><p><strong>code</strong> – The generated llvm text IR.</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)">str</a></p>
+<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)">str</a></p>
</dd>
</dl>
</dd></dl>
@@ -570,7 +570,7 @@ we will try to guess the matched clang version.</p></li>
<dd class="field-odd"><p><strong>out</strong> – The path to the default C/C++ compiler, or None if none was found.</p>
</dd>
<dt class="field-even">Return type</dt>
-<dd class="field-even"><p>Optional[<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)">str</a>]</p>
+<dd class="field-even"><p>Optional[<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)">str</a>]</p>
</dd>
</dl>
</dd></dl>
@@ -582,12 +582,12 @@ we will try to guess the matched clang version.</p></li>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>output</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The target shared library.</p></li>
-<li><p><strong>objects</strong> (<em>List</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em>) – List of object files.</p></li>
-<li><p><strong>options</strong> (<em>List</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em>) – The list of additional options string.</p></li>
-<li><p><strong>cc</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em>) – The compiler command.</p></li>
-<li><p><strong>cwd</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em>) – The current working directory.</p></li>
-<li><p><strong>ccache_env</strong> (<em>Optional</em><em>[</em><em>Dict</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em><em>]</em>) – The environment variable for ccache. Set <cite>None</cite> to disable ccache by default.</p></li>
+<li><p><strong>output</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The target shared library.</p></li>
+<li><p><strong>objects</strong> (<em>List</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em>) – List of object files.</p></li>
+<li><p><strong>options</strong> (<em>List</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em>) – The list of additional options string.</p></li>
+<li><p><strong>cc</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em>) – The compiler command.</p></li>
+<li><p><strong>cwd</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em>) – The current working directory.</p></li>
+<li><p><strong>ccache_env</strong> (<em>Optional</em><em>[</em><em>Dict</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em><em>]</em>) – The environment variable for ccache. Set <cite>None</cite> to disable ccache by default.</p></li>
</ul>
</dd>
</dl>
@@ -600,10 +600,10 @@ we will try to guess the matched clang version.</p></li>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>output</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The target shared library.</p></li>
-<li><p><strong>inputs</strong> (<em>List</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em>) – List of inputs files. Each input file can be a tarball
+<li><p><strong>output</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The target shared library.</p></li>
+<li><p><strong>inputs</strong> (<em>List</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em>) – List of inputs files. Each input file can be a tarball
of objects or an object file.</p></li>
-<li><p><strong>ar</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em>) – Path to the ar command to be used</p></li>
+<li><p><strong>ar</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em>) – Path to the ar command to be used</p></li>
</ul>
</dd>
</dl>
@@ -616,12 +616,12 @@ of objects or an object file.</p></li>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>output</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The target executable.</p></li>
-<li><p><strong>objects</strong> (<em>List</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em>) – List of object files.</p></li>
-<li><p><strong>options</strong> (<em>List</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em>) – The list of additional options string.</p></li>
-<li><p><strong>cc</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em>) – The compiler command.</p></li>
-<li><p><strong>cwd</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em>) – The urrent working directory.</p></li>
-<li><p><strong>ccache_env</strong> (<em>Optional</em><em>[</em><em>Dict</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em><em>]</em>) – The environment variable for ccache. Set <cite>None</cite> to disable ccache by default.</p></li>
+<li><p><strong>output</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The target executable.</p></li>
+<li><p><strong>objects</strong> (<em>List</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em>) – List of object files.</p></li>
+<li><p><strong>options</strong> (<em>List</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em>) – The list of additional options string.</p></li>
+<li><p><strong>cc</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em>) – The compiler command.</p></li>
+<li><p><strong>cwd</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em>) – The urrent working directory.</p></li>
+<li><p><strong>ccache_env</strong> (<em>Optional</em><em>[</em><em>Dict</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em><em>]</em>) – The environment variable for ccache. Set <cite>None</cite> to disable ccache by default.</p></li>
</ul>
</dd>
</dl>
@@ -629,20 +629,20 @@ of objects or an object file.</p></li>
<dl class="py function">
<dt class="sig sig-object py" id="tvm.contrib.cc.get_global_symbol_section_map">
-<span class="sig-prename descclassname"><span class="pre">tvm.contrib.cc.</span></span><span class="sig-name descname"><span class="pre">get_global_symbol_section_map</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">path</span></span></em>, <em class="sig-param"><span class="o"><span class="pre">*</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">nm</span></span><span class="o"><span class="pre">=</span></span> [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.contrib.cc.</span></span><span class="sig-name descname"><span class="pre">get_global_symbol_section_map</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">path</span></span></em>, <em class="sig-param"><span class="o"><span class="pre">*</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">nm</span></span><span class="o"><span class="pre">=</span></span> [...]
<dd><p>Get global symbols from a library via nm -g</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>path</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The library path</p></li>
-<li><p><strong>nm</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The path to nm command</p></li>
+<li><p><strong>path</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The library path</p></li>
+<li><p><strong>nm</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The path to nm command</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p><strong>symbol_section_map</strong> – A map from defined global symbol to their sections</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p>Dict[<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)">str</a>, <a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)">str</a>]</p>
+<dd class="field-odd"><p>Dict[<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)">str</a>, <a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)">str</a>]</p>
</dd>
</dl>
</dd></dl>
@@ -653,7 +653,7 @@ of objects or an object file.</p></li>
<dd><p>Functor of get_target_triple that can get the target triple using compiler.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>compiler</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em>) – The compiler.</p>
+<dd class="field-odd"><p><strong>compiler</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em>) – The compiler.</p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p><strong>out</strong> – A function that can get target triple according to dumpmachine option of compiler.</p>
@@ -673,11 +673,11 @@ can be passed to AutoTVM measure or export_library.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>compile_func</strong> (<em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><em>Callable</em><em>[</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3 [...]
-<li><p><strong>options</strong> (<em>Optional</em><em>[</em><em>List</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em><em>]</em>) – List of additional optional string.</p></li>
-<li><p><strong>output_format</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em>) – Library output format.</p></li>
+<li><p><strong>compile_func</strong> (<em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><em>Callable</em><em>[</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3 [...]
+<li><p><strong>options</strong> (<em>Optional</em><em>[</em><em>List</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em><em>]</em>) – List of additional optional string.</p></li>
+<li><p><strong>output_format</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em>) – Library output format.</p></li>
<li><p><strong>get_target_triple</strong> (<em>Optional</em><em>[</em><em>Callable</em><em>]</em>) – Function that can target triple according to dumpmachine option of compiler.</p></li>
-<li><p><strong>add_files</strong> (<em>Optional</em><em>[</em><em>List</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em><em>]</em>) – List of paths to additional object, source, library files
+<li><p><strong>add_files</strong> (<em>Optional</em><em>[</em><em>List</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em><em>]</em>) – List of paths to additional object, source, library files
to pass as part of the compilation.</p></li>
</ul>
</dd>
@@ -685,7 +685,7 @@ to pass as part of the compilation.</p></li>
<dd class="field-even"><p><strong>fcompile</strong> – A compilation function that can be passed to export_library.</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p>Callable[[<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)">str</a>, <a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)">str</a>, Optional[<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)">str</a>]], <a class="reference external" href="https://docs.python.org/3/library/cons [...]
+<dd class="field-odd"><p>Callable[[<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)">str</a>, <a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)">str</a>, Optional[<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)">str</a>]], <a class="reference external" href="https://docs.python.org/3/library/cons [...]
</dd>
</dl>
<p class="rubric">Examples</p>
@@ -716,8 +716,8 @@ to pass as part of the compilation.</p></li>
<dd class="field-odd"><ul class="simple">
<li><p><strong>lhs</strong> (<a class="reference internal" href="te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The left matrix operand</p></li>
<li><p><strong>rhs</strong> (<a class="reference internal" href="te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The right matrix operand</p></li>
-<li><p><strong>transa</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a>) – Whether transpose lhs</p></li>
-<li><p><strong>transb</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a>) – Whether transpose rhs</p></li>
+<li><p><strong>transa</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – Whether transpose lhs</p></li>
+<li><p><strong>transb</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – Whether transpose rhs</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -738,8 +738,8 @@ to pass as part of the compilation.</p></li>
<dd class="field-odd"><ul class="simple">
<li><p><strong>lhs</strong> (<a class="reference internal" href="te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The left matrix operand</p></li>
<li><p><strong>rhs</strong> (<a class="reference internal" href="te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The right matrix operand</p></li>
-<li><p><strong>transa</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a>) – Whether transpose lhs</p></li>
-<li><p><strong>transb</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a>) – Whether transpose rhs</p></li>
+<li><p><strong>transa</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – Whether transpose lhs</p></li>
+<li><p><strong>transb</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – Whether transpose rhs</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -801,11 +801,11 @@ to pass as part of the compilation.</p></li>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>output</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The target shared library.</p></li>
-<li><p><strong>objects</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#list" title="(in Python v3.12)"><em>list</em></a>) – List of object files.</p></li>
-<li><p><strong>options</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The additional options.</p></li>
-<li><p><strong>cc</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><em>optional</em>) – The compile string.</p></li>
-<li><p><strong>libs</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#list" title="(in Python v3.12)"><em>list</em></a>) – List of user-defined library files (e.g. .bc files) to add into the wasm.</p></li>
+<li><p><strong>output</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The target shared library.</p></li>
+<li><p><strong>objects</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#list" title="(in Python v3.13)"><em>list</em></a>) – List of object files.</p></li>
+<li><p><strong>options</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The additional options.</p></li>
+<li><p><strong>cc</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><em>optional</em>) – The compile string.</p></li>
+<li><p><strong>libs</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#list" title="(in Python v3.13)"><em>list</em></a>) – List of user-defined library files (e.g. .bc files) to add into the wasm.</p></li>
</ul>
</dd>
</dl>
@@ -824,17 +824,17 @@ to pass as part of the compilation.</p></li>
<dd class="field-odd"><ul class="simple">
<li><p><strong>x</strong> (<a class="reference internal" href="te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – input feature map</p></li>
<li><p><strong>w</strong> (<a class="reference internal" href="te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – convolution weight</p></li>
-<li><p><strong>stride_h</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – height stride</p></li>
-<li><p><strong>stride_w</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – width stride</p></li>
-<li><p><strong>pad_h</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – height pad</p></li>
-<li><p><strong>pad_w</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – weight pad</p></li>
-<li><p><strong>dilation_h</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – height dilation</p></li>
-<li><p><strong>dilation_w</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – width dilation</p></li>
-<li><p><strong>conv_mode</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – 0: miopenConvolution
+<li><p><strong>stride_h</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – height stride</p></li>
+<li><p><strong>stride_w</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – width stride</p></li>
+<li><p><strong>pad_h</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – height pad</p></li>
+<li><p><strong>pad_w</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – weight pad</p></li>
+<li><p><strong>dilation_h</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – height dilation</p></li>
+<li><p><strong>dilation_w</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – width dilation</p></li>
+<li><p><strong>conv_mode</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – 0: miopenConvolution
1: miopenTranspose</p></li>
-<li><p><strong>data_type</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – 0: miopenHalf (fp16)
+<li><p><strong>data_type</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – 0: miopenHalf (fp16)
1: miopenFloat (fp32)</p></li>
-<li><p><strong>group_count</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – number of groups</p></li>
+<li><p><strong>group_count</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – number of groups</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -854,7 +854,7 @@ to pass as part of the compilation.</p></li>
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>x</strong> (<a class="reference internal" href="te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>tvm.te.Tensor</em></a>) – The input tensor</p></li>
-<li><p><strong>axis</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – The axis to compute softmax over</p></li>
+<li><p><strong>axis</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – The axis to compute softmax over</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -874,7 +874,7 @@ to pass as part of the compilation.</p></li>
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>x</strong> (<a class="reference internal" href="te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>tvm.te.Tensor</em></a>) – The input tensor</p></li>
-<li><p><strong>axis</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – The axis to compute log softmax over</p></li>
+<li><p><strong>axis</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – The axis to compute log softmax over</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -927,8 +927,8 @@ Run asynchrously in MXNet’s async engine.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>output</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The target shared library.</p></li>
-<li><p><strong>objects</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#list" title="(in Python v3.12)"><em>list</em></a>) – List of object files.</p></li>
+<li><p><strong>output</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The target shared library.</p></li>
+<li><p><strong>objects</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#list" title="(in Python v3.13)"><em>list</em></a>) – List of object files.</p></li>
<li><p><strong>options</strong> (<em>list of str</em><em>, </em><em>optional</em>) – The additional options.</p></li>
</ul>
</dd>
@@ -942,8 +942,8 @@ Run asynchrously in MXNet’s async engine.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>output</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The target static library.</p></li>
-<li><p><strong>inputs</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#list" title="(in Python v3.12)"><em>list</em></a>) – List of object files or tar files</p></li>
+<li><p><strong>output</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The target static library.</p></li>
+<li><p><strong>inputs</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#list" title="(in Python v3.13)"><em>list</em></a>) – List of object files or tar files</p></li>
</ul>
</dd>
</dl>
@@ -951,20 +951,20 @@ Run asynchrously in MXNet’s async engine.</p>
<dl class="py function">
<dt class="sig sig-object py" id="tvm.contrib.ndk.get_global_symbol_section_map">
-<span class="sig-prename descclassname"><span class="pre">tvm.contrib.ndk.</span></span><span class="sig-name descname"><span class="pre">get_global_symbol_section_map</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">path</span></span></em>, <em class="sig-param"><span class="o"><span class="pre">*</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">nm</span></span><span class="o"><span class="pre">=</span></span [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.contrib.ndk.</span></span><span class="sig-name descname"><span class="pre">get_global_symbol_section_map</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">path</span></span></em>, <em class="sig-param"><span class="o"><span class="pre">*</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">nm</span></span><span class="o"><span class="pre">=</span></span [...]
<dd><p>Get global symbols from a library via nm -gU in NDK</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>path</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The library path</p></li>
-<li><p><strong>nm</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The path to nm command</p></li>
+<li><p><strong>path</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The library path</p></li>
+<li><p><strong>nm</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The path to nm command</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p><strong>symbol_section_map</strong> – A map from defined global symbol to their sections</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p>Dict[<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)">str</a>, <a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)">str</a>]</p>
+<dd class="field-odd"><p>Dict[<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)">str</a>, <a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)">str</a>]</p>
</dd>
</dl>
</dd></dl>
@@ -1015,9 +1015,9 @@ FP32 elements.</p></li>
[kernel_width] of FP32 elements.</p></li>
<li><p><strong>bias</strong> (<a class="reference internal" href="te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – bias 1D array bias[output_channels][input_channels][kernel_height]
[kernel_width] of FP32 elements.</p></li>
-<li><p><strong>padding</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#list" title="(in Python v3.12)"><em>list</em></a>) – padding A 4-dim list of [pad_top, pad_bottom, pad_left, pad_right],
+<li><p><strong>padding</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#list" title="(in Python v3.13)"><em>list</em></a>) – padding A 4-dim list of [pad_top, pad_bottom, pad_left, pad_right],
which indicates the padding around the feature map.</p></li>
-<li><p><strong>stride</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#list" title="(in Python v3.12)"><em>list</em></a>) – stride A 2-dim list of [stride_height, stride_width], which indicates
+<li><p><strong>stride</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#list" title="(in Python v3.13)"><em>list</em></a>) – stride A 2-dim list of [stride_height, stride_width], which indicates
the stride.</p></li>
</ul>
</dd>
@@ -1045,9 +1045,9 @@ FP32 elements.</p></li>
[tile] of FP32 elements.</p></li>
<li><p><strong>bias</strong> (<a class="reference internal" href="te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – bias 1D array bias[output_channels][input_channels][kernel_height]
[kernel_width] of FP32 elements.</p></li>
-<li><p><strong>padding</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#list" title="(in Python v3.12)"><em>list</em></a>) – padding A 4-dim list of [pad_top, pad_bottom, pad_left, pad_right],
+<li><p><strong>padding</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#list" title="(in Python v3.13)"><em>list</em></a>) – padding A 4-dim list of [pad_top, pad_bottom, pad_left, pad_right],
which indicates the padding around the feature map.</p></li>
-<li><p><strong>stride</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#list" title="(in Python v3.12)"><em>list</em></a>) – stride A 2-dim list of [stride_height, stride_width], which indicates
+<li><p><strong>stride</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#list" title="(in Python v3.13)"><em>list</em></a>) – stride A 2-dim list of [stride_height, stride_width], which indicates
the stride.</p></li>
</ul>
</dd>
@@ -1092,18 +1092,18 @@ of FP32 elements.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>code</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The cuda code.</p></li>
-<li><p><strong>target_format</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The target format of nvcc compiler.</p></li>
-<li><p><strong>arch</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The cuda architecture.</p></li>
-<li><p><strong>options</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em> or </em><em>list of str</em>) – The additional options.</p></li>
-<li><p><strong>path_target</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><em>optional</em>) – Output file.</p></li>
+<li><p><strong>code</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The cuda code.</p></li>
+<li><p><strong>target_format</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The target format of nvcc compiler.</p></li>
+<li><p><strong>arch</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The cuda architecture.</p></li>
+<li><p><strong>options</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em> or </em><em>list of str</em>) – The additional options.</p></li>
+<li><p><strong>path_target</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><em>optional</em>) – Output file.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p><strong>cubin</strong> – The bytearray of the cubin</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#bytearray" title="(in Python v3.12)">bytearray</a></p>
+<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#bytearray" title="(in Python v3.13)">bytearray</a></p>
</dd>
</dl>
</dd></dl>
@@ -1117,7 +1117,7 @@ of FP32 elements.</p>
<dd class="field-odd"><p><strong>path</strong> – Path to cuda root.</p>
</dd>
<dt class="field-even">Return type</dt>
-<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)">str</a></p>
+<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)">str</a></p>
</dd>
</dl>
</dd></dl>
@@ -1128,14 +1128,14 @@ of FP32 elements.</p>
<dd><p>Utility function to get cuda version</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>cuda_path</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em>) – Path to cuda root. If None is passed, will use
+<dd class="field-odd"><p><strong>cuda_path</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em>) – Path to cuda root. If None is passed, will use
<cite>find_cuda_path()</cite> as default.</p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p><strong>version</strong> – The cuda version</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.12)">float</a></p>
+<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.13)">float</a></p>
</dd>
</dl>
</dd></dl>
@@ -1146,7 +1146,7 @@ of FP32 elements.</p>
<dd><p>Parse compute capability string to divide major and minor version</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>compute_version</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – compute capability of a GPU (e.g. “6.0”)</p>
+<dd class="field-odd"><p><strong>compute_version</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – compute capability of a GPU (e.g. “6.0”)</p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p><ul class="simple">
@@ -1164,7 +1164,7 @@ of FP32 elements.</p>
<dd><p>Either fp16 support is provided in the compute capability or not</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>compute_version</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – compute capability of a GPU (e.g. “6.0”)</p>
+<dd class="field-odd"><p><strong>compute_version</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – compute capability of a GPU (e.g. “6.0”)</p>
</dd>
</dl>
</dd></dl>
@@ -1175,7 +1175,7 @@ of FP32 elements.</p>
<dd><p>Either int8 support is provided in the compute capability or not</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>compute_version</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – compute capability of a GPU (e.g. “6.1”)</p>
+<dd class="field-odd"><p><strong>compute_version</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – compute capability of a GPU (e.g. “6.1”)</p>
</dd>
</dl>
</dd></dl>
@@ -1187,7 +1187,7 @@ of FP32 elements.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>compute_version</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><em>optional</em>) – compute capability of a GPU (e.g. “7.0”).</p></li>
+<li><p><strong>compute_version</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><em>optional</em>) – compute capability of a GPU (e.g. “7.0”).</p></li>
<li><p><strong>target</strong> (<a class="reference internal" href="target.html#tvm.target.Target" title="tvm.target.Target"><em>tvm.target.Target</em></a><em>, </em><em>optional</em>) – The compilation target, will be used to determine arch if compute_version
isn’t specified.</p></li>
</ul>
@@ -1212,8 +1212,8 @@ isn’t specified.</p></li>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>key</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The file key to the function</p></li>
-<li><p><strong>save_at_exit</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a>) – Whether save the cache to file when the program exits</p></li>
+<li><p><strong>key</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The file key to the function</p></li>
+<li><p><strong>save_at_exit</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – Whether save the cache to file when the program exits</p></li>
</ul>
</dd>
</dl>
@@ -1232,8 +1232,8 @@ isn’t specified.</p></li>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>key</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The unique key to the file</p></li>
-<li><p><strong>save_at_exit</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a>) – Whether save the cache to file when the program exits</p></li>
+<li><p><strong>key</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The unique key to the file</p></li>
+<li><p><strong>save_at_exit</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – Whether save the cache to file when the program exits</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -1258,8 +1258,8 @@ specified dtype in the “half-open” interval [low, high).</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>low</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – Lowest (signed) integer to be drawn from the distribution</p></li>
-<li><p><strong>high</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – One above the largest (signed) integer to be drawn from the distribution</p></li>
+<li><p><strong>low</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – Lowest (signed) integer to be drawn from the distribution</p></li>
+<li><p><strong>high</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – One above the largest (signed) integer to be drawn from the distribution</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -1281,9 +1281,9 @@ given interval is equally likely to be drawn by uniform.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>low</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.12)"><em>float</em></a>) – Lower boundary of the output interval. All values generated will be
+<li><p><strong>low</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.13)"><em>float</em></a>) – Lower boundary of the output interval. All values generated will be
greater than or equal to low.</p></li>
-<li><p><strong>high</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.12)"><em>float</em></a>) – Upper boundary of the output interval. All values generated will be
+<li><p><strong>high</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.13)"><em>float</em></a>) – Upper boundary of the output interval. All values generated will be
less than high.</p></li>
<li><p><strong>size</strong> (<em>tuple of ints</em>) – Output shape. If the given shape is, e.g., (m, n, k), then m * n * k
samples are drawn.</p></li>
@@ -1306,8 +1306,8 @@ samples are drawn.</p></li>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>loc</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.12)"><em>float</em></a>) – loc of the distribution.</p></li>
-<li><p><strong>scale</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.12)"><em>float</em></a>) – Standard deviation of the distribution.</p></li>
+<li><p><strong>loc</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.13)"><em>float</em></a>) – loc of the distribution.</p></li>
+<li><p><strong>scale</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.13)"><em>float</em></a>) – Standard deviation of the distribution.</p></li>
<li><p><strong>size</strong> (<em>tuple of ints</em>) – Output shape. If the given shape is, e.g., (m, n, k), then m * n * k
samples are drawn.</p></li>
</ul>
@@ -1327,13 +1327,13 @@ samples are drawn.</p></li>
<p>Relay IR Visualizer</p>
<dl class="py class">
<dt class="sig sig-object py" id="tvm.contrib.relay_viz.RelayVisualizer">
-<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.contrib.relay_viz.</span></span><span class="sig-name descname"><span class="pre">RelayVisualizer</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">relay_mod</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="ir.html#tvm.ir.IRModule" title="tvm.ir.module.IRM [...]
+<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.contrib.relay_viz.</span></span><span class="sig-name descname"><span class="pre">RelayVisualizer</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">relay_mod</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="ir.html#tvm.ir.IRModule" title="tvm.ir.module.IRM [...]
<dd><p>Relay IR Visualizer</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>relay_mod</strong> (<em>tvm.IRModule</em>) – Relay IR module.</p></li>
-<li><p><strong>relay_param</strong> (<a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.12)"><em>None</em></a><em> | </em><em>Dict</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><em>tvm.runtime.NDArray</em><em>]</em>) – Relay parameter dictionary. Default <cite>None</cite>.</p></li>
+<li><p><strong>relay_param</strong> (<a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><em>None</em></a><em> | </em><em>Dict</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><em>tvm.runtime.NDArray</em><em>]</em>) – Relay parameter dictionary. Default <cite>None</cite>.</p></li>
<li><p><strong>plotter</strong> (<a class="reference internal" href="#tvm.contrib.relay_viz.interface.Plotter" title="tvm.contrib.relay_viz.interface.Plotter"><em>Plotter</em></a>) – An instance of class inheriting from Plotter interface.
Default is an instance of <cite>terminal.TermPlotter</cite>.</p></li>
<li><p><strong>parser</strong> (<a class="reference internal" href="#tvm.contrib.relay_viz.interface.VizParser" title="tvm.contrib.relay_viz.interface.VizParser"><em>VizParser</em></a>) – An instance of class inheriting from VizParser interface.
@@ -1346,23 +1346,23 @@ Default is an instance of <cite>terminal.TermVizParser</cite>.</p></li>
<span class="target" id="module-tvm.contrib.relay_viz.dot"></span><p>Visualize Relay IR by Graphviz DOT language.</p>
<dl class="py class">
<dt class="sig sig-object py" id="tvm.contrib.relay_viz.dot.DotGraph">
-<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.contrib.relay_viz.dot.</span></span><span class="sig-name descname"><span class="pre">DotGraph</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" titl [...]
+<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.contrib.relay_viz.dot.</span></span><span class="sig-name descname"><span class="pre">DotGraph</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" titl [...]
<dd><p>DOT graph for relay IR.</p>
<p>See also <a class="reference internal" href="#tvm.contrib.relay_viz.dot.DotPlotter" title="tvm.contrib.relay_viz.dot.DotPlotter"><code class="xref py py-class docutils literal notranslate"><span class="pre">tvm.contrib.relay_viz.dot.DotPlotter</span></code></a></p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – name of this graph.</p></li>
-<li><p><strong>graph_attr</strong> (<em>Optional</em><em>[</em><em>Dict</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em><em>]</em>) – key-value pairs for the graph.</p></li>
-<li><p><strong>node_attr</strong> (<em>Optional</em><em>[</em><em>Dict</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em><em>]</em>) – key-value pairs for all nodes.</p></li>
-<li><p><strong>edge_attr</strong> (<em>Optional</em><em>[</em><em>Dict</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em><em>]</em>) – key-value pairs for all edges.</p></li>
-<li><p><strong>get_node_attr</strong> (<em>Optional</em><em>[</em><em>Callable</em><em>[</em><em>[</em><a class="reference internal" href="#tvm.contrib.relay_viz.interface.VizNode" title="tvm.contrib.relay_viz.interface.VizNode"><em>VizNode</em></a><em>]</em><em>, </em><em>Dict</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><a class="reference external" href="https://docs.python.o [...]
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – name of this graph.</p></li>
+<li><p><strong>graph_attr</strong> (<em>Optional</em><em>[</em><em>Dict</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em><em>]</em>) – key-value pairs for the graph.</p></li>
+<li><p><strong>node_attr</strong> (<em>Optional</em><em>[</em><em>Dict</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em><em>]</em>) – key-value pairs for all nodes.</p></li>
+<li><p><strong>edge_attr</strong> (<em>Optional</em><em>[</em><em>Dict</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em><em>]</em>) – key-value pairs for all edges.</p></li>
+<li><p><strong>get_node_attr</strong> (<em>Optional</em><em>[</em><em>Callable</em><em>[</em><em>[</em><a class="reference internal" href="#tvm.contrib.relay_viz.interface.VizNode" title="tvm.contrib.relay_viz.interface.VizNode"><em>VizNode</em></a><em>]</em><em>, </em><em>Dict</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><a class="reference external" href="https://docs.python.o [...]
</ul>
</dd>
</dl>
<dl class="py method">
<dt class="sig sig-object py" id="tvm.contrib.relay_viz.dot.DotGraph.node">
-<span class="sig-name descname"><span class="pre">node</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">viz_node</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="#tvm.contrib.relay_viz.interface.VizNode" title="tvm.contrib.relay_viz.interface.VizNode"><span class="pre">tvm.contrib.relay_viz.interface.VizNode</span></a></span></em><span class="sig-paren">)</span> <span cla [...]
+<span class="sig-name descname"><span class="pre">node</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">viz_node</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="#tvm.contrib.relay_viz.interface.VizNode" title="tvm.contrib.relay_viz.interface.VizNode"><span class="pre">tvm.contrib.relay_viz.interface.VizNode</span></a></span></em><span class="sig-paren">)</span> <span cla [...]
<dd><p>Add a node to the underlying graph.
Nodes in a Relay IR Module are expected to be added in the post-order.</p>
<dl class="field-list simple">
@@ -1374,7 +1374,7 @@ Nodes in a Relay IR Module are expected to be added in the post-order.</p>
<dl class="py method">
<dt class="sig sig-object py" id="tvm.contrib.relay_viz.dot.DotGraph.edge">
-<span class="sig-name descname"><span class="pre">edge</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">viz_edge</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="#tvm.contrib.relay_viz.interface.VizEdge" title="tvm.contrib.relay_viz.interface.VizEdge"><span class="pre">tvm.contrib.relay_viz.interface.VizEdge</span></a></span></em><span class="sig-paren">)</span> <span cla [...]
+<span class="sig-name descname"><span class="pre">edge</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">viz_edge</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="#tvm.contrib.relay_viz.interface.VizEdge" title="tvm.contrib.relay_viz.interface.VizEdge"><span class="pre">tvm.contrib.relay_viz.interface.VizEdge</span></a></span></em><span class="sig-paren">)</span> <span cla [...]
<dd><p>Add an edge to the underlying graph.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
@@ -1387,18 +1387,18 @@ Nodes in a Relay IR Module are expected to be added in the post-order.</p>
<dl class="py class">
<dt class="sig sig-object py" id="tvm.contrib.relay_viz.dot.DotPlotter">
-<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.contrib.relay_viz.dot.</span></span><span class="sig-name descname"><span class="pre">DotPlotter</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">graph_attr</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Optional</span><span class="p"><span class="pre">[</span></span><sp [...]
+<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.contrib.relay_viz.dot.</span></span><span class="sig-name descname"><span class="pre">DotPlotter</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">graph_attr</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Optional</span><span class="p"><span class="pre">[</span></span><sp [...]
<dd><p>DOT language graph plotter</p>
<p>The plotter accepts various graphviz attributes for graphs, nodes, and edges.
Please refer to <a class="reference external" href="https://graphviz.org/doc/info/attrs.html">https://graphviz.org/doc/info/attrs.html</a> for available attributes.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>graph_attr</strong> (<em>Optional</em><em>[</em><em>Dict</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em><em>]</em>) – key-value pairs for all graphs.</p></li>
-<li><p><strong>node_attr</strong> (<em>Optional</em><em>[</em><em>Dict</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em><em>]</em>) – key-value pairs for all nodes.</p></li>
-<li><p><strong>edge_attr</strong> (<em>Optional</em><em>[</em><em>Dict</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em><em>]</em>) – key-value pairs for all edges.</p></li>
-<li><p><strong>get_node_attr</strong> (<em>Optional</em><em>[</em><em>Callable</em><em>[</em><em>[</em><a class="reference internal" href="#tvm.contrib.relay_viz.interface.VizNode" title="tvm.contrib.relay_viz.interface.VizNode"><em>VizNode</em></a><em>]</em><em>, </em><em>Dict</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><a class="reference external" href="https://docs.python.o [...]
-<li><p><strong>render_kwargs</strong> (<em>Optional</em><em>[</em><em>Dict</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><a class="reference internal" href="tir/tir.html#tvm.tir.Any" title="tvm.tir.Any"><em>Any</em></a><em>]</em><em>]</em>) – keyword arguments directly passed to <cite>graphviz.Digraph.render()</cite>.</p></li>
+<li><p><strong>graph_attr</strong> (<em>Optional</em><em>[</em><em>Dict</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em><em>]</em>) – key-value pairs for all graphs.</p></li>
+<li><p><strong>node_attr</strong> (<em>Optional</em><em>[</em><em>Dict</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em><em>]</em>) – key-value pairs for all nodes.</p></li>
+<li><p><strong>edge_attr</strong> (<em>Optional</em><em>[</em><em>Dict</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em><em>]</em>) – key-value pairs for all edges.</p></li>
+<li><p><strong>get_node_attr</strong> (<em>Optional</em><em>[</em><em>Callable</em><em>[</em><em>[</em><a class="reference internal" href="#tvm.contrib.relay_viz.interface.VizNode" title="tvm.contrib.relay_viz.interface.VizNode"><em>VizNode</em></a><em>]</em><em>, </em><em>Dict</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><a class="reference external" href="https://docs.python.o [...]
+<li><p><strong>render_kwargs</strong> (<em>Optional</em><em>[</em><em>Dict</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><a class="reference internal" href="tir/tir.html#tvm.tir.Any" title="tvm.tir.Any"><em>Any</em></a><em>]</em><em>]</em>) – keyword arguments directly passed to <cite>graphviz.Digraph.render()</cite>.</p></li>
</ul>
</dd>
</dl>
@@ -1446,7 +1446,7 @@ Please refer to <a class="reference external" href="https://graphviz.org/doc/inf
<dd><p>Create a VizGraph</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – the name of the graph</p>
+<dd class="field-odd"><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – the name of the graph</p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p><strong>rv1</strong></p>
@@ -1459,7 +1459,7 @@ Please refer to <a class="reference external" href="https://graphviz.org/doc/inf
<dl class="py method">
<dt class="sig sig-object py" id="tvm.contrib.relay_viz.dot.DotPlotter.render">
-<span class="sig-name descname"><span class="pre">render</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">filename</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Optional</span><span class="p"><span class="pre">[</span></span><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><span class="pre">str</span></a><span class="p">< [...]
+<span class="sig-name descname"><span class="pre">render</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">filename</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Optional</span><span class="p"><span class="pre">[</span></span><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a><span class="p">< [...]
<dd><p>render the graph generated from the Relay IR module.</p>
<p>This function is a thin wrapper of <cite>graphviz.Digraph.render()</cite>.</p>
</dd></dl>
@@ -1473,7 +1473,7 @@ Please refer to <a class="reference external" href="https://graphviz.org/doc/inf
<dd><p><cite>TermVizParser</cite> parse nodes and edges for <cite>TermPlotter</cite>.</p>
<dl class="py method">
<dt class="sig sig-object py" id="tvm.contrib.relay_viz.terminal.TermVizParser.get_node_edges">
-<span class="sig-name descname"><span class="pre">get_node_edges</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">node</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="ir.html#tvm.ir.RelayExpr" title="tvm.ir.expr.RelayExpr"><span class="pre">tvm.ir.expr.RelayExpr</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">relay_param</span></span><span [...]
+<span class="sig-name descname"><span class="pre">get_node_edges</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">node</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="ir.html#tvm.ir.RelayExpr" title="tvm.ir.expr.RelayExpr"><span class="pre">tvm.ir.expr.RelayExpr</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">relay_param</span></span><span [...]
<dd><p>Parse a node and edges from a relay.Expr.</p>
</dd></dl>
@@ -1487,16 +1487,16 @@ Please refer to <a class="reference external" href="https://graphviz.org/doc/inf
<dl class="py class">
<dt class="sig sig-object py" id="tvm.contrib.relay_viz.terminal.TermGraph">
-<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.contrib.relay_viz.terminal.</span></span><span class="sig-name descname"><span class="pre">TermGraph</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str [...]
+<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.contrib.relay_viz.terminal.</span></span><span class="sig-name descname"><span class="pre">TermGraph</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str [...]
<dd><p>Terminal graph for a relay IR Module</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – name of this graph.</p>
+<dd class="field-odd"><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – name of this graph.</p>
</dd>
</dl>
<dl class="py method">
<dt class="sig sig-object py" id="tvm.contrib.relay_viz.terminal.TermGraph.node">
-<span class="sig-name descname"><span class="pre">node</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">viz_node</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="#tvm.contrib.relay_viz.interface.VizNode" title="tvm.contrib.relay_viz.interface.VizNode"><span class="pre">tvm.contrib.relay_viz.interface.VizNode</span></a></span></em><span class="sig-paren">)</span> <span cla [...]
+<span class="sig-name descname"><span class="pre">node</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">viz_node</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="#tvm.contrib.relay_viz.interface.VizNode" title="tvm.contrib.relay_viz.interface.VizNode"><span class="pre">tvm.contrib.relay_viz.interface.VizNode</span></a></span></em><span class="sig-paren">)</span> <span cla [...]
<dd><p>Add a node to the underlying graph.
Nodes in a Relay IR Module are expected to be added in the post-order.</p>
<dl class="field-list simple">
@@ -1508,7 +1508,7 @@ Nodes in a Relay IR Module are expected to be added in the post-order.</p>
<dl class="py method">
<dt class="sig sig-object py" id="tvm.contrib.relay_viz.terminal.TermGraph.edge">
-<span class="sig-name descname"><span class="pre">edge</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">viz_edge</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="#tvm.contrib.relay_viz.interface.VizEdge" title="tvm.contrib.relay_viz.interface.VizEdge"><span class="pre">tvm.contrib.relay_viz.interface.VizEdge</span></a></span></em><span class="sig-paren">)</span> <span cla [...]
+<span class="sig-name descname"><span class="pre">edge</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">viz_edge</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="#tvm.contrib.relay_viz.interface.VizEdge" title="tvm.contrib.relay_viz.interface.VizEdge"><span class="pre">tvm.contrib.relay_viz.interface.VizEdge</span></a></span></em><span class="sig-paren">)</span> <span cla [...]
<dd><p>Add an edge to the terminal graph.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
@@ -1519,14 +1519,14 @@ Nodes in a Relay IR Module are expected to be added in the post-order.</p>
<dl class="py method">
<dt class="sig sig-object py" id="tvm.contrib.relay_viz.terminal.TermGraph.render">
-<span class="sig-name descname"><span class="pre">render</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><span class="pre">str</span></a></span></span><a class="headerlink" href="#tvm.contrib.relay_viz.terminal.TermGraph.render" title="Permal [...]
+<span class="sig-name descname"><span class="pre">render</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a></span></span><a class="headerlink" href="#tvm.contrib.relay_viz.terminal.TermGraph.render" title="Permal [...]
<dd><p>Draw a terminal graph</p>
<dl class="field-list simple">
<dt class="field-odd">Returns</dt>
<dd class="field-odd"><p><strong>rv1</strong> – text representing a graph.</p>
</dd>
<dt class="field-even">Return type</dt>
-<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)">str</a></p>
+<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)">str</a></p>
</dd>
</dl>
</dd></dl>
@@ -1543,7 +1543,7 @@ Nodes in a Relay IR Module are expected to be added in the post-order.</p>
<dd><p>Create a VizGraph</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – the name of the graph</p>
+<dd class="field-odd"><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – the name of the graph</p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p><strong>rv1</strong></p>
@@ -1565,14 +1565,14 @@ Nodes in a Relay IR Module are expected to be added in the post-order.</p>
<span class="target" id="module-tvm.contrib.relay_viz.interface"></span><p>Abstract class used by <a class="reference internal" href="#tvm.contrib.relay_viz.RelayVisualizer" title="tvm.contrib.relay_viz.RelayVisualizer"><code class="xref py py-class docutils literal notranslate"><span class="pre">tvm.contrib.relay_viz.RelayVisualizer</span></code></a>.</p>
<dl class="py class">
<dt class="sig sig-object py" id="tvm.contrib.relay_viz.interface.VizNode">
-<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.contrib.relay_viz.interface.</span></span><span class="sig-name descname"><span class="pre">VizNode</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">node_id</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#s [...]
+<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.contrib.relay_viz.interface.</span></span><span class="sig-name descname"><span class="pre">VizNode</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">node_id</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#s [...]
<dd><p>VizNode carry node information for <cite>VizGraph</cite> interface.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>node_id</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Unique identifier for this node.</p></li>
-<li><p><strong>node_type</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Type of this node.</p></li>
-<li><p><strong>node_detail</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Any supplement for this node such as attributes.</p></li>
+<li><p><strong>node_id</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Unique identifier for this node.</p></li>
+<li><p><strong>node_type</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Type of this node.</p></li>
+<li><p><strong>node_detail</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Any supplement for this node such as attributes.</p></li>
</ul>
</dd>
</dl>
@@ -1580,13 +1580,13 @@ Nodes in a Relay IR Module are expected to be added in the post-order.</p>
<dl class="py class">
<dt class="sig sig-object py" id="tvm.contrib.relay_viz.interface.VizEdge">
-<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.contrib.relay_viz.interface.</span></span><span class="sig-name descname"><span class="pre">VizEdge</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">start_node</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.htm [...]
+<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.contrib.relay_viz.interface.</span></span><span class="sig-name descname"><span class="pre">VizEdge</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">start_node</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.htm [...]
<dd><p>VizEdge connect two <cite>VizNode</cite>.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>start_node</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The identifier of the node starting the edge.</p></li>
-<li><p><strong>end_node</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The identifier of the node ending the edge.</p></li>
+<li><p><strong>start_node</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The identifier of the node starting the edge.</p></li>
+<li><p><strong>end_node</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The identifier of the node ending the edge.</p></li>
</ul>
</dd>
</dl>
@@ -1598,14 +1598,14 @@ Nodes in a Relay IR Module are expected to be added in the post-order.</p>
<dd><p>VizParser parses out a VizNode and VizEdges from a <cite>relay.Expr</cite>.</p>
<dl class="py method">
<dt class="sig sig-object py" id="tvm.contrib.relay_viz.interface.VizParser.get_node_edges">
-<em class="property"><span class="pre">abstract</span> </em><span class="sig-name descname"><span class="pre">get_node_edges</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">node</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="ir.html#tvm.ir.RelayExpr" title="tvm.ir.expr.RelayExpr"><span class="pre">tvm.ir.expr.RelayExpr</span></a></span></em>, <em class="sig-param"><spa [...]
+<em class="property"><span class="pre">abstract</span> </em><span class="sig-name descname"><span class="pre">get_node_edges</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">node</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="ir.html#tvm.ir.RelayExpr" title="tvm.ir.expr.RelayExpr"><span class="pre">tvm.ir.expr.RelayExpr</span></a></span></em>, <em class="sig-param"><spa [...]
<dd><p>Get VizNode and VizEdges for a <cite>relay.Expr</cite>.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>node</strong> (<em>relay.Expr</em>) – relay.Expr which will be parsed and generate a node and edges.</p></li>
-<li><p><strong>relay_param</strong> (<em>Dict</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><em>tvm.runtime.NDArray</em><em>]</em>) – relay parameters dictionary.</p></li>
-<li><p><strong>node_to_id</strong> (<em>Dict</em><em>[</em><em>relay.Expr</em><em>, </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em>) – This is a mapping from relay.Expr to a unique id, generated by <cite>RelayVisualizer</cite>.</p></li>
+<li><p><strong>relay_param</strong> (<em>Dict</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><em>tvm.runtime.NDArray</em><em>]</em>) – relay parameters dictionary.</p></li>
+<li><p><strong>node_to_id</strong> (<em>Dict</em><em>[</em><em>relay.Expr</em><em>, </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em>) – This is a mapping from relay.Expr to a unique id, generated by <cite>RelayVisualizer</cite>.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -1628,7 +1628,7 @@ Can be empty list to indicate no connectivity.</p></li>
<dd><p>Abstract class for graph, which is composed of nodes and edges.</p>
<dl class="py method">
<dt class="sig sig-object py" id="tvm.contrib.relay_viz.interface.VizGraph.node">
-<em class="property"><span class="pre">abstract</span> </em><span class="sig-name descname"><span class="pre">node</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">viz_node</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="#tvm.contrib.relay_viz.interface.VizNode" title="tvm.contrib.relay_viz.interface.VizNode"><span class="pre">tvm.contrib.relay_viz.interface.VizNode</spa [...]
+<em class="property"><span class="pre">abstract</span> </em><span class="sig-name descname"><span class="pre">node</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">viz_node</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="#tvm.contrib.relay_viz.interface.VizNode" title="tvm.contrib.relay_viz.interface.VizNode"><span class="pre">tvm.contrib.relay_viz.interface.VizNode</spa [...]
<dd><p>Add a node to the underlying graph.
Nodes in a Relay IR Module are expected to be added in the post-order.</p>
<dl class="field-list simple">
@@ -1640,7 +1640,7 @@ Nodes in a Relay IR Module are expected to be added in the post-order.</p>
<dl class="py method">
<dt class="sig sig-object py" id="tvm.contrib.relay_viz.interface.VizGraph.edge">
-<em class="property"><span class="pre">abstract</span> </em><span class="sig-name descname"><span class="pre">edge</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">viz_edge</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="#tvm.contrib.relay_viz.interface.VizEdge" title="tvm.contrib.relay_viz.interface.VizEdge"><span class="pre">tvm.contrib.relay_viz.interface.VizEdge</spa [...]
+<em class="property"><span class="pre">abstract</span> </em><span class="sig-name descname"><span class="pre">edge</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">viz_edge</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="#tvm.contrib.relay_viz.interface.VizEdge" title="tvm.contrib.relay_viz.interface.VizEdge"><span class="pre">tvm.contrib.relay_viz.interface.VizEdge</spa [...]
<dd><p>Add an edge to the underlying graph.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
@@ -1659,14 +1659,14 @@ These logics are inspired and heavily based on
<cite>visualize</cite> function in <a class="reference external" href="https://tvm.apache.org/2020/07/14/bert-pytorch-tvm">https://tvm.apache.org/2020/07/14/bert-pytorch-tvm</a></p>
<dl class="py method">
<dt class="sig sig-object py" id="tvm.contrib.relay_viz.interface.DefaultVizParser.get_node_edges">
-<span class="sig-name descname"><span class="pre">get_node_edges</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">node</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="ir.html#tvm.ir.RelayExpr" title="tvm.ir.expr.RelayExpr"><span class="pre">tvm.ir.expr.RelayExpr</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">relay_param</span></span><span [...]
+<span class="sig-name descname"><span class="pre">get_node_edges</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">node</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="ir.html#tvm.ir.RelayExpr" title="tvm.ir.expr.RelayExpr"><span class="pre">tvm.ir.expr.RelayExpr</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">relay_param</span></span><span [...]
<dd><p>Get VizNode and VizEdges for a <cite>relay.Expr</cite>.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>node</strong> (<em>relay.Expr</em>) – relay.Expr which will be parsed and generate a node and edges.</p></li>
-<li><p><strong>relay_param</strong> (<em>Dict</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><em>tvm.runtime.NDArray</em><em>]</em>) – relay parameters dictionary.</p></li>
-<li><p><strong>node_to_id</strong> (<em>Dict</em><em>[</em><em>relay.Expr</em><em>, </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em>) – This is a mapping from relay.Expr to a unique id, generated by <cite>RelayVisualizer</cite>.</p></li>
+<li><p><strong>relay_param</strong> (<em>Dict</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><em>tvm.runtime.NDArray</em><em>]</em>) – relay parameters dictionary.</p></li>
+<li><p><strong>node_to_id</strong> (<em>Dict</em><em>[</em><em>relay.Expr</em><em>, </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em>) – This is a mapping from relay.Expr to a unique id, generated by <cite>RelayVisualizer</cite>.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -1689,11 +1689,11 @@ Can be empty list to indicate no connectivity.</p></li>
<dd><p>Plotter can render a collection of Graph interfaces to a file.</p>
<dl class="py method">
<dt class="sig sig-object py" id="tvm.contrib.relay_viz.interface.Plotter.create_graph">
-<em class="property"><span class="pre">abstract</span> </em><span class="sig-name descname"><span class="pre">create_graph</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><span class="pre">str</span></a></span></em><span class="sig-paren">) [...]
+<em class="property"><span class="pre">abstract</span> </em><span class="sig-name descname"><span class="pre">create_graph</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a></span></em><span class="sig-paren">) [...]
<dd><p>Create a VizGraph</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – the name of the graph</p>
+<dd class="field-odd"><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – the name of the graph</p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p><strong>rv1</strong></p>
@@ -1706,11 +1706,11 @@ Can be empty list to indicate no connectivity.</p></li>
<dl class="py method">
<dt class="sig sig-object py" id="tvm.contrib.relay_viz.interface.Plotter.render">
-<em class="property"><span class="pre">abstract</span> </em><span class="sig-name descname"><span class="pre">render</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">filename</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><span class="pre">str</span></a></span></em><span class="sig-paren">)</ [...]
+<em class="property"><span class="pre">abstract</span> </em><span class="sig-name descname"><span class="pre">render</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">filename</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a></span></em><span class="sig-paren">)</ [...]
<dd><p>Render the graph as a file.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>filename</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – see the definition of implemented class.</p>
+<dd class="field-odd"><p><strong>filename</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – see the definition of implemented class.</p>
</dd>
</dl>
</dd></dl>
@@ -1730,8 +1730,8 @@ Can be empty list to indicate no connectivity.</p></li>
<dd class="field-odd"><ul class="simple">
<li><p><strong>lhs</strong> (<a class="reference internal" href="te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The left matrix operand</p></li>
<li><p><strong>rhs</strong> (<a class="reference internal" href="te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The right matrix operand</p></li>
-<li><p><strong>transa</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a>) – Whether transpose lhs</p></li>
-<li><p><strong>transb</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a>) – Whether transpose rhs</p></li>
+<li><p><strong>transa</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – Whether transpose lhs</p></li>
+<li><p><strong>transb</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – Whether transpose rhs</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -1752,8 +1752,8 @@ Can be empty list to indicate no connectivity.</p></li>
<dd class="field-odd"><ul class="simple">
<li><p><strong>lhs</strong> (<a class="reference internal" href="te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The left batched matrix operand</p></li>
<li><p><strong>rhs</strong> (<a class="reference internal" href="te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The right batched matrix operand</p></li>
-<li><p><strong>transa</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a>) – Whether transpose lhs</p></li>
-<li><p><strong>transb</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a>) – Whether transpose rhs</p></li>
+<li><p><strong>transa</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – Whether transpose lhs</p></li>
+<li><p><strong>transb</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – Whether transpose rhs</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -1775,7 +1775,7 @@ Can be empty list to indicate no connectivity.</p></li>
<dd><p>Find ld.lld in system.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>required</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a>) – Whether it is required,
+<dd class="field-odd"><p><strong>required</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – Whether it is required,
runtime error will be raised if the compiler is required.</p>
</dd>
<dt class="field-even">Returns</dt>
@@ -1799,9 +1799,9 @@ matches the major llvm version that built with tvm</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>in_file</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Input file name (relocatable ELF object file)</p></li>
-<li><p><strong>out_file</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Output file name (shared ELF object file)</p></li>
-<li><p><strong>lld</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><em>optional</em>) – The lld linker, if not specified,
+<li><p><strong>in_file</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Input file name (relocatable ELF object file)</p></li>
+<li><p><strong>out_file</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Output file name (shared ELF object file)</p></li>
+<li><p><strong>lld</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><em>optional</em>) – The lld linker, if not specified,
we will try to guess the matched clang version.</p></li>
</ul>
</dd>
@@ -1814,7 +1814,7 @@ we will try to guess the matched clang version.</p></li>
<dd><p>Parse compute capability string to divide major and minor version</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>compute_version</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – compute capability of a GPU (e.g. “6.0”)</p>
+<dd class="field-odd"><p><strong>compute_version</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – compute capability of a GPU (e.g. “6.0”)</p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p><ul class="simple">
@@ -1832,13 +1832,13 @@ we will try to guess the matched clang version.</p></li>
<dd><p>Either MatrixCore support is provided in the compute capability or not</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>compute_version</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><em>optional</em>) – compute capability of a GPU (e.g. “7.0”).</p>
+<dd class="field-odd"><p><strong>compute_version</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><em>optional</em>) – compute capability of a GPU (e.g. “7.0”).</p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p><strong>have_matrixcore</strong> – True if MatrixCore support is provided, False otherwise</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)">bool</a></p>
+<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)">bool</a></p>
</dd>
</dl>
</dd></dl>
@@ -1852,7 +1852,7 @@ we will try to guess the matched clang version.</p></li>
<dd class="field-odd"><p><strong>path</strong> – Path to ROCm root.</p>
</dd>
<dt class="field-even">Return type</dt>
-<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)">str</a></p>
+<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)">str</a></p>
</dd>
</dl>
</dd></dl>
@@ -1906,10 +1906,10 @@ in TVM v0.8 release. Please use <cite>numpy</cite> instead.</p>
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>shape</strong> (<em>Tuple of Expr</em>) – The shape of the tensor</p></li>
-<li><p><strong>nonzeros</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – The number of non-zero values</p></li>
-<li><p><strong>dtype</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><em>optional</em>) – The data type of the tensor</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><em>optional</em>) – The name hint of the tensor</p></li>
-<li><p><strong>stype</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><em>optional</em>) – The name storage type of the sparse tensor (e.g. csr, coo, ell)</p></li>
+<li><p><strong>nonzeros</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – The number of non-zero values</p></li>
+<li><p><strong>dtype</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><em>optional</em>) – The data type of the tensor</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><em>optional</em>) – The name hint of the tensor</p></li>
+<li><p><strong>stype</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><em>optional</em>) – The name storage type of the sparse tensor (e.g. csr, coo, ell)</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -1932,13 +1932,13 @@ in TVM v0.8 release. Please use <cite>numpy</cite> instead.</p>
<p>Note that the spirv-opt is still experimental.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>spv_bin</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#bytearray" title="(in Python v3.12)"><em>bytearray</em></a>) – The spirv file</p>
+<dd class="field-odd"><p><strong>spv_bin</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#bytearray" title="(in Python v3.13)"><em>bytearray</em></a>) – The spirv file</p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p><strong>cobj_bin</strong> – The HSA Code Object</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#bytearray" title="(in Python v3.12)">bytearray</a></p>
+<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#bytearray" title="(in Python v3.13)">bytearray</a></p>
</dd>
</dl>
</dd></dl>
@@ -1954,8 +1954,8 @@ in TVM v0.8 release. Please use <cite>numpy</cite> instead.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>output</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The target shared library.</p></li>
-<li><p><strong>files</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#list" title="(in Python v3.12)"><em>list</em></a>) – List of files to be bundled.</p></li>
+<li><p><strong>output</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The target shared library.</p></li>
+<li><p><strong>files</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#list" title="(in Python v3.13)"><em>list</em></a>) – List of files to be bundled.</p></li>
</ul>
</dd>
</dl>
@@ -1968,8 +1968,8 @@ in TVM v0.8 release. Please use <cite>numpy</cite> instead.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>tar_file</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The source tar file.</p></li>
-<li><p><strong>directory</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The target directory</p></li>
+<li><p><strong>tar_file</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The source tar file.</p></li>
+<li><p><strong>directory</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The target directory</p></li>
</ul>
</dd>
</dl>
@@ -1988,14 +1988,14 @@ them into a library.</p>
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>temp</strong> (<a class="reference internal" href="#tvm.contrib.utils.TempDirectory" title="tvm.contrib.utils.TempDirectory"><em>tvm.contrib.utils.TempDirectory</em></a>) – A temp dir to hold the untared files.</p></li>
-<li><p><strong>file_list</strong> (<em>List</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em>) – List of path</p></li>
+<li><p><strong>file_list</strong> (<em>List</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em>) – List of path</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p><strong>ret_list</strong> – An updated list of files</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p>List[<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)">str</a>]</p>
+<dd class="field-odd"><p>List[<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)">str</a>]</p>
</dd>
</dl>
</dd></dl>
@@ -2033,13 +2033,13 @@ them into a library.</p>
<dd><p>Relative path in temp dir</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The name of the file.</p>
+<dd class="field-odd"><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The name of the file.</p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p><strong>path</strong> – The concatenated path.</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)">str</a></p>
+<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)">str</a></p>
</dd>
</dl>
</dd></dl>
@@ -2053,7 +2053,7 @@ them into a library.</p>
<dd class="field-odd"><p><strong>names</strong> – The content of directory</p>
</dd>
<dt class="field-even">Return type</dt>
-<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#list" title="(in Python v3.12)">list</a></p>
+<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#list" title="(in Python v3.13)">list</a></p>
</dd>
</dl>
</dd></dl>
@@ -2067,8 +2067,8 @@ them into a library.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>custom_path</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><em>optional</em>) – Manually specify the exact temp dir path</p></li>
-<li><p><strong>keep_for_debug</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a>) – Keep temp directory for debugging purposes</p></li>
+<li><p><strong>custom_path</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><em>optional</em>) – Manually specify the exact temp dir path</p></li>
+<li><p><strong>keep_for_debug</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – Keep temp directory for debugging purposes</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -2086,7 +2086,7 @@ them into a library.</p>
<dd><p>File lock object</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>path</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The path to the lock</p>
+<dd class="field-odd"><p><strong>path</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The path to the lock</p>
</dd>
</dl>
<dl class="py method">
@@ -2103,7 +2103,7 @@ them into a library.</p>
<dd><p>Create a file lock which locks on path</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>path</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The path to the lock</p>
+<dd class="field-odd"><p><strong>path</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The path to the lock</p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p><strong>lock</strong></p>
@@ -2120,13 +2120,13 @@ them into a library.</p>
<dd><p>Check if path is source code path.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>path</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – A possible path</p>
+<dd class="field-odd"><p><strong>path</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – A possible path</p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p><strong>valid</strong> – Whether path is a possible source path</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)">bool</a></p>
+<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)">bool</a></p>
</dd>
</dl>
</dd></dl>
@@ -2137,13 +2137,13 @@ them into a library.</p>
<dd><p>Try to find full path of exec_name</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>exec_name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The executable name</p>
+<dd class="field-odd"><p><strong>exec_name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The executable name</p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p><strong>path</strong> – The full path of executable if found, otherwise returns None</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)">str</a></p>
+<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)">str</a></p>
</dd>
</dl>
</dd></dl>
@@ -2164,7 +2164,7 @@ them into a library.</p>
<dd class="field-even"><p><strong>out</strong> – The output string.</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)">str</a></p>
+<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)">str</a></p>
</dd>
</dl>
</dd></dl>
@@ -2176,11 +2176,11 @@ them into a library.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>output</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The target shared library.</p></li>
-<li><p><strong>objects</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#list" title="(in Python v3.12)"><em>list</em></a>) – List of object files.</p></li>
-<li><p><strong>options</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The additional options.</p></li>
-<li><p><strong>arch</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Target major architectures</p></li>
-<li><p><strong>sdk</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The sdk to be used.</p></li>
+<li><p><strong>output</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The target shared library.</p></li>
+<li><p><strong>objects</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#list" title="(in Python v3.13)"><em>list</em></a>) – List of object files.</p></li>
+<li><p><strong>options</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The additional options.</p></li>
+<li><p><strong>arch</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Target major architectures</p></li>
+<li><p><strong>sdk</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The sdk to be used.</p></li>
</ul>
</dd>
</dl>
@@ -2193,16 +2193,16 @@ them into a library.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>code</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The cuda code.</p></li>
-<li><p><strong>path_target</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><em>optional</em>) – Output file.</p></li>
-<li><p><strong>sdk</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><em>optional</em>) – The target platform SDK.</p></li>
+<li><p><strong>code</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The cuda code.</p></li>
+<li><p><strong>path_target</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><em>optional</em>) – Output file.</p></li>
+<li><p><strong>sdk</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><em>optional</em>) – The target platform SDK.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p><strong>metallib</strong> – The bytearray of the metallib</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#bytearray" title="(in Python v3.12)">bytearray</a></p>
+<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#bytearray" title="(in Python v3.13)">bytearray</a></p>
</dd>
</dl>
</dd></dl>
diff --git a/docs/reference/api/python/dlight.html b/docs/reference/api/python/dlight.html
index 98e5a9ae63..89ad50b98f 100644
--- a/docs/reference/api/python/dlight.html
+++ b/docs/reference/api/python/dlight.html
@@ -439,47 +439,47 @@
<dl class="py class">
<dt class="sig sig-object py" id="tvm.dlight.BlockInfo">
-<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.dlight.</span></span><span class="sig-name descname"><span class="pre">BlockInfo</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python [...]
+<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.dlight.</span></span><span class="sig-name descname"><span class="pre">BlockInfo</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python [...]
<dd><p>Information about a TIR block.</p>
<dl class="py method">
<dt class="sig sig-object py" id="tvm.dlight.BlockInfo.dom">
-<span class="sig-name descname"><span class="pre">dom</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">List</span><span class="p"><span class="pre">[</span></span><span class="pre">Union</span><span class="p"><span class="pre">[</span></span><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="( [...]
+<span class="sig-name descname"><span class="pre">dom</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">List</span><span class="p"><span class="pre">[</span></span><span class="pre">Union</span><span class="p"><span class="pre">[</span></span><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="( [...]
<dd><p>The iteration domain of the block.</p>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="tvm.dlight.BlockInfo.dom_kind">
-<span class="sig-name descname"><span class="pre">dom_kind</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><span class="pre">str</span></a></span></span><a class="headerlink" href="#tvm.dlight.BlockInfo.dom_kind" title="Permalink to this defi [...]
+<span class="sig-name descname"><span class="pre">dom_kind</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a></span></span><a class="headerlink" href="#tvm.dlight.BlockInfo.dom_kind" title="Permalink to this defi [...]
<dd><p>The iteration domain kind of the block, for example, SSSS, SSSR.</p>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="tvm.dlight.BlockInfo.is_injective">
-<span class="sig-name descname"><span class="pre">is_injective</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><span class="pre">bool</span></a></span></span><a class="headerlink" href="#tvm.dlight.BlockInfo.is_injective" title="Permalink t [...]
+<span class="sig-name descname"><span class="pre">is_injective</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><span class="pre">bool</span></a></span></span><a class="headerlink" href="#tvm.dlight.BlockInfo.is_injective" title="Permalink t [...]
<dd><p>Whether the block is injective, i.e. all its iteration domains are injective.</p>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="tvm.dlight.BlockInfo.is_elementwise">
-<span class="sig-name descname"><span class="pre">is_elementwise</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">sch</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="tir/schedule.html#tvm.tir.schedule.Schedule" title="tvm.tir.schedule.schedule.Schedule"><span class="pre">tvm.tir.schedule.schedule.Schedule</span></a></span></em><span class="sig-paren">)</span> <span class [...]
+<span class="sig-name descname"><span class="pre">is_elementwise</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">sch</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="tir/schedule.html#tvm.tir.schedule.Schedule" title="tvm.tir.schedule.schedule.Schedule"><span class="pre">tvm.tir.schedule.schedule.Schedule</span></a></span></em><span class="sig-paren">)</span> <span class [...]
<dd><p>Whether the block is elementwise, i.e. trivial mapping between read/write region</p>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="tvm.dlight.BlockInfo.is_reduction">
-<span class="sig-name descname"><span class="pre">is_reduction</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><span class="pre">bool</span></a></span></span><a class="headerlink" href="#tvm.dlight.BlockInfo.is_reduction" title="Permalink t [...]
+<span class="sig-name descname"><span class="pre">is_reduction</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><span class="pre">bool</span></a></span></span><a class="headerlink" href="#tvm.dlight.BlockInfo.is_reduction" title="Permalink t [...]
<dd><p>Whether the block is a reduction workload.</p>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="tvm.dlight.BlockInfo.is_gemv">
-<span class="sig-name descname"><span class="pre">is_gemv</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><span class="pre">bool</span></a></span></span><a class="headerlink" href="#tvm.dlight.BlockInfo.is_gemv" title="Permalink to this def [...]
+<span class="sig-name descname"><span class="pre">is_gemv</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><span class="pre">bool</span></a></span></span><a class="headerlink" href="#tvm.dlight.BlockInfo.is_gemv" title="Permalink to this def [...]
<dd><p>Whether the block is a GEMV workload.</p>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="tvm.dlight.BlockInfo.is_gemm">
-<span class="sig-name descname"><span class="pre">is_gemm</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><span class="pre">bool</span></a></span></span><a class="headerlink" href="#tvm.dlight.BlockInfo.is_gemm" title="Permalink to this def [...]
+<span class="sig-name descname"><span class="pre">is_gemm</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><span class="pre">bool</span></a></span></span><a class="headerlink" href="#tvm.dlight.BlockInfo.is_gemm" title="Permalink to this def [...]
<dd><p>Whether the block is a GEMM workload.</p>
</dd></dl>
@@ -491,7 +491,7 @@
<dd><p>Information about a loop/iter var.</p>
<dl class="py property">
<dt class="sig sig-object py" id="tvm.dlight.IterInfo.dom">
-<em class="property"><span class="pre">property</span> </em><span class="sig-name descname"><span class="pre">dom</span></span><em class="property"><span class="pre">:</span> <span class="pre">Union</span><span class="p"><span class="pre">[</span></span><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><span class="pre">int</span></a><span class="p"><span class="pre">,</span> </span><a class="reference internal" href="ir.h [...]
+<em class="property"><span class="pre">property</span> </em><span class="sig-name descname"><span class="pre">dom</span></span><em class="property"><span class="pre">:</span> <span class="pre">Union</span><span class="p"><span class="pre">[</span></span><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><span class="pre">int</span></a><span class="p"><span class="pre">,</span> </span><a class="reference internal" href="ir.h [...]
<dd><p>The iteration domain of the loop.</p>
</dd></dl>
@@ -509,14 +509,14 @@ contain tunable instructions. If the tunable flag is False, the ScheduleRule is
return a Schedule, and the Schedule is not allowed to contain tunable instructions.</p>
<dl class="py method">
<dt class="sig sig-object py" id="tvm.dlight.ScheduleRule.apply">
-<span class="sig-name descname"><span class="pre">apply</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">func</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="tir/tir.html#tvm.tir.PrimFunc" title="tvm.tir.function.PrimFunc"><span class="pre">tvm.tir.function.PrimFunc</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">target</span></span><span [...]
+<span class="sig-name descname"><span class="pre">apply</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">func</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="tir/tir.html#tvm.tir.PrimFunc" title="tvm.tir.function.PrimFunc"><span class="pre">tvm.tir.function.PrimFunc</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">target</span></span><span [...]
<dd><p>Apply the ScheduleRule to the given PrimFunc.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>func</strong> (<a class="reference internal" href="tir/tir.html#tvm.tir.PrimFunc" title="tvm.tir.PrimFunc"><em>tir.PrimFunc</em></a>) – The PrimFunc to apply the ScheduleRule to.</p></li>
<li><p><strong>target</strong> (<a class="reference internal" href="target.html#tvm.target.Target" title="tvm.target.Target"><em>Target</em></a>) – The compilation target the schedule is supposed to be built for.</p></li>
-<li><p><strong>tunable</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a>) – Whether the schedule is allowed to contain tunable instructions.</p></li>
+<li><p><strong>tunable</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – Whether the schedule is allowed to contain tunable instructions.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -524,18 +524,18 @@ return a Schedule, and the Schedule is not allowed to contain tunable instructio
is not applicable to the given PrimFunc.</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p>Union[<a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.12)">None</a>, tir.Schedule, List[tir.Schedule]]</p>
+<dd class="field-odd"><p>Union[<a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)">None</a>, tir.Schedule, List[tir.Schedule]]</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="tvm.dlight.ScheduleRule.from_callable">
-<em class="property"><span class="pre">static</span> </em><span class="sig-name descname"><span class="pre">from_callable</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">Callable</span><span class="p"><span class="pre">[</span></span><span class="p"><span clas [...]
+<em class="property"><span class="pre">static</span> </em><span class="sig-name descname"><span class="pre">from_callable</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">Callable</span><span class="p"><span class="pre">[</span></span><span class="p"><span clas [...]
<dd><p>Create a ScheduleRule from a callable.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – </p>
+<dd class="field-odd"><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – </p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p><strong>decorator</strong> – A decorator that takes a callable and returns a ScheduleRule.</p>
@@ -554,7 +554,7 @@ is not applicable to the given PrimFunc.</p>
<dl class="py method">
<dt class="sig sig-object py" id="tvm.dlight.ScheduleRule.is_target_available">
-<span class="sig-name descname"><span class="pre">is_target_available</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">target</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="target.html#tvm.target.Target" title="tvm.target.target.Target"><span class="pre">tvm.target.target.Target</span></a></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class= [...]
+<span class="sig-name descname"><span class="pre">is_target_available</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">target</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="target.html#tvm.target.Target" title="tvm.target.target.Target"><span class="pre">tvm.target.target.Target</span></a></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class= [...]
<dd><p>Check whether the rule is available for the given target.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
@@ -564,7 +564,7 @@ is not applicable to the given PrimFunc.</p>
<dd class="field-even"><p><strong>available</strong> – Whether the rule is available for the given target.</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)">bool</a></p>
+<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)">bool</a></p>
</dd>
</dl>
</dd></dl>
diff --git a/docs/reference/api/python/driver.html b/docs/reference/api/python/driver.html
index 0f57d4cad7..f06f557533 100644
--- a/docs/reference/api/python/driver.html
+++ b/docs/reference/api/python/driver.html
@@ -433,7 +433,7 @@
<p>Namespace for driver APIs</p>
<dl class="py function">
<dt class="sig sig-object py" id="tvm.lower">
-<span class="sig-prename descclassname"><span class="pre">tvm.</span></span><span class="sig-name descname"><span class="pre">lower</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">inp</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Union</span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="te.html#tvm.te.Schedule" title="tvm.te.schedule.Schedule"><sp [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.</span></span><span class="sig-name descname"><span class="pre">lower</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">inp</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Union</span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="te.html#tvm.te.Schedule" title="tvm.te.schedule.Schedule"><sp [...]
<dd><p>Lowering step before build into target.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
@@ -442,11 +442,11 @@
<li><p><strong>args</strong> (<em>Optional</em><em>[</em><em>List</em><em>[</em><em>Union</em><em>[</em><a class="reference internal" href="tir/tir.html#tvm.tir.Buffer" title="tvm.tir.Buffer"><em>tvm.tir.Buffer</em></a><em>, </em><a class="reference internal" href="te.html#tvm.te.Tensor" title="tvm.te.tensor.Tensor"><em>tensor.Tensor</em></a><em>, </em><a class="reference internal" href="tir/tir.html#tvm.tir.Var" title="tvm.tir.Var"><em>tir.Var</em></a><em>]</em><em>]</em><em>]</em>) – < [...]
<p>It should be None if we want to lower TensorIR.</p>
</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The name of the result function.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The name of the result function.</p></li>
<li><p><strong>binds</strong> (<em>Optional</em><em>[</em><em>Mapping</em><em>[</em><a class="reference internal" href="te.html#tvm.te.Tensor" title="tvm.te.tensor.Tensor"><em>tensor.Tensor</em></a><em>, </em><a class="reference internal" href="tir/tir.html#tvm.tir.Buffer" title="tvm.tir.Buffer"><em>tvm.tir.Buffer</em></a><em>]</em><em>]</em>) – Dictionary that maps the Tensor to Buffer which specified the data layout
requirement of the function. By default, a new compact buffer is created
for each tensor in the argument.</p></li>
-<li><p><strong>simple_mode</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a>) – Whether only output simple and compact statement, this will skip
+<li><p><strong>simple_mode</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – Whether only output simple and compact statement, this will skip
LoopPartition, api wrapper generation and Unrolling.</p></li>
</ul>
</dd>
@@ -461,16 +461,16 @@ LoopPartition, api wrapper generation and Unrolling.</p></li>
<dl class="py function">
<dt class="sig sig-object py" id="tvm.build">
-<span class="sig-prename descclassname"><span class="pre">tvm.</span></span><span class="sig-name descname"><span class="pre">build</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">inputs</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Union</span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="te.html#tvm.te.Schedule" title="tvm.te.schedule.Schedule"> [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.</span></span><span class="sig-name descname"><span class="pre">build</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">inputs</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Union</span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="te.html#tvm.te.Schedule" title="tvm.te.schedule.Schedule"> [...]
<dd><p>Build a function with arguments as signature. Code will be generated
for devices coupled with target information.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>inputs</strong> (<em>Union</em><em>[</em><a class="reference internal" href="te.html#tvm.te.Schedule" title="tvm.te.schedule.Schedule"><em>tvm.te.schedule.Schedule</em></a><em>, </em><a class="reference internal" href="tir/tir.html#tvm.tir.PrimFunc" title="tvm.tir.PrimFunc"><em>tvm.tir.PrimFunc</em></a><em>, </em><a class="reference internal" href="ir.html#tvm.ir.IRModule" title="tvm.ir.IRModule"><em>IRModule</em></a><em>, </em><em>Mapping</em><em>[</em><a class="reference [...]
+<li><p><strong>inputs</strong> (<em>Union</em><em>[</em><a class="reference internal" href="te.html#tvm.te.Schedule" title="tvm.te.schedule.Schedule"><em>tvm.te.schedule.Schedule</em></a><em>, </em><a class="reference internal" href="tir/tir.html#tvm.tir.PrimFunc" title="tvm.tir.PrimFunc"><em>tvm.tir.PrimFunc</em></a><em>, </em><a class="reference internal" href="ir.html#tvm.ir.IRModule" title="tvm.ir.IRModule"><em>IRModule</em></a><em>, </em><em>Mapping</em><em>[</em><a class="reference [...]
<li><p><strong>args</strong> (<em>Optional</em><em>[</em><em>List</em><em>[</em><em>Union</em><em>[</em><a class="reference internal" href="tir/tir.html#tvm.tir.Buffer" title="tvm.tir.Buffer"><em>tvm.tir.Buffer</em></a><em>, </em><a class="reference internal" href="te.html#tvm.te.Tensor" title="tvm.te.tensor.Tensor"><em>tensor.Tensor</em></a><em>, </em><a class="reference internal" href="tir/tir.html#tvm.tir.Var" title="tvm.tir.Var"><em>tir.Var</em></a><em>]</em><em>]</em><em>]</em>) – T [...]
-<li><p><strong>target</strong> (<em>Optional</em><em>[</em><em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><a class="reference internal" href="target.html#tvm.target.Target" title="tvm.target.Target"><em>Target</em></a><em>]</em><em>]</em>) – The target and option of the compilation.</p></li>
-<li><p><strong>target_host</strong> (<em>Optional</em><em>[</em><em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><a class="reference internal" href="target.html#tvm.target.Target" title="tvm.target.Target"><em>Target</em></a><em>]</em><em>]</em>) – Host compilation target, if target is device.
+<li><p><strong>target</strong> (<em>Optional</em><em>[</em><em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><a class="reference internal" href="target.html#tvm.target.Target" title="tvm.target.Target"><em>Target</em></a><em>]</em><em>]</em>) – The target and option of the compilation.</p></li>
+<li><p><strong>target_host</strong> (<em>Optional</em><em>[</em><em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><a class="reference internal" href="target.html#tvm.target.Target" title="tvm.target.Target"><em>Target</em></a><em>]</em><em>]</em>) – Host compilation target, if target is device.
When TVM compiles device specific program such as CUDA,
we also need host(CPU) side code to interact with the driver
setup the dimensions and parameters correctly.
@@ -478,7 +478,7 @@ target_host is used to specify the host side codegen target.
By default, llvm is used if it is enabled,
otherwise a stackvm interpreter is used.</p></li>
<li><p><strong>runtime</strong> (<em>Optional</em><em>[</em><em>Runtime</em><em>]</em>) – Runtime to generate artifacts for</p></li>
-<li><p><strong>name</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em>) – The name of result function.</p></li>
+<li><p><strong>name</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em>) – The name of result function.</p></li>
<li><p><strong>binds</strong> (<em>Optional</em><em>[</em><em>Mapping</em><em>[</em><a class="reference internal" href="te.html#tvm.te.Tensor" title="tvm.te.tensor.Tensor"><em>tensor.Tensor</em></a><em>, </em><a class="reference internal" href="tir/tir.html#tvm.tir.Buffer" title="tvm.tir.Buffer"><em>tvm.tir.Buffer</em></a><em>]</em><em>]</em>) – Dictionary that maps the binding of symbolic buffer to Tensor.
By default, a new buffer is created for each tensor in the argument.</p></li>
</ul>
diff --git a/docs/reference/api/python/error.html b/docs/reference/api/python/error.html
index efbb2c6895..de3bc81b0c 100644
--- a/docs/reference/api/python/error.html
+++ b/docs/reference/api/python/error.html
@@ -504,7 +504,7 @@ copy the examples and raise errors with the same message convention.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>func_name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em> or </em><em>function</em><em> or </em><em>class</em>) – The name of the error function.</p></li>
+<li><p><strong>func_name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em> or </em><em>function</em><em> or </em><em>class</em>) – The name of the error function.</p></li>
<li><p><strong>cls</strong> (<em>function</em>) – The function to create the class</p></li>
</ul>
</dd>
diff --git a/docs/reference/api/python/graph_executor.html b/docs/reference/api/python/graph_executor.html
index 8f043f52f6..74ff377ecc 100644
--- a/docs/reference/api/python/graph_executor.html
+++ b/docs/reference/api/python/graph_executor.html
@@ -438,7 +438,7 @@
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>graph_json_str</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The graph to be deployed in json format output by json graph.
+<li><p><strong>graph_json_str</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The graph to be deployed in json format output by json graph.
The graph can contain operator(tvm_op) that points to the name
of PackedFunc in the libmod.</p></li>
<li><p><strong>libmod</strong> (<em>tvm.runtime.Module</em>) – The module of the corresponding function</p></li>
@@ -533,7 +533,7 @@ of underlying module functions</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>key</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em> or </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The input key</p></li>
+<li><p><strong>key</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em> or </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The input key</p></li>
<li><p><strong>value</strong> (<em>the input value.</em>) – The input value</p></li>
<li><p><strong>params</strong> (<em>dict of str to NDArray</em>) – Additional arguments</p></li>
</ul>
@@ -548,7 +548,7 @@ of underlying module functions</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>key</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em> or </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The input key</p></li>
+<li><p><strong>key</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em> or </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The input key</p></li>
<li><p><strong>value</strong> (<em>the input value in DLPack</em>) – The input value</p></li>
<li><p><strong>params</strong> (<em>dict of str to NDArray</em>) – Additional arguments</p></li>
</ul>
@@ -563,7 +563,7 @@ of underlying module functions</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>key</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em> or </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The output key</p></li>
+<li><p><strong>key</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em> or </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The output key</p></li>
<li><p><strong>value</strong> (<em>the output value in DLPack</em>) – The output value</p></li>
</ul>
</dd>
@@ -590,7 +590,7 @@ of underlying module functions</p>
<dd class="field-odd"><p><strong>count</strong> – The number of outputs.</p>
</dd>
<dt class="field-even">Return type</dt>
-<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)">int</a></p>
+<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)">int</a></p>
</dd>
</dl>
</dd></dl>
@@ -604,7 +604,7 @@ of underlying module functions</p>
<dd class="field-odd"><p><strong>count</strong> – The number of inputs.</p>
</dd>
<dt class="field-even">Return type</dt>
-<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)">int</a></p>
+<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)">int</a></p>
</dd>
</dl>
</dd></dl>
@@ -616,7 +616,7 @@ of underlying module functions</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>index</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – The input index</p></li>
+<li><p><strong>index</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – The input index</p></li>
<li><p><strong>out</strong> (<a class="reference internal" href="runtime/ndarray.html#tvm.runtime.ndarray.NDArray" title="tvm.runtime.ndarray.NDArray"><em>NDArray</em></a>) – The output array container</p></li>
</ul>
</dd>
@@ -629,13 +629,13 @@ of underlying module functions</p>
<dd><p>Get inputs index via input name.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The input key name</p>
+<dd class="field-odd"><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The input key name</p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p><strong>index</strong> – The input index. -1 will be returned if the given input name is not found.</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)">int</a></p>
+<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)">int</a></p>
</dd>
</dl>
</dd></dl>
@@ -671,7 +671,7 @@ are therefore inferred to be input tensors.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>index</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – The output index</p></li>
+<li><p><strong>index</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – The output index</p></li>
<li><p><strong>out</strong> (<a class="reference internal" href="runtime/ndarray.html#tvm.runtime.ndarray.NDArray" title="tvm.runtime.ndarray.NDArray"><em>NDArray</em></a>) – The output array container</p></li>
</ul>
</dd>
@@ -698,7 +698,7 @@ are therefore inferred to be input tensors.</p>
<dd><p>Load parameters from serialized byte array of parameter dict.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>params_bytes</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#bytearray" title="(in Python v3.12)"><em>bytearray</em></a>) – The serialized parameter dict.</p>
+<dd class="field-odd"><p><strong>params_bytes</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#bytearray" title="(in Python v3.13)"><em>bytearray</em></a>) – The serialized parameter dict.</p>
</dd>
</dl>
</dd></dl>
@@ -712,7 +712,7 @@ are therefore inferred to be input tensors.</p>
<dd class="field-odd"><ul class="simple">
<li><p><strong>other</strong> (<em>GraphExecutor</em>) – The parent GraphExecutor from which this instance should share
it’s parameters.</p></li>
-<li><p><strong>params_bytes</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#bytearray" title="(in Python v3.12)"><em>bytearray</em></a>) – The serialized parameter dict (used only for the parameter names).</p></li>
+<li><p><strong>params_bytes</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#bytearray" title="(in Python v3.13)"><em>bytearray</em></a>) – The serialized parameter dict (used only for the parameter names).</p></li>
</ul>
</dd>
</dl>
@@ -741,25 +741,25 @@ switches this behavior to include data transfer operations in the runtime.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>func_name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The function to benchmark. This is ignored if <cite>end_to_end</cite> is true.</p></li>
-<li><p><strong>repeat</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – Number of times to run the outer loop of the timing code (see above). The output will
+<li><p><strong>func_name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The function to benchmark. This is ignored if <cite>end_to_end</cite> is true.</p></li>
+<li><p><strong>repeat</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – Number of times to run the outer loop of the timing code (see above). The output will
contain <cite>repeat</cite> number of datapoints.</p></li>
-<li><p><strong>number</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – Number of times to run the inner loop of the timing code. This inner loop is run in
+<li><p><strong>number</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – Number of times to run the inner loop of the timing code. This inner loop is run in
between the timer starting and stopping. In order to amortize any timing overhead,
<cite>number</cite> should be increased when the runtime of the function is small (less than a 1/10
of a millisecond).</p></li>
-<li><p><strong>min_repeat_ms</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>]</em>) – If set, the inner loop will be run until it takes longer than <cite>min_repeat_ms</cite>
+<li><p><strong>min_repeat_ms</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>]</em>) – If set, the inner loop will be run until it takes longer than <cite>min_repeat_ms</cite>
milliseconds. This can be used to ensure that the function is run enough to get an
accurate measurement.</p></li>
-<li><p><strong>limit_zero_time_iterations</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>]</em>) – The maximum number of repeats when measured time is equal to 0.
+<li><p><strong>limit_zero_time_iterations</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>]</em>) – The maximum number of repeats when measured time is equal to 0.
It helps to avoid hanging during measurements.</p></li>
-<li><p><strong>end_to_end</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a>) – If set, include time to transfer input tensors to the device and time to transfer
+<li><p><strong>end_to_end</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – If set, include time to transfer input tensors to the device and time to transfer
returned tensors in the total runtime. This will give accurate timings for end to end
workloads.</p></li>
-<li><p><strong>cooldown_interval_ms</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>]</em>) – The cooldown interval in milliseconds between the number of repeats defined by
+<li><p><strong>cooldown_interval_ms</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>]</em>) – The cooldown interval in milliseconds between the number of repeats defined by
<cite>repeats_to_cooldown</cite>.</p></li>
-<li><p><strong>repeats_to_cooldown</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>]</em>) – The number of repeats before the cooldown is activated.</p></li>
-<li><p><strong>kwargs</strong> (<em>Dict</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><em>Object</em><em>]</em>) – Named arguments to the function. These are cached before running timing code, so that
+<li><p><strong>repeats_to_cooldown</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>]</em>) – The number of repeats before the cooldown is activated.</p></li>
+<li><p><strong>kwargs</strong> (<em>Dict</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><em>Object</em><em>]</em>) – Named arguments to the function. These are cached before running timing code, so that
data transfer costs are not counted in the runtime.</p></li>
</ul>
</dd>
diff --git a/docs/reference/api/python/instrument.html b/docs/reference/api/python/instrument.html
index 2b37ea4c5d..f817197b1a 100644
--- a/docs/reference/api/python/instrument.html
+++ b/docs/reference/api/python/instrument.html
@@ -450,7 +450,7 @@ in this class definition for more information on each.</p>
<dd class="field-odd"><p></p>
</dd>
<dt class="field-even">Return type</dt>
-<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.12)">None</a></p>
+<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)">None</a></p>
</dd>
</dl>
</dd></dl>
@@ -464,7 +464,7 @@ in this class definition for more information on each.</p>
<dd class="field-odd"><p></p>
</dd>
<dt class="field-even">Return type</dt>
-<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.12)">None</a></p>
+<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)">None</a></p>
</dd>
</dl>
</dd></dl>
@@ -486,7 +486,7 @@ context is active.</p>
<dd class="field-even"><p><strong>should_run</strong> – True to run the pass, or False to skip the pass.</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)">bool</a></p>
+<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)">bool</a></p>
</dd>
</dl>
</dd></dl>
@@ -508,7 +508,7 @@ context is active.</p>
<dd class="field-even"><p></p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.12)">None</a></p>
+<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)">None</a></p>
</dd>
</dl>
</dd></dl>
@@ -530,7 +530,7 @@ context is active.</p>
<dd class="field-even"><p></p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.12)">None</a></p>
+<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)">None</a></p>
</dd>
</dl>
</dd></dl>
diff --git a/docs/reference/api/python/ir.html b/docs/reference/api/python/ir.html
index 6c9fdc9a53..403ccb516c 100644
--- a/docs/reference/api/python/ir.html
+++ b/docs/reference/api/python/ir.html
@@ -615,7 +615,7 @@
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>name_hint</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name of constructor (only a hint).</p></li>
+<li><p><strong>name_hint</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name of constructor (only a hint).</p></li>
<li><p><strong>inputs</strong> (<em>List</em><em>[</em><a class="reference internal" href="#tvm.ir.Type" title="tvm.ir.Type"><em>Type</em></a><em>]</em>) – Input types.</p></li>
<li><p><strong>belong_to</strong> (<a class="reference internal" href="#tvm.ir.GlobalTypeVar" title="tvm.ir.GlobalTypeVar"><em>GlobalTypeVar</em></a>) – Denotes which ADT the constructor belongs to.</p></li>
</ul>
@@ -654,8 +654,8 @@ treated as different types.</p></li>
<dd class="field-odd"><ul class="simple">
<li><p><strong>scale</strong> (<em>Expr</em>) – The scale</p></li>
<li><p><strong>zero_point</strong> (<em>Expr</em>) – The zero_point</p></li>
-<li><p><strong>dtype</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The content data type.</p></li>
-<li><p><strong>axis</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – The axis for per-channel quantization.</p></li>
+<li><p><strong>dtype</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The content data type.</p></li>
+<li><p><strong>axis</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – The axis for per-channel quantization.</p></li>
</ul>
</dd>
</dl>
@@ -736,7 +736,7 @@ Attrs is passed as the first argument to these functions.</p>
<dd><p>Get a python int tuple of a key</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>key</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – </p>
+<dd class="field-odd"><p><strong>key</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – </p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p><strong>value</strong></p>
@@ -753,13 +753,13 @@ Attrs is passed as the first argument to these functions.</p>
<dd><p>Get a python int value of a key</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>key</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – </p>
+<dd class="field-odd"><p><strong>key</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – </p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p><strong>value</strong></p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)">int</a></p>
+<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)">int</a></p>
</dd>
</dl>
</dd></dl>
@@ -770,13 +770,13 @@ Attrs is passed as the first argument to these functions.</p>
<dd><p>Get a python int value of a key</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>key</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – </p>
+<dd class="field-odd"><p><strong>key</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – </p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p><strong>value</strong></p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)">int</a></p>
+<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)">int</a></p>
</dd>
</dl>
</dd></dl>
@@ -840,8 +840,8 @@ Attrs is passed as the first argument to these functions.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>type_key</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The type key of the node.</p></li>
-<li><p><strong>**kwargs</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#dict" title="(in Python v3.12)"><em>dict</em></a>) – The fields of the node.</p></li>
+<li><p><strong>type_key</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The type key of the node.</p></li>
+<li><p><strong>**kwargs</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#dict" title="(in Python v3.13)"><em>dict</em></a>) – The fields of the node.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -889,7 +889,7 @@ default value setup as supported by Attrs.</p>
<dd><p>Get a static env function</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The name of the function.</p>
+<dd class="field-odd"><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The name of the function.</p>
</dd>
</dl>
</dd></dl>
@@ -908,7 +908,7 @@ default value setup as supported by Attrs.</p>
<dd><p>A identifier for a source location.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The name of the source.</p>
+<dd class="field-odd"><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The name of the source.</p>
</dd>
</dl>
</dd></dl>
@@ -921,8 +921,8 @@ default value setup as supported by Attrs.</p>
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>source</strong> (<a class="reference internal" href="#tvm.ir.SourceName" title="tvm.ir.SourceName"><em>SourceName</em></a>) – The source name.</p></li>
-<li><p><strong>lineno</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – The line number.</p></li>
-<li><p><strong>col_offset</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – The column offset of the location.</p></li>
+<li><p><strong>lineno</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – The line number.</p></li>
+<li><p><strong>col_offset</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – The column offset of the location.</p></li>
</ul>
</dd>
</dl>
@@ -950,7 +950,7 @@ after an IR transform.</p>
<dd class="field-odd"><ul class="simple">
<li><p><strong>lhs</strong> (<em>Object</em>) – The left operand.</p></li>
<li><p><strong>rhs</strong> (<em>Object</em>) – The left operand.</p></li>
-<li><p><strong>map_free_vars</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a>) – Whether or not shall we map free vars that does
+<li><p><strong>map_free_vars</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – Whether or not shall we map free vars that does
not bound to any definitions as equal to each other.</p></li>
</ul>
</dd>
@@ -968,7 +968,7 @@ not bound to any definitions as equal to each other.</p></li>
<dd><p>Load tvm object from json_str.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>json_str</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The json string</p>
+<dd class="field-odd"><p><strong>json_str</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The json string</p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p><strong>node</strong> – The loaded tvm node.</p>
@@ -981,7 +981,7 @@ not bound to any definitions as equal to each other.</p></li>
<dl class="py function">
<dt class="sig sig-object py" id="tvm.ir.save_json">
-<span class="sig-prename descclassname"><span class="pre">tvm.ir.</span></span><span class="sig-name descname"><span class="pre">save_json</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">node</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" ti [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.ir.</span></span><span class="sig-name descname"><span class="pre">save_json</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">node</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" ti [...]
<dd><p>Save tvm object as json string.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
@@ -991,7 +991,7 @@ not bound to any definitions as equal to each other.</p></li>
<dd class="field-even"><p><strong>json_str</strong> – Saved json string.</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)">str</a></p>
+<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)">str</a></p>
</dd>
</dl>
</dd></dl>
@@ -1025,7 +1025,7 @@ arguments and let-bindings.</p>
<dd class="field-odd"><ul class="simple">
<li><p><strong>lhs</strong> (<em>Object</em>) – The left operand.</p></li>
<li><p><strong>rhs</strong> (<em>Object</em>) – The left operand.</p></li>
-<li><p><strong>map_free_vars</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a>) – Whether free variables (i.e. variables without a definition site) should be mapped
+<li><p><strong>map_free_vars</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – Whether free variables (i.e. variables without a definition site) should be mapped
as equal to each other.</p></li>
</ul>
</dd>
@@ -1033,7 +1033,7 @@ as equal to each other.</p></li>
<dd class="field-even"><p><strong>result</strong> – The comparison result.</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)">bool</a></p>
+<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)">bool</a></p>
</dd>
</dl>
<div class="admonition seealso">
@@ -1065,7 +1065,7 @@ that the two nodes are structurally equal to each other.</p>
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>node</strong> (<em>Object</em>) – The input to be hashed.</p></li>
-<li><p><strong>map_free_vars</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a>) – If map_free_vars is set to true, we will hash free variables
+<li><p><strong>map_free_vars</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – If map_free_vars is set to true, we will hash free variables
by the order of their occurrences. Otherwise, we will hash by
their in-memory pointer address.</p></li>
</ul>
@@ -1074,7 +1074,7 @@ their in-memory pointer address.</p></li>
<dd class="field-even"><p><strong>result</strong> – The hash result</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)">int</a></p>
+<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)">int</a></p>
</dd>
</dl>
<div class="admonition seealso">
@@ -1128,15 +1128,15 @@ You can use convert to create a dict[Object-> Object] into a Map</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>key</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#object" title="(in Python v3.12)"><em>object</em></a>) – The attribute key.</p></li>
-<li><p><strong>default</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#object" title="(in Python v3.12)"><em>object</em></a>) – The default object.</p></li>
+<li><p><strong>key</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#object" title="(in Python v3.13)"><em>object</em></a>) – The attribute key.</p></li>
+<li><p><strong>default</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#object" title="(in Python v3.13)"><em>object</em></a>) – The default object.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p><strong>value</strong> – The result value.</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#object" title="(in Python v3.12)">object</a></p>
+<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#object" title="(in Python v3.13)">object</a></p>
</dd>
</dl>
</dd></dl>
@@ -1151,13 +1151,13 @@ You can use convert to create a dict[Object-> Object] into a Map</p>
<dl class="py class">
<dt class="sig sig-object py" id="tvm.ir.GlobalVar">
-<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.ir.</span></span><span class="sig-name descname"><span class="pre">GlobalVar</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name_hint</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python [...]
+<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.ir.</span></span><span class="sig-name descname"><span class="pre">GlobalVar</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name_hint</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python [...]
<dd><p>A global variable in the IR.</p>
<p>GlobalVar is used to refer to the global functions
stored in the IRModule.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>name_hint</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The name of the variable.</p>
+<dd class="field-odd"><p><strong>name_hint</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The name of the variable.</p>
</dd>
</dl>
<p><strong>Methods:</strong></p>
@@ -1174,12 +1174,12 @@ stored in the IRModule.</p>
</table>
<dl class="py method">
<dt class="sig sig-object py" id="tvm.ir.GlobalVar.astext">
-<span class="sig-name descname"><span class="pre">astext</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">show_meta_data</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><span class="pre">bool</span></a></span> <span class="o"><span class="pre">=</span></span> <span class="default_value"><spa [...]
+<span class="sig-name descname"><span class="pre">astext</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">show_meta_data</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><span class="pre">bool</span></a></span> <span class="o"><span class="pre">=</span></span> <span class="default_value"><spa [...]
<dd><p>Get the text format of the expression.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>show_meta_data</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a>) – Whether to include meta data section in the text
+<li><p><strong>show_meta_data</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – Whether to include meta data section in the text
if there is meta data.</p></li>
<li><p><strong>annotate</strong> (<em>Optional</em><em>[</em><em>Object->str</em><em>]</em>) – Optionally annotate function to provide additional
information in the comment block.</p></li>
@@ -1189,7 +1189,7 @@ information in the comment block.</p></li>
<dd class="field-even"><p><strong>text</strong> – The text format of the expression.</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)">str</a></p>
+<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)">str</a></p>
</dd>
</dl>
<p class="rubric">Notes</p>
@@ -1361,7 +1361,7 @@ if the end argument is not None. Otherwise, it creates <cite>[0, begin)</cite>.<
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>attr_key_or_dict</strong> (<em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#dict" title="(in Python v3.12)"><em>dict</em></a><em>]</em>) – The attribute key to use or a dict containing multiple key value pairs.</p></li>
+<li><p><strong>attr_key_or_dict</strong> (<em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#dict" title="(in Python v3.13)"><em>dict</em></a><em>]</em>) – The attribute key to use or a dict containing multiple key value pairs.</p></li>
<li><p><strong>attr_value</strong> (<em>Object</em>) – The new attribute value.</p></li>
</ul>
</dd>
@@ -1376,7 +1376,7 @@ if the end argument is not None. Otherwise, it creates <cite>[0, begin)</cite>.<
<dl class="py method">
<dt class="sig sig-object py" id="tvm.ir.BaseFunc.with_attrs">
-<span class="sig-name descname"><span class="pre">with_attrs</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">attr_map</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Union</span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="#tvm.ir.DictAttrs" title="tvm.ir.attrs.DictAttrs"><span class="pre">tvm.ir.attrs.DictAttrs</span></a><span class="p"><span clas [...]
+<span class="sig-name descname"><span class="pre">with_attrs</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">attr_map</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Union</span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="#tvm.ir.DictAttrs" title="tvm.ir.attrs.DictAttrs"><span class="pre">tvm.ir.attrs.DictAttrs</span></a><span class="p"><span clas [...]
<dd><p>Copy the IRModule and add the given attribute map to it.
:param attr_map: The attribute map
:type attr_map: Union[DictAttrs, Dict[str, Object]]</p>
@@ -1392,11 +1392,11 @@ if the end argument is not None. Otherwise, it creates <cite>[0, begin)</cite>.<
<dl class="py method">
<dt class="sig sig-object py" id="tvm.ir.BaseFunc.without_attr">
-<span class="sig-name descname"><span class="pre">without_attr</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">attr_key</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><span class="pre">str</span></a></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return [...]
+<span class="sig-name descname"><span class="pre">without_attr</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">attr_key</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return [...]
<dd><p>Create a new copy of the function with an attribute without provided key.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>attr_key</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The attribute key to delete from the attrubte pairs.</p>
+<dd class="field-odd"><p><strong>attr_key</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The attribute key to delete from the attrubte pairs.</p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p><strong>func</strong> – A new copy of the function</p>
@@ -1446,7 +1446,7 @@ if the end argument is not None. Otherwise, it creates <cite>[0, begin)</cite>.<
<dl class="py class">
<dt class="sig sig-object py" id="tvm.ir.VDevice">
-<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.ir.</span></span><span class="sig-name descname"><span class="pre">VDevice</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">target</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">v [...]
+<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.ir.</span></span><span class="sig-name descname"><span class="pre">VDevice</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">target</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">v [...]
<dd></dd></dl>
<dl class="py class">
@@ -1463,14 +1463,14 @@ read-only memory in the compilation</p>
<dl class="py class">
<dt class="sig sig-object py" id="tvm.ir.ConstantPoolInfo">
-<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.ir.</span></span><span class="sig-name descname"><span class="pre">ConstantPoolInfo</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">pool_name</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in [...]
+<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.ir.</span></span><span class="sig-name descname"><span class="pre">ConstantPoolInfo</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">pool_name</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in [...]
<dd><p>ConstantPoolInfo object holds information related to RO memory pools
where the statically sized allocate nodes are pooled into.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>pool_name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The name of the memory pool</p></li>
-<li><p><strong>targets</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#list" title="(in Python v3.12)"><em>list</em></a><em>[</em><a class="reference internal" href="target.html#tvm.target.Target" title="tvm.target.Target"><em>Target</em></a><em>]</em>) – describes which targets could access the pool</p></li>
+<li><p><strong>pool_name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The name of the memory pool</p></li>
+<li><p><strong>targets</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#list" title="(in Python v3.13)"><em>list</em></a><em>[</em><a class="reference internal" href="target.html#tvm.target.Target" title="tvm.target.Target"><em>Target</em></a><em>]</em>) – describes which targets could access the pool</p></li>
<li><p><strong>pool_info_properties</strong> (<a class="reference internal" href="#tvm.ir.PoolInfoProperties" title="tvm.ir.PoolInfoProperties"><em>PoolInfoProperties</em></a>) – The properties of the pool.</p></li>
</ul>
</dd>
@@ -1487,29 +1487,29 @@ This is a base class for WorkspacePoolInfo and ConstantPoolInfo.</p>
<dl class="py class">
<dt class="sig sig-object py" id="tvm.ir.PoolInfoProperties">
-<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.ir.</span></span><span class="sig-name descname"><span class="pre">PoolInfoProperties</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">size_hint_bytes</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Optional</span><span class="p"><span class="pre">[</span></span><a class= [...]
+<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.ir.</span></span><span class="sig-name descname"><span class="pre">PoolInfoProperties</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">size_hint_bytes</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Optional</span><span class="p"><span class="pre">[</span></span><a class= [...]
<dd><p>PoolInfo object holds information related to memory pools
where the statically sized allocate nodes will pooled into.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>size_hint_bytes</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>]</em>) – The expected size hint to be used by the allocator.
+<li><p><strong>size_hint_bytes</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>]</em>) – The expected size hint to be used by the allocator.
The default value would be -1 which means the pool
is not size restricted.</p></li>
-<li><p><strong>clock_frequency_hz</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>]</em>) – The clock frequency that the memory pool runs at in Hz.
+<li><p><strong>clock_frequency_hz</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>]</em>) – The clock frequency that the memory pool runs at in Hz.
If not specified/known, this will default to -1 indicating
it hasn’t been defined.</p></li>
-<li><p><strong>read_bandwidth_bytes_per_cycle</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>]</em>) – The read bandwidth of the memory pool in bytes/cycle.
+<li><p><strong>read_bandwidth_bytes_per_cycle</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>]</em>) – The read bandwidth of the memory pool in bytes/cycle.
If not specified/known, this will default to -1 indicating
it hasn’t been defined.</p></li>
-<li><p><strong>write_bandwidth_bytes_per_cycle</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>]</em>) – The write bandwidth of the memory pool in bytes/cycle.
+<li><p><strong>write_bandwidth_bytes_per_cycle</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>]</em>) – The write bandwidth of the memory pool in bytes/cycle.
If not specified/known, this will default to -1 indicating
it hasn’t been defined.</p></li>
-<li><p><strong>read_latency_cycles</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>]</em>) – The read latency of the memory pool in cycles.
+<li><p><strong>read_latency_cycles</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>]</em>) – The read latency of the memory pool in cycles.
If not specified/known, this will default to 0.</p></li>
-<li><p><strong>write_latency_cycles</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>]</em>) – The write latency of the memory pool in cycles.
+<li><p><strong>write_latency_cycles</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>]</em>) – The write latency of the memory pool in cycles.
If not specified/known, this will default to 0.</p></li>
-<li><p><strong>target_burst_bytes</strong> (<em>Optional</em><em>[</em><em>Union</em><em>[</em><em>Dict</em><em>[</em><a class="reference internal" href="target.html#tvm.target.Target" title="tvm.target.Target"><em>Target</em></a><em>, </em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>]</em><em>, </em><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title=" [...]
+<li><p><strong>target_burst_bytes</strong> (<em>Optional</em><em>[</em><em>Union</em><em>[</em><em>Dict</em><em>[</em><a class="reference internal" href="target.html#tvm.target.Target" title="tvm.target.Target"><em>Target</em></a><em>, </em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>]</em><em>, </em><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title=" [...]
If not specified/known for a given target, a burst length
of 1 byte will be assumed.</p></li>
</ul>
@@ -1531,14 +1531,14 @@ workspace memory in the compilation</p>
<dl class="py class">
<dt class="sig sig-object py" id="tvm.ir.WorkspacePoolInfo">
-<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.ir.</span></span><span class="sig-name descname"><span class="pre">WorkspacePoolInfo</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">pool_name</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(i [...]
+<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.ir.</span></span><span class="sig-name descname"><span class="pre">WorkspacePoolInfo</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">pool_name</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(i [...]
<dd><p>WorkspacePoolInfo object holds information related to RW memory pools
where the statically sized allocate nodes will pooled into.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>pool_name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The name of the memory pool</p></li>
-<li><p><strong>targets</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#list" title="(in Python v3.12)"><em>list</em></a><em>[</em><a class="reference internal" href="target.html#tvm.target.Target" title="tvm.target.Target"><em>Target</em></a><em>]</em>) – A list of targets which could access the pool</p></li>
+<li><p><strong>pool_name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The name of the memory pool</p></li>
+<li><p><strong>targets</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#list" title="(in Python v3.13)"><em>list</em></a><em>[</em><a class="reference internal" href="target.html#tvm.target.Target" title="tvm.target.Target"><em>Target</em></a><em>]</em>) – A list of targets which could access the pool</p></li>
<li><p><strong>pool_info_properties</strong> (<a class="reference internal" href="#tvm.ir.PoolInfoProperties" title="tvm.ir.PoolInfoProperties"><em>PoolInfoProperties</em></a>) – The properties of the pool.</p></li>
</ul>
</dd>
@@ -1552,7 +1552,7 @@ where the statically sized allocate nodes will pooled into.</p>
<p>IRModule is the basic unit for all IR transformations across the stack.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>functions</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#dict" title="(in Python v3.12)"><em>dict</em></a><em>]</em><em></em>) – Map of global var to BaseFunc</p>
+<dd class="field-odd"><p><strong>functions</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#dict" title="(in Python v3.13)"><em>dict</em></a><em>]</em><em></em>) – Map of global var to BaseFunc</p>
</dd>
</dl>
<p><strong>Methods:</strong></p>
@@ -1659,7 +1659,7 @@ module.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The name for the global info.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The name for the global info.</p></li>
<li><p><strong>global_info</strong> (<em>List</em><em>[</em><a class="reference internal" href="#tvm.ir.GlobalInfo" title="tvm.ir.GlobalInfo"><em>GlobalInfo</em></a><em>]</em>) – The global info to be updated.</p></li>
</ul>
</dd>
@@ -1672,7 +1672,7 @@ module.</p>
<dd><p>Get a global variable in the function by name.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The name of the global variable.</p>
+<dd class="field-odd"><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The name of the global variable.</p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p><strong>global_var</strong> – The global variable mapped to <code class="code docutils literal notranslate"><span class="pre">name</span></code>.</p>
@@ -1702,7 +1702,7 @@ module.</p>
<dl class="py method">
<dt class="sig sig-object py" id="tvm.ir.IRModule.replace_global_vars">
-<span class="sig-name descname"><span class="pre">replace_global_vars</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">replacements</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Dict</span><span class="p"><span class="pre">[</span></span><span class="pre">Union</span><span class="p"><span class="pre">[</span></span><a class="reference external" href="https://docs.python.org/3/library/st [...]
+<span class="sig-name descname"><span class="pre">replace_global_vars</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">replacements</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Dict</span><span class="p"><span class="pre">[</span></span><span class="pre">Union</span><span class="p"><span class="pre">[</span></span><a class="reference external" href="https://docs.python.org/3/library/st [...]
<dd><p>Replace GlobalVar instances within the module</p>
<p>Replace GlobalVars within the IRModule. Since the IRModule
may contain internal references to a GlobalVar, either in TIR
@@ -1710,7 +1710,7 @@ or in Relax, this method should be used whenever replacing or
renaming a GlobalVar.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>replacements</strong> (<em>Dict</em><em>[</em><em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><em>_expr.GlobalVar</em><em>]</em><em>, </em><em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><em>_expr.GlobalVar</em><em>]</em><e [...]
+<dd class="field-odd"><p><strong>replacements</strong> (<em>Dict</em><em>[</em><em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><em>_expr.GlobalVar</em><em>]</em><em>, </em><em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><em>_expr.GlobalVar</em><em>]</em><e [...]
and the corresponding value is the GlobalVar with which to
replace it.</p>
</dd>
@@ -1743,7 +1743,7 @@ replace it.</p>
<dd><p>Get a global type variable in the function by name.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The name of the global type variable.</p>
+<dd class="field-odd"><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The name of the global type variable.</p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p><strong>global_type_var</strong> – The global variable mapped to <code class="code docutils literal notranslate"><span class="pre">name</span></code>.</p>
@@ -1763,7 +1763,7 @@ replace it.</p>
<dd><p>Look up an ADT constructor by tag.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>tag</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – The tag for a constructor.</p>
+<dd class="field-odd"><p><strong>tag</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – The tag for a constructor.</p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p><strong>constructor</strong> – The constructor associated with the given tag,</p>
@@ -1785,8 +1785,8 @@ replace it.</p>
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>expr</strong> (<a class="reference internal" href="#tvm.ir.RelayExpr" title="tvm.ir.RelayExpr"><em>RelayExpr</em></a>) – The starting expression</p></li>
-<li><p><strong>global_funcs</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#dict" title="(in Python v3.12)"><em>dict</em></a><em>]</em>) – Map of global vars to function definitions</p></li>
-<li><p><strong>type_defs</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#dict" title="(in Python v3.12)"><em>dict</em></a><em>]</em>) – Map of global type vars to type definitions</p></li>
+<li><p><strong>global_funcs</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#dict" title="(in Python v3.13)"><em>dict</em></a><em>]</em>) – Map of global vars to function definitions</p></li>
+<li><p><strong>type_defs</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#dict" title="(in Python v3.13)"><em>dict</em></a><em>]</em>) – Map of global type vars to type definitions</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -1806,7 +1806,7 @@ where expr is set as the entry point
<dd><p>Get the IRModule attribute.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>attr_key</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The attribute key.</p>
+<dd class="field-odd"><p><strong>attr_key</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The attribute key.</p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p><strong>attr_value</strong> – Attribute value</p>
@@ -1824,7 +1824,7 @@ where expr is set as the entry point
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>attr_key</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The attribute key.</p></li>
+<li><p><strong>attr_key</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The attribute key.</p></li>
<li><p><strong>attr_value</strong> (<em>Object</em>) – The new attribute value.</p></li>
</ul>
</dd>
@@ -1839,7 +1839,7 @@ where expr is set as the entry point
<dl class="py method">
<dt class="sig sig-object py" id="tvm.ir.IRModule.without_attr">
-<span class="sig-name descname"><span class="pre">without_attr</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">attr_key</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><span class="pre">str</span></a></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return [...]
+<span class="sig-name descname"><span class="pre">without_attr</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">attr_key</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return [...]
<dd><p>Copy the IRModule and remove an attribute key and its associated value.
:param attr_key: The attribute key.
:type attr_key: str</p>
@@ -1855,7 +1855,7 @@ where expr is set as the entry point
<dl class="py method">
<dt class="sig sig-object py" id="tvm.ir.IRModule.with_attrs">
-<span class="sig-name descname"><span class="pre">with_attrs</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">attr_map</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Union</span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="#tvm.ir.DictAttrs" title="tvm.ir.attrs.DictAttrs"><span class="pre">tvm.ir.attrs.DictAttrs</span></a><span class="p"><span clas [...]
+<span class="sig-name descname"><span class="pre">with_attrs</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">attr_map</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Union</span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="#tvm.ir.DictAttrs" title="tvm.ir.attrs.DictAttrs"><span class="pre">tvm.ir.attrs.DictAttrs</span></a><span class="p"><span clas [...]
<dd><p>Copy the IRModule and add the given attribute map to it.
:param attr_map: The attribute map
:type attr_map: Union[DictAttrs, Dict[str, Object]]</p>
@@ -1876,7 +1876,7 @@ where expr is set as the entry point
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>show_meta_data</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a>) – Whether to include meta data section in the text
+<li><p><strong>show_meta_data</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – Whether to include meta data section in the text
if there is meta data.</p></li>
<li><p><strong>annotate</strong> (<em>Optional</em><em>[</em><em>Object->str</em><em>]</em>) – Optionally annotate function to provide additional
information in the comment block.</p></li>
@@ -1886,7 +1886,7 @@ information in the comment block.</p></li>
<dd class="field-even"><p><strong>text</strong> – The text format of the expression.</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)">str</a></p>
+<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)">str</a></p>
</dd>
</dl>
<p class="rubric">Notes</p>
@@ -1953,7 +1953,7 @@ so it can be helpful to skip printing the meta data section.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>show_meta_data</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a>) – Whether to include meta data section in the text
+<li><p><strong>show_meta_data</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – Whether to include meta data section in the text
if there is meta data.</p></li>
<li><p><strong>annotate</strong> (<em>Optional</em><em>[</em><em>Object->str</em><em>]</em>) – Optionally annotate function to provide additional
information in the comment block.</p></li>
@@ -1963,7 +1963,7 @@ information in the comment block.</p></li>
<dd class="field-even"><p><strong>text</strong> – The text format of the expression.</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)">str</a></p>
+<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)">str</a></p>
</dd>
</dl>
<p class="rubric">Notes</p>
@@ -1978,7 +1978,7 @@ so it can be helpful to skip printing the meta data section.</p>
<dd><p>Get the Op for a given name</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>op_name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The operator name</p>
+<dd class="field-odd"><p><strong>op_name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The operator name</p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p><strong>op</strong> – The op of the corresponding name</p>
@@ -1995,13 +1995,13 @@ so it can be helpful to skip printing the meta data section.</p>
<dd><p>Get additional attribute about the operator.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>attr_name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The attribute name.</p>
+<dd class="field-odd"><p><strong>attr_name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The attribute name.</p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p><strong>value</strong> – The attribute value</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#object" title="(in Python v3.12)">object</a></p>
+<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#object" title="(in Python v3.13)">object</a></p>
</dd>
</dl>
</dd></dl>
@@ -2012,13 +2012,13 @@ so it can be helpful to skip printing the meta data section.</p>
<dd><p>Check whether the operator has additional attribute.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>attr_name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The attribute name.</p>
+<dd class="field-odd"><p><strong>attr_name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The attribute name.</p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p><strong>value</strong> – Whether the operator has additional attribute</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)">bool</a></p>
+<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)">bool</a></p>
</dd>
</dl>
</dd></dl>
@@ -2030,9 +2030,9 @@ so it can be helpful to skip printing the meta data section.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>attr_name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The attribute name</p></li>
-<li><p><strong>value</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#object" title="(in Python v3.12)"><em>object</em></a>) – The attribute value</p></li>
-<li><p><strong>plevel</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – The priority level</p></li>
+<li><p><strong>attr_name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The attribute name</p></li>
+<li><p><strong>value</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#object" title="(in Python v3.13)"><em>object</em></a>) – The attribute value</p></li>
+<li><p><strong>plevel</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – The priority level</p></li>
</ul>
</dd>
</dl>
@@ -2044,7 +2044,7 @@ so it can be helpful to skip printing the meta data section.</p>
<dd><p>Reset attribute about the operator.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>attr_name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The attribute name</p>
+<dd class="field-odd"><p><strong>attr_name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The attribute name</p>
</dd>
</dl>
</dd></dl>
@@ -2056,7 +2056,7 @@ so it can be helpful to skip printing the meta data section.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>rel_name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The type relation name to register.</p></li>
+<li><p><strong>rel_name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The type relation name to register.</p></li>
<li><p><strong>type_rel_func</strong> (<em>Optional</em><em>[</em><em>function</em><em> (</em><em>args: List</em><em>[</em><a class="reference internal" href="#tvm.ir.Type" title="tvm.ir.Type"><em>Type</em></a><em>]</em><em>, </em><em>attrs: Attrs</em><em>) </em><em>-> Type</em><em>]</em>) – <p>The backing relation function which can solve an arbitrary relation on variables.
Differences with type_rel_func in C++:</p>
<ol class="arabic simple">
@@ -2088,9 +2088,9 @@ infer output’s type.</p></li>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The argument name.</p></li>
-<li><p><strong>type</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The argument type.</p></li>
-<li><p><strong>description</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The argument description.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The argument name.</p></li>
+<li><p><strong>type</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The argument type.</p></li>
+<li><p><strong>description</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The argument description.</p></li>
</ul>
</dd>
</dl>
@@ -2102,7 +2102,7 @@ infer output’s type.</p></li>
<dd><p>Set the support level of op.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>level</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – The support level.</p>
+<dd class="field-odd"><p><strong>level</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – The support level.</p>
</dd>
</dl>
</dd></dl>
@@ -2113,7 +2113,7 @@ infer output’s type.</p></li>
<dd><p>Set the support level of op.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>n</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – The input number.</p>
+<dd class="field-odd"><p><strong>n</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – The input number.</p>
</dd>
</dl>
</dd></dl>
@@ -2124,7 +2124,7 @@ infer output’s type.</p></li>
<dd><p>Set the attribute type key of op.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>key</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The type key.</p>
+<dd class="field-odd"><p><strong>key</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The type key.</p>
</dd>
</dl>
</dd></dl>
@@ -2138,7 +2138,7 @@ infer output’s type.</p></li>
<dd class="field-odd"><p><strong>value</strong> – The registered op names</p>
</dd>
<dt class="field-even">Return type</dt>
-<dd class="field-even"><p>List[<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)">str</a>]</p>
+<dd class="field-even"><p>List[<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)">str</a>]</p>
</dd>
</dl>
</dd></dl>
@@ -2152,10 +2152,10 @@ infer output’s type.</p></li>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>op_name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The op name</p></li>
-<li><p><strong>target</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The target string for given intrinsic lowering function</p></li>
+<li><p><strong>op_name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The op name</p></li>
+<li><p><strong>target</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The target string for given intrinsic lowering function</p></li>
<li><p><strong>f</strong> (<em>function</em><em>, </em><em>optional</em>) – The function to be registered.</p></li>
-<li><p><strong>level</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – The priority level</p></li>
+<li><p><strong>level</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – The priority level</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -2174,10 +2174,10 @@ infer output’s type.</p></li>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>op_name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The name of operator</p></li>
-<li><p><strong>attr_key</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The attribute name.</p></li>
-<li><p><strong>value</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#object" title="(in Python v3.12)"><em>object</em></a><em>, </em><em>optional</em>) – The value to set</p></li>
-<li><p><strong>level</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>, </em><em>optional</em>) – The priority level</p></li>
+<li><p><strong>op_name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The name of operator</p></li>
+<li><p><strong>attr_key</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The attribute name.</p></li>
+<li><p><strong>value</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#object" title="(in Python v3.13)"><em>object</em></a><em>, </em><em>optional</em>) – The value to set</p></li>
+<li><p><strong>level</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>, </em><em>optional</em>) – The priority level</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -2199,7 +2199,7 @@ For example, a tensor of <cite>float32</cite> and <cite>(5, 5)</cite>.</p>
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>shape</strong> (<em>List</em><em>[</em><a class="reference internal" href="#tvm.ir.PrimExpr" title="tvm.ir.PrimExpr"><em>tvm.ir.PrimExpr</em></a><em>]</em>) – The shape of the Tensor</p></li>
-<li><p><strong>dtype</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em>) – The content data type.</p></li>
+<li><p><strong>dtype</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em>) – The content data type.</p></li>
</ul>
</dd>
</dl>
@@ -2224,7 +2224,7 @@ For example, a tensor of <cite>float32</cite> and <cite>(5, 5)</cite>.</p>
<dd class="field-odd"><p><strong>shape</strong> – The concrete shape of the Type.</p>
</dd>
<dt class="field-even">Return type</dt>
-<dd class="field-even"><p>List[<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)">int</a>]</p>
+<dd class="field-even"><p>List[<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)">int</a>]</p>
</dd>
</dl>
<p>:raises TypeError : If the shape is symbolic:</p>
@@ -2261,7 +2261,7 @@ a sequence of argument types, and a return type.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>name_hint</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The name of the type variable. This name only acts as a hint, and
+<li><p><strong>name_hint</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The name of the type variable. This name only acts as a hint, and
is not used for equality.</p></li>
<li><p><strong>kind</strong> (<em>Optional</em><em>[</em><a class="reference internal" href="#tvm.ir.TypeKind" title="tvm.ir.TypeKind"><em>TypeKind</em></a><em>]</em>) – The kind of the type parameter.</p></li>
</ul>
@@ -2287,7 +2287,7 @@ is not used for equality.</p></li>
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>element_type</strong> (<a class="reference internal" href="#tvm.ir.Type" title="tvm.ir.Type"><em>tvm.ir.Type</em></a>) – The type of pointer’s element.</p></li>
-<li><p><strong>storage_scope</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The storage scope into which the pointer addresses.</p></li>
+<li><p><strong>storage_scope</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The storage scope into which the pointer addresses.</p></li>
</ul>
</dd>
</dl>
@@ -2299,7 +2299,7 @@ is not used for equality.</p></li>
<dd><p>Primitive data type in the low level IR</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>dtype</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The runtime data type relates to the primtype.</p>
+<dd class="field-odd"><p><strong>dtype</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The runtime data type relates to the primtype.</p>
</dd>
</dl>
</dd></dl>
@@ -2372,7 +2372,7 @@ functions which are generic over types.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>name_hint</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The name of the type variable. This name only acts as a hint, and
+<li><p><strong>name_hint</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The name of the type variable. This name only acts as a hint, and
is not used for equality.</p></li>
<li><p><strong>kind</strong> (<em>Optional</em><em>[</em><a class="reference internal" href="#tvm.ir.TypeKind" title="tvm.ir.TypeKind"><em>TypeKind</em></a><em>]</em>) – The kind of the type parameter.</p></li>
</ul>
@@ -2413,7 +2413,7 @@ is not used for equality.</p></li>
<dd class="field-odd"><ul class="simple">
<li><p><strong>func</strong> (<a class="reference internal" href="#tvm.ir.EnvFunc" title="tvm.ir.EnvFunc"><em>EnvFunc</em></a>) – User defined relation function.</p></li>
<li><p><strong>args</strong> (<em>[</em><a class="reference internal" href="#tvm.ir.Type" title="tvm.ir.Type"><em>tvm.ir.Type</em></a><em>]</em>) – List of types to the func.</p></li>
-<li><p><strong>num_inputs</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – Number of input arguments in args,
+<li><p><strong>num_inputs</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – Number of input arguments in args,
this act as a hint for type inference.</p></li>
<li><p><strong>attrs</strong> (<a class="reference internal" href="#tvm.ir.Attrs" title="tvm.ir.Attrs"><em>Attrs</em></a>) – The attribute attached to the relation information</p></li>
</ul>
diff --git a/docs/reference/api/python/meta_schedule.html b/docs/reference/api/python/meta_schedule.html
index dcd9a19573..2180ed209d 100644
--- a/docs/reference/api/python/meta_schedule.html
+++ b/docs/reference/api/python/meta_schedule.html
@@ -594,29 +594,29 @@
</table>
<dl class="py method">
<dt class="sig sig-object py" id="tvm.meta_schedule.CostModel.load">
-<span class="sig-name descname"><span class="pre">load</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">path</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><span class="pre">str</span></a></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">! [...]
+<span class="sig-name descname"><span class="pre">load</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">path</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">! [...]
<dd><p>Load the cost model from given file location.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>path</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The file path.</p>
+<dd class="field-odd"><p><strong>path</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The file path.</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="tvm.meta_schedule.CostModel.save">
-<span class="sig-name descname"><span class="pre">save</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">path</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><span class="pre">str</span></a></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">! [...]
+<span class="sig-name descname"><span class="pre">save</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">path</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">! [...]
<dd><p>Save the cost model to given file location.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>path</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The file path.</p>
+<dd class="field-odd"><p><strong>path</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The file path.</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="tvm.meta_schedule.CostModel.update">
-<span class="sig-name descname"><span class="pre">update</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">context</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="#tvm.meta_schedule.TuneContext" title="tvm.meta_schedule.tune_context.TuneContext"><span class="pre">tvm.meta_schedule.tune_context.TuneContext</span></a></span></em>, <em class="sig-param"><span class="n"><span [...]
+<span class="sig-name descname"><span class="pre">update</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">context</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="#tvm.meta_schedule.TuneContext" title="tvm.meta_schedule.tune_context.TuneContext"><span class="pre">tvm.meta_schedule.tune_context.TuneContext</span></a></span></em>, <em class="sig-param"><span class="n"><span [...]
<dd><p>Update the cost model given running results.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
@@ -719,7 +719,7 @@
</table>
<dl class="py method">
<dt class="sig sig-object py" id="tvm.meta_schedule.Database.has_workload">
-<span class="sig-name descname"><span class="pre">has_workload</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">mod</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="ir.html#tvm.ir.IRModule" title="tvm.ir.module.IRModule"><span class="pre">tvm.ir.module.IRModule</span></a></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&# [...]
+<span class="sig-name descname"><span class="pre">has_workload</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">mod</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="ir.html#tvm.ir.IRModule" title="tvm.ir.module.IRModule"><span class="pre">tvm.ir.module.IRModule</span></a></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">&# [...]
<dd><p>Check if the database has the given workload.
:param mod: The IRModule to be searched for.
:type mod: IRModule</p>
@@ -728,7 +728,7 @@
<dd class="field-odd"><p><strong>result</strong> – Whether the database has the given workload.</p>
</dd>
<dt class="field-even">Return type</dt>
-<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)">bool</a></p>
+<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)">bool</a></p>
</dd>
</dl>
</dd></dl>
@@ -752,7 +752,7 @@
<dl class="py method">
<dt class="sig sig-object py" id="tvm.meta_schedule.Database.commit_tuning_record">
-<span class="sig-name descname"><span class="pre">commit_tuning_record</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">record</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.meta_schedule.database.database.TuningRecord</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><a class="r [...]
+<span class="sig-name descname"><span class="pre">commit_tuning_record</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">record</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.meta_schedule.database.database.TuningRecord</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><a class="r [...]
<dd><p>Commit a tuning record to the database.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
@@ -763,13 +763,13 @@
<dl class="py method">
<dt class="sig sig-object py" id="tvm.meta_schedule.Database.get_top_k">
-<span class="sig-name descname"><span class="pre">get_top_k</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">workload</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.meta_schedule.database.database.Workload</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">top_k</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference [...]
+<span class="sig-name descname"><span class="pre">get_top_k</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">workload</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.meta_schedule.database.database.Workload</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">top_k</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference [...]
<dd><p>Get the top K valid tuning records of given workload from the database.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>workload</strong> (<a class="reference internal" href="topi.html#tvm.topi.nn.Workload" title="tvm.topi.nn.Workload"><em>Workload</em></a>) – The workload to be searched for.</p></li>
-<li><p><strong>top_k</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – The number of top records to get.</p></li>
+<li><p><strong>top_k</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – The number of top records to get.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -797,14 +797,14 @@
<dl class="py method">
<dt class="sig sig-object py" id="tvm.meta_schedule.Database.query_tuning_record">
-<span class="sig-name descname"><span class="pre">query_tuning_record</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">mod</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="ir.html#tvm.ir.IRModule" title="tvm.ir.module.IRModule"><span class="pre">tvm.ir.module.IRModule</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">target</span></span><span [...]
+<span class="sig-name descname"><span class="pre">query_tuning_record</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">mod</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="ir.html#tvm.ir.IRModule" title="tvm.ir.module.IRModule"><span class="pre">tvm.ir.module.IRModule</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">target</span></span><span [...]
<dd><p>Query the best record of the given workload from the database.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>mod</strong> (<a class="reference internal" href="ir.html#tvm.ir.IRModule" title="tvm.ir.IRModule"><em>IRModule</em></a>) – The IRModule to be searched for.</p></li>
<li><p><strong>target</strong> (<a class="reference internal" href="target.html#tvm.target.Target" title="tvm.target.Target"><em>Target</em></a>) – The target to be searched for.</p></li>
-<li><p><strong>workload_name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The name of the workload to be searched for.</p></li>
+<li><p><strong>workload_name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The name of the workload to be searched for.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -818,14 +818,14 @@
<dl class="py method">
<dt class="sig sig-object py" id="tvm.meta_schedule.Database.query_schedule">
-<span class="sig-name descname"><span class="pre">query_schedule</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">mod</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="ir.html#tvm.ir.IRModule" title="tvm.ir.module.IRModule"><span class="pre">tvm.ir.module.IRModule</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">target</span></span><span clas [...]
+<span class="sig-name descname"><span class="pre">query_schedule</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">mod</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="ir.html#tvm.ir.IRModule" title="tvm.ir.module.IRModule"><span class="pre">tvm.ir.module.IRModule</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">target</span></span><span clas [...]
<dd><p>Query the best schedule of the given workload from the database.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>mod</strong> (<a class="reference internal" href="ir.html#tvm.ir.IRModule" title="tvm.ir.IRModule"><em>IRModule</em></a>) – The IRModule to be searched for.</p></li>
<li><p><strong>target</strong> (<a class="reference internal" href="target.html#tvm.target.Target" title="tvm.target.Target"><em>Target</em></a>) – The target to be searched for.</p></li>
-<li><p><strong>workload_name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The name of the workload to be searched for.</p></li>
+<li><p><strong>workload_name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The name of the workload to be searched for.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -839,14 +839,14 @@
<dl class="py method">
<dt class="sig sig-object py" id="tvm.meta_schedule.Database.query_ir_module">
-<span class="sig-name descname"><span class="pre">query_ir_module</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">mod</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="ir.html#tvm.ir.IRModule" title="tvm.ir.module.IRModule"><span class="pre">tvm.ir.module.IRModule</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">target</span></span><span cla [...]
+<span class="sig-name descname"><span class="pre">query_ir_module</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">mod</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="ir.html#tvm.ir.IRModule" title="tvm.ir.module.IRModule"><span class="pre">tvm.ir.module.IRModule</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">target</span></span><span cla [...]
<dd><p>Query the best IRModule of the given workload from the database.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>mod</strong> (<a class="reference internal" href="ir.html#tvm.ir.IRModule" title="tvm.ir.IRModule"><em>IRModule</em></a>) – The IRModule to be searched for.</p></li>
<li><p><strong>target</strong> (<a class="reference internal" href="target.html#tvm.target.Target" title="tvm.target.Target"><em>Target</em></a>) – The target to be searched for.</p></li>
-<li><p><strong>workload_name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The name of the workload to be searched for.</p></li>
+<li><p><strong>workload_name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The name of the workload to be searched for.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -860,7 +860,7 @@
<dl class="py method">
<dt class="sig sig-object py" id="tvm.meta_schedule.Database.dump_pruned">
-<span class="sig-name descname"><span class="pre">dump_pruned</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">destination</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="#tvm.meta_schedule.Database" title="tvm.meta_schedule.database.database.Database"><span class="pre">tvm.meta_schedule.database.database.Database</span></a></span></em><span class="sig-paren">)</span> <s [...]
+<span class="sig-name descname"><span class="pre">dump_pruned</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">destination</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="#tvm.meta_schedule.Database" title="tvm.meta_schedule.database.database.Database"><span class="pre">tvm.meta_schedule.database.database.Database</span></a></span></em><span class="sig-paren">)</span> <s [...]
<dd><p>Dump the pruned database to files of JSONDatabase format.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
@@ -871,7 +871,7 @@
<dl class="py method">
<dt class="sig sig-object py" id="tvm.meta_schedule.Database.query">
-<span class="sig-name descname"><span class="pre">query</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">mod</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="ir.html#tvm.ir.IRModule" title="tvm.ir.module.IRModule"><span class="pre">tvm.ir.module.IRModule</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">target</span></span><span class="p"><sp [...]
+<span class="sig-name descname"><span class="pre">query</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">mod</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="ir.html#tvm.ir.IRModule" title="tvm.ir.module.IRModule"><span class="pre">tvm.ir.module.IRModule</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">target</span></span><span class="p"><sp [...]
<dd><p>Query the database to retrieve the best optimization outcome of the given workload.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
@@ -898,7 +898,7 @@
<dl class="py method">
<dt class="sig sig-object py" id="tvm.meta_schedule.Database.create">
-<em class="property"><span class="pre">static</span> </em><span class="sig-name descname"><span class="pre">create</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">kind</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Union</span><span class="p"><span class="pre">[</span></span><span class="pre">typing_extensions.Literal</span><span class="p"><span class="pre">[</span></span><span class="p [...]
+<em class="property"><span class="pre">static</span> </em><span class="sig-name descname"><span class="pre">create</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">kind</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Union</span><span class="p"><span class="pre">[</span></span><span class="pre">typing_extensions.Literal</span><span class="p"><span class="pre">[</span></span><span class="p [...]
<dd><p>Create a Database.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
@@ -921,16 +921,16 @@
<dl class="py class">
<dt class="sig sig-object py" id="tvm.meta_schedule.ExtractedTask">
-<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.meta_schedule.</span></span><span class="sig-name descname"><span class="pre">ExtractedTask</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">task_name</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" ti [...]
+<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.meta_schedule.</span></span><span class="sig-name descname"><span class="pre">ExtractedTask</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">task_name</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" ti [...]
<dd><p>A tuning task extracted from the high-level IR</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>task_name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The name of the task extracted</p></li>
+<li><p><strong>task_name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The name of the task extracted</p></li>
<li><p><strong>mod</strong> (<a class="reference internal" href="ir.html#tvm.ir.IRModule" title="tvm.ir.IRModule"><em>IRModule</em></a>) – The high-level IR</p></li>
<li><p><strong>target</strong> (<a class="reference internal" href="target.html#tvm.target.Target" title="tvm.target.Target"><em>Target</em></a>) – Target information</p></li>
<li><p><strong>dispatched</strong> (<em>List</em><em>[</em><a class="reference internal" href="ir.html#tvm.ir.IRModule" title="tvm.ir.IRModule"><em>IRModule</em></a><em>]</em>) – A list of low-level IRs that the high-level IR could potentially dispatch to</p></li>
-<li><p><strong>weight</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – The weight of the task</p></li>
+<li><p><strong>weight</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – The weight of the task</p></li>
</ul>
</dd>
</dl>
@@ -1004,13 +1004,13 @@
</table>
<dl class="py method">
<dt class="sig sig-object py" id="tvm.meta_schedule.MeasureCallback.apply">
-<span class="sig-name descname"><span class="pre">apply</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">task_scheduler</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="#tvm.meta_schedule.TaskScheduler" title="tvm.meta_schedule.TaskScheduler"><span class="pre">TaskScheduler</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">task_id</span></spa [...]
+<span class="sig-name descname"><span class="pre">apply</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">task_scheduler</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="#tvm.meta_schedule.TaskScheduler" title="tvm.meta_schedule.TaskScheduler"><span class="pre">TaskScheduler</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">task_id</span></spa [...]
<dd><p>Apply a measure callback to the given schedule.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>task_scheduler</strong> (<a class="reference internal" href="#tvm.meta_schedule.TaskScheduler" title="tvm.meta_schedule.TaskScheduler"><em>TaskScheduler</em></a>) – The task scheduler.</p></li>
-<li><p><strong>task_id</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – The task id.</p></li>
+<li><p><strong>task_id</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – The task id.</p></li>
<li><p><strong>measure_candidates</strong> (<em>List</em><em>[</em><a class="reference internal" href="#tvm.meta_schedule.MeasureCandidate" title="tvm.meta_schedule.MeasureCandidate"><em>MeasureCandidate</em></a><em>]</em>) – The measure candidates.</p></li>
<li><p><strong>builder_results</strong> (<em>List</em><em>[</em><em>BuilderResult</em><em>]</em>) – The builder results by building the measure candidates.</p></li>
<li><p><strong>runner_results</strong> (<em>List</em><em>[</em><em>RunnerResult</em><em>]</em>) – The runner results by running the built measure candidates.</p></li>
@@ -1082,7 +1082,7 @@
<dl class="py method">
<dt class="sig sig-object py" id="tvm.meta_schedule.Mutator.create">
-<em class="property"><span class="pre">static</span> </em><span class="sig-name descname"><span class="pre">create</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">kind</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">typing_extensions.Literal[llvm,</span> <span class="pre">cuda,</span> <span class="pre">cuda</span> <span class="pre">-</span> <span class="pre">tensorcore,</span> <span clas [...]
+<em class="property"><span class="pre">static</span> </em><span class="sig-name descname"><span class="pre">create</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">kind</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">typing_extensions.Literal[llvm,</span> <span class="pre">cuda,</span> <span class="pre">cuda</span> <span class="pre">-</span> <span class="pre">tensorcore,</span> <span clas [...]
<dd><p>Create a list of default mutators.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
@@ -1123,7 +1123,7 @@
</table>
<dl class="py method">
<dt class="sig sig-object py" id="tvm.meta_schedule.Postproc.apply">
-<span class="sig-name descname"><span class="pre">apply</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">sch</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="tir/schedule.html#tvm.tir.schedule.Schedule" title="tvm.tir.schedule.schedule.Schedule"><span class="pre">tvm.tir.schedule.schedule.Schedule</span></a></span></em><span class="sig-paren">)</span> <span class="sig-ret [...]
+<span class="sig-name descname"><span class="pre">apply</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">sch</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="tir/schedule.html#tvm.tir.schedule.Schedule" title="tvm.tir.schedule.schedule.Schedule"><span class="pre">tvm.tir.schedule.schedule.Schedule</span></a></span></em><span class="sig-paren">)</span> <span class="sig-ret [...]
<dd><p>Apply a postprocessor to the given schedule.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
@@ -1133,7 +1133,7 @@
<dd class="field-even"><p><strong>result</strong> – Whether the postprocessor was successfully applied.</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)">bool</a></p>
+<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)">bool</a></p>
</dd>
</dl>
</dd></dl>
@@ -1198,13 +1198,13 @@
</table>
<dl class="py method">
<dt class="sig sig-object py" id="tvm.meta_schedule.Profiler.get">
-<span class="sig-name descname"><span class="pre">get</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">Dict</span><span class="p"><span class="pre">[</span></span><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><span class="pre">str</span></a><span class="p"><span class="p [...]
+<span class="sig-name descname"><span class="pre">get</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">Dict</span><span class="p"><span class="pre">[</span></span><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a><span class="p"><span class="p [...]
<dd><p>Get the profiling results in seconds</p>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="tvm.meta_schedule.Profiler.table">
-<span class="sig-name descname"><span class="pre">table</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><span class="pre">str</span></a></span></span><a class="headerlink" href="#tvm.meta_schedule.Profiler.table" title="Permalink to this defi [...]
+<span class="sig-name descname"><span class="pre">table</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a></span></span><a class="headerlink" href="#tvm.meta_schedule.Profiler.table" title="Permalink to this defi [...]
<dd><p>Get the profiling results in a table format</p>
</dd></dl>
@@ -1216,7 +1216,7 @@
<dl class="py method">
<dt class="sig sig-object py" id="tvm.meta_schedule.Profiler.timeit">
-<em class="property"><span class="pre">static</span> </em><span class="sig-name descname"><span class="pre">timeit</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><span class="pre">str</span></a></span></em><span class="sig-paren">)</span>< [...]
+<em class="property"><span class="pre">static</span> </em><span class="sig-name descname"><span class="pre">timeit</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a></span></em><span class="sig-paren">)</span>< [...]
<dd><p>Timeit a block of code</p>
</dd></dl>
@@ -1224,14 +1224,14 @@
<dl class="py function">
<dt class="sig sig-object py" id="tvm.meta_schedule.is_meta_schedule_enabled">
-<span class="sig-prename descclassname"><span class="pre">tvm.meta_schedule.</span></span><span class="sig-name descname"><span class="pre">is_meta_schedule_enabled</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><span class="pre">bool</spa [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.meta_schedule.</span></span><span class="sig-name descname"><span class="pre">is_meta_schedule_enabled</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><span class="pre">bool</spa [...]
<dd><p>Return whether the meta-schedule is enabled.</p>
<dl class="field-list simple">
<dt class="field-odd">Returns</dt>
<dd class="field-odd"><p><strong>enabled</strong> – Whether the meta schedule is enabled</p>
</dd>
<dt class="field-even">Return type</dt>
-<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)">bool</a></p>
+<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)">bool</a></p>
</dd>
</dl>
</dd></dl>
@@ -1402,13 +1402,13 @@
</table>
<dl class="py method">
<dt class="sig sig-object py" id="tvm.meta_schedule.SearchStrategy.pre_tuning">
-<span class="sig-name descname"><span class="pre">pre_tuning</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">max_trials</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><span class="pre">int</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">num_trials_per_iter</s [...]
+<span class="sig-name descname"><span class="pre">pre_tuning</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">max_trials</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><span class="pre">int</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">num_trials_per_iter</s [...]
<dd><p>Pre-tuning for the search strategy.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>max_trials</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – The maximum number of trials.</p></li>
-<li><p><strong>num_trials_per_iter</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – The number of trials per iteration.</p></li>
+<li><p><strong>max_trials</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – The maximum number of trials.</p></li>
+<li><p><strong>num_trials_per_iter</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – The number of trials per iteration.</p></li>
<li><p><strong>design_spaces</strong> (<em>List</em><em>[</em><em>tvm.tir.Schedule</em><em>]</em>) – The design spaces used during tuning process.</p></li>
<li><p><strong>database</strong> (<em>Optional</em><em>[</em><a class="reference internal" href="#tvm.meta_schedule.Database" title="tvm.meta_schedule.Database"><em>Database</em></a><em>] </em><em>= None</em>) – The database used during tuning process.</p></li>
<li><p><strong>cost_model</strong> (<em>Optional</em><em>[</em><a class="reference internal" href="#tvm.meta_schedule.CostModel" title="tvm.meta_schedule.CostModel"><em>CostModel</em></a><em>] </em><em>= None</em>) – The cost model used during tuning process.</p></li>
@@ -1419,7 +1419,7 @@
<dl class="py method">
<dt class="sig sig-object py" id="tvm.meta_schedule.SearchStrategy.post_tuning">
-<span class="sig-name descname"><span class="pre">post_tuning</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.12)"><span class="pre">None</span></a></span></span><a class="headerlink" href="#tvm.meta_schedule.SearchStrategy.post_tuning" title="P [...]
+<span class="sig-name descname"><span class="pre">post_tuning</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><span class="pre">None</span></a></span></span><a class="headerlink" href="#tvm.meta_schedule.SearchStrategy.post_tuning" title="P [...]
<dd><p>Post-tuning for the search strategy.</p>
</dd></dl>
@@ -1439,7 +1439,7 @@
<dl class="py method">
<dt class="sig sig-object py" id="tvm.meta_schedule.SearchStrategy.notify_runner_results">
-<span class="sig-name descname"><span class="pre">notify_runner_results</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">measure_candidates</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">List</span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="#tvm.meta_schedule.MeasureCandidate" title="tvm.meta_schedule.search_strategy.search_strategy.MeasureCandid [...]
+<span class="sig-name descname"><span class="pre">notify_runner_results</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">measure_candidates</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">List</span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="#tvm.meta_schedule.MeasureCandidate" title="tvm.meta_schedule.search_strategy.search_strategy.MeasureCandid [...]
<dd><p>Update the search strategy with profiling results.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
@@ -1570,25 +1570,25 @@
</table>
<dl class="py method">
<dt class="sig sig-object py" id="tvm.meta_schedule.TaskScheduler.next_task_id">
-<span class="sig-name descname"><span class="pre">next_task_id</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><span class="pre">int</span></a></span></span><a class="headerlink" href="#tvm.meta_schedule.TaskScheduler.next_task_id" title="Pe [...]
+<span class="sig-name descname"><span class="pre">next_task_id</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><span class="pre">int</span></a></span></span><a class="headerlink" href="#tvm.meta_schedule.TaskScheduler.next_task_id" title="Pe [...]
<dd><p>Fetch the next task id.</p>
<dl class="field-list simple">
<dt class="field-odd">Returns</dt>
<dd class="field-odd"><p><strong>next_task_id</strong> – The next task id.</p>
</dd>
<dt class="field-even">Return type</dt>
-<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)">int</a></p>
+<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)">int</a></p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="tvm.meta_schedule.TaskScheduler.join_running_task">
-<span class="sig-name descname"><span class="pre">join_running_task</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">task_id</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><span class="pre">int</span></a></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-r [...]
+<span class="sig-name descname"><span class="pre">join_running_task</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">task_id</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><span class="pre">int</span></a></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-r [...]
<dd><p>Wait until the task is finished.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>task_id</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – The task id to be joined.</p>
+<dd class="field-odd"><p><strong>task_id</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – The task id to be joined.</p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p><strong>results</strong> – The list of results.</p>
@@ -1601,16 +1601,16 @@
<dl class="py method">
<dt class="sig sig-object py" id="tvm.meta_schedule.TaskScheduler.tune">
-<span class="sig-name descname"><span class="pre">tune</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">tasks</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">List</span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="#tvm.meta_schedule.TuneContext" title="tvm.meta_schedule.tune_context.TuneContext"><span class="pre">tvm.meta_schedule.tune_context.TuneC [...]
+<span class="sig-name descname"><span class="pre">tune</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">tasks</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">List</span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="#tvm.meta_schedule.TuneContext" title="tvm.meta_schedule.tune_context.TuneContext"><span class="pre">tvm.meta_schedule.tune_context.TuneC [...]
<dd><p>Auto-tuning.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>tasks</strong> (<em>List</em><em>[</em><a class="reference internal" href="#tvm.meta_schedule.TuneContext" title="tvm.meta_schedule.TuneContext"><em>TuneContext</em></a><em>]</em>) – The list of tuning contexts as tasks.</p></li>
-<li><p><strong>task_weights</strong> (<em>List</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.12)"><em>float</em></a><em>]</em>) – The list of task weights.</p></li>
-<li><p><strong>max_trials_global</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – The maximum number of trials globally.</p></li>
-<li><p><strong>max_trials_per_task</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – The maximum number of trials per task.</p></li>
-<li><p><strong>num_trials_per_iter</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – The number of trials per iteration.</p></li>
+<li><p><strong>task_weights</strong> (<em>List</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.13)"><em>float</em></a><em>]</em>) – The list of task weights.</p></li>
+<li><p><strong>max_trials_global</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – The maximum number of trials globally.</p></li>
+<li><p><strong>max_trials_per_task</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – The maximum number of trials per task.</p></li>
+<li><p><strong>num_trials_per_iter</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – The number of trials per iteration.</p></li>
<li><p><strong>builder</strong> (<a class="reference internal" href="#tvm.meta_schedule.Builder" title="tvm.meta_schedule.Builder"><em>Builder</em></a>) – The builder.</p></li>
<li><p><strong>runner</strong> (<a class="reference internal" href="#tvm.meta_schedule.Runner" title="tvm.meta_schedule.Runner"><em>Runner</em></a>) – The runner.</p></li>
<li><p><strong>measure_callbacks</strong> (<em>List</em><em>[</em><a class="reference internal" href="#tvm.meta_schedule.MeasureCallback" title="tvm.meta_schedule.MeasureCallback"><em>MeasureCallback</em></a><em>]</em>) – The list of measure callbacks.</p></li>
@@ -1623,29 +1623,29 @@
<dl class="py method">
<dt class="sig sig-object py" id="tvm.meta_schedule.TaskScheduler.terminate_task">
-<span class="sig-name descname"><span class="pre">terminate_task</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">task_id</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><span class="pre">int</span></a></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-retu [...]
+<span class="sig-name descname"><span class="pre">terminate_task</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">task_id</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><span class="pre">int</span></a></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-retu [...]
<dd><p>Terminate the task</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>task_id</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – The task id to be terminated.</p>
+<dd class="field-odd"><p><strong>task_id</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – The task id to be terminated.</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="tvm.meta_schedule.TaskScheduler.touch_task">
-<span class="sig-name descname"><span class="pre">touch_task</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">task_id</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><span class="pre">int</span></a></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-i [...]
+<span class="sig-name descname"><span class="pre">touch_task</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">task_id</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><span class="pre">int</span></a></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-i [...]
<dd><p>Touch the task and update its status</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>task_id</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – The task id to be checked.</p>
+<dd class="field-odd"><p><strong>task_id</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – The task id to be checked.</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="tvm.meta_schedule.TaskScheduler.print_tuning_statistics">
-<span class="sig-name descname"><span class="pre">print_tuning_statistics</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.12)"><span class="pre">None</span></a></span></span><a class="headerlink" href="#tvm.meta_schedule.TaskScheduler.print_tuni [...]
+<span class="sig-name descname"><span class="pre">print_tuning_statistics</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><span class="pre">None</span></a></span></span><a class="headerlink" href="#tvm.meta_schedule.TaskScheduler.print_tuni [...]
<dd><p>Print out a human-readable format of the tuning statistics.</p>
</dd></dl>
@@ -1659,17 +1659,17 @@
<dl class="py function">
<dt class="sig sig-object py" id="tvm.meta_schedule.tune_tir">
-<span class="sig-prename descclassname"><span class="pre">tvm.meta_schedule.</span></span><span class="sig-name descname"><span class="pre">tune_tir</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">mod</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Union</span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="ir.html#tvm.ir.IRModule" title="tvm.ir.modul [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.meta_schedule.</span></span><span class="sig-name descname"><span class="pre">tune_tir</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">mod</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Union</span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="ir.html#tvm.ir.IRModule" title="tvm.ir.modul [...]
<dd><p>Tune a TIR function or an IRModule of TIR functions.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>mod</strong> (<em>Union</em><em>[</em><a class="reference internal" href="ir.html#tvm.ir.IRModule" title="tvm.ir.IRModule"><em>ir.IRModule</em></a><em>, </em><a class="reference internal" href="tir/tir.html#tvm.tir.PrimFunc" title="tvm.tir.PrimFunc"><em>tir.PrimFunc</em></a><em>]</em>) – The TIR IRModule to tune.</p></li>
-<li><p><strong>target</strong> (<em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><a class="reference internal" href="target.html#tvm.target.Target" title="tvm.target.Target"><em>Target</em></a><em>]</em>) – The target to tune for.</p></li>
-<li><p><strong>work_dir</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The working directory.</p></li>
-<li><p><strong>max_trials_global</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – The maximum number of trials to run globally.</p></li>
-<li><p><strong>max_trials_per_task</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>]</em>) – The maximum number of trials to run per task.</p></li>
-<li><p><strong>num_trials_per_iter</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – The number of trials to run per iteration</p></li>
+<li><p><strong>target</strong> (<em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><a class="reference internal" href="target.html#tvm.target.Target" title="tvm.target.Target"><em>Target</em></a><em>]</em>) – The target to tune for.</p></li>
+<li><p><strong>work_dir</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The working directory.</p></li>
+<li><p><strong>max_trials_global</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – The maximum number of trials to run globally.</p></li>
+<li><p><strong>max_trials_per_task</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>]</em>) – The maximum number of trials to run per task.</p></li>
+<li><p><strong>num_trials_per_iter</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – The number of trials to run per iteration</p></li>
<li><p><strong>builder</strong> (<em>Builder.BuilderType</em>) – The builder.</p></li>
<li><p><strong>runner</strong> (<em>Runner.RunnerType</em>) – The runner.</p></li>
<li><p><strong>database</strong> (<em>Database.DatabaseType</em>) – The database.</p></li>
@@ -1678,10 +1678,10 @@
<li><p><strong>task_scheduler</strong> (<em>TaskScheduler.TaskSchedulerType</em>) – The task scheduler.</p></li>
<li><p><strong>space</strong> (<em>SpaceGenerator.SpaceGeneratorType</em>) – The space generator.</p></li>
<li><p><strong>strategy</strong> (<em>SearchStrategy.SearchStrategyType</em>) – The search strategy.</p></li>
-<li><p><strong>num_tuning_cores</strong> (<em>Union</em><em>[</em><em>Literal</em><em>[</em><em>"physical"</em><em>, </em><em>"logical"</em><em>]</em><em>, </em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>]</em>) – The number of CPU cores to use during tuning.</p></li>
-<li><p><strong>seed</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>]</em>) – The seed for the random number generator.</p></li>
-<li><p><strong>module_equality</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em>) – A string to specify the module equality testing and hashing method.</p></li>
-<li><p><strong>special_space</strong> (<em>Optional</em><em>[</em><em>Mapping</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><em>SpaceGenerator.SpaceGeneratorType</em><em>]</em><em>]</em>) – A mapping from task name to a special space generator for that task.</p></li>
+<li><p><strong>num_tuning_cores</strong> (<em>Union</em><em>[</em><em>Literal</em><em>[</em><em>"physical"</em><em>, </em><em>"logical"</em><em>]</em><em>, </em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>]</em>) – The number of CPU cores to use during tuning.</p></li>
+<li><p><strong>seed</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>]</em>) – The seed for the random number generator.</p></li>
+<li><p><strong>module_equality</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em>) – A string to specify the module equality testing and hashing method.</p></li>
+<li><p><strong>special_space</strong> (<em>Optional</em><em>[</em><em>Mapping</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><em>SpaceGenerator.SpaceGeneratorType</em><em>]</em><em>]</em>) – A mapping from task name to a special space generator for that task.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -1695,24 +1695,24 @@
<dl class="py function">
<dt class="sig sig-object py" id="tvm.meta_schedule.tune_tasks">
-<span class="sig-prename descclassname"><span class="pre">tvm.meta_schedule.</span></span><span class="sig-name descname"><span class="pre">tune_tasks</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="o"><span class="pre">*</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">tasks</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">List</span><span class="p"><span class="pre">[</span></span [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.meta_schedule.</span></span><span class="sig-name descname"><span class="pre">tune_tasks</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="o"><span class="pre">*</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">tasks</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">List</span><span class="p"><span class="pre">[</span></span [...]
<dd><p>Tune a list of tasks. Using a task scheduler.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>tasks</strong> (<em>List</em><em>[</em><a class="reference internal" href="#tvm.meta_schedule.TuneContext" title="tvm.meta_schedule.TuneContext"><em>TuneContext</em></a><em>]</em>) – The list of tasks to tune.</p></li>
-<li><p><strong>task_weights</strong> (<em>List</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.12)"><em>float</em></a><em>]</em>) – The weight of each task.</p></li>
-<li><p><strong>work_dir</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The working directory.</p></li>
-<li><p><strong>max_trials_global</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – The maximum number of trials to run globally.</p></li>
-<li><p><strong>max_trials_per_task</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>]</em>) – The maximum number of trials to run per task.</p></li>
-<li><p><strong>num_trials_per_iter</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – The number of trials to run per iteration</p></li>
+<li><p><strong>task_weights</strong> (<em>List</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.13)"><em>float</em></a><em>]</em>) – The weight of each task.</p></li>
+<li><p><strong>work_dir</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The working directory.</p></li>
+<li><p><strong>max_trials_global</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – The maximum number of trials to run globally.</p></li>
+<li><p><strong>max_trials_per_task</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>]</em>) – The maximum number of trials to run per task.</p></li>
+<li><p><strong>num_trials_per_iter</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – The number of trials to run per iteration</p></li>
<li><p><strong>builder</strong> (<em>Builder.BuilderType</em>) – The builder.</p></li>
<li><p><strong>runner</strong> (<em>Runner.RunnerType</em>) – The runner.</p></li>
<li><p><strong>database</strong> (<em>Database.DatabaseType</em>) – The database.</p></li>
<li><p><strong>cost_model</strong> (<em>CostModel.CostModelType</em>) – The cost model.</p></li>
<li><p><strong>measure_callbacks</strong> (<em>MeasureCallback.CallbackListType</em>) – The measure callbacks.</p></li>
<li><p><strong>task_scheduler</strong> (<em>TaskScheduler.TaskSchedulerType</em>) – The task scheduler.</p></li>
-<li><p><strong>module_equality</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em>) – <p>A string to specify the module equality testing and hashing method.
+<li><p><strong>module_equality</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em>) – <p>A string to specify the module equality testing and hashing method.
It must be one of the followings:</p>
<blockquote>
<div><ul>
@@ -1745,18 +1745,18 @@ tir/analysis/analysis.py.</p>
<dl class="py class">
<dt class="sig sig-object py" id="tvm.meta_schedule.TuneContext">
-<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.meta_schedule.</span></span><span class="sig-name descname"><span class="pre">TuneContext</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">mod</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Optional</span><span class="p"><span class="pre">[</span></span><a class="referen [...]
+<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.meta_schedule.</span></span><span class="sig-name descname"><span class="pre">TuneContext</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">mod</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Optional</span><span class="p"><span class="pre">[</span></span><a class="referen [...]
<dd><p>The tune context class is designed to contain all resources for a tuning task.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>mod</strong> (<em>Optional</em><em>[</em><a class="reference internal" href="ir.html#tvm.ir.IRModule" title="tvm.ir.IRModule"><em>IRModule</em></a><em>] </em><em>= None</em>) – The workload to be optimized.</p></li>
<li><p><strong>target</strong> (<em>Optional</em><em>[</em><a class="reference internal" href="target.html#tvm.target.Target" title="tvm.target.Target"><em>Target</em></a><em>] </em><em>= None</em>) – The target to be optimized for.</p></li>
-<li><p><strong>space_generator</strong> (<em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.12)"><em>None</em></a><em>, </em><em>ScheduleFnType</em><em>, </em><a class="reference internal" href="#tvm.meta_schedule.SpaceGenerator" title="tvm.meta_schedule.SpaceGenerator"><em>SpaceGenerator</em></a><em>] </em><em>= None</em>) – The design space generator.</p></li>
-<li><p><strong>search_strategy</strong> (<em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.12)"><em>None</em></a><em>, </em><a class="reference internal" href="#tvm.meta_schedule.SearchStrategy" title="tvm.meta_schedule.SearchStrategy"><em>SearchStrategy</em></a><em>] </em><em>= None</em>) – The search strategy.
+<li><p><strong>space_generator</strong> (<em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><em>None</em></a><em>, </em><em>ScheduleFnType</em><em>, </em><a class="reference internal" href="#tvm.meta_schedule.SpaceGenerator" title="tvm.meta_schedule.SpaceGenerator"><em>SpaceGenerator</em></a><em>] </em><em>= None</em>) – The design space generator.</p></li>
+<li><p><strong>search_strategy</strong> (<em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><em>None</em></a><em>, </em><a class="reference internal" href="#tvm.meta_schedule.SearchStrategy" title="tvm.meta_schedule.SearchStrategy"><em>SearchStrategy</em></a><em>] </em><em>= None</em>) – The search strategy.
if None, the strategy is left blank.</p></li>
-<li><p><strong>task_name</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>] </em><em>= None</em>) – The name of the tuning task.</p></li>
-<li><p><strong>logger</strong> (<a class="reference external" href="https://docs.python.org/3/library/logging.html#logging.Logger" title="(in Python v3.12)"><em>logging.Logger</em></a>) – The logger for the tuning task.</p></li>
+<li><p><strong>task_name</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>] </em><em>= None</em>) – The name of the tuning task.</p></li>
+<li><p><strong>logger</strong> (<a class="reference external" href="https://docs.python.org/3/library/logging.html#logging.Logger" title="(in Python v3.13)"><em>logging.Logger</em></a>) – The logger for the tuning task.</p></li>
<li><p><strong>rand_state</strong> (<em>int = -1</em>) – The random state.
Need to be in integer in [1, 2^31-1], -1 means using random number.</p></li>
<li><p><strong>num_threads</strong> (<em>int = None</em>) – The number of threads to be used, None means using the logical cpu count.</p></li>
@@ -1807,13 +1807,13 @@ Need to be in integer in [1, 2^31-1], -1 means using random number.</p></li>
<dl class="py method">
<dt class="sig sig-object py" id="tvm.meta_schedule.TuneContext.pre_tuning">
-<span class="sig-name descname"><span class="pre">pre_tuning</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">max_trials</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><span class="pre">int</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">num_trials_per_iter</s [...]
+<span class="sig-name descname"><span class="pre">pre_tuning</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">max_trials</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><span class="pre">int</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">num_trials_per_iter</s [...]
<dd><p>A method to be called for SearchStrategy to do necessary preparation before tuning.</p>
<p>Delegated to self.search_strategy.pre_tuning.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>max_trials</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – The maximum number of trials to be executed.</p></li>
+<li><p><strong>max_trials</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – The maximum number of trials to be executed.</p></li>
<li><p><strong>num_trials_per_iter</strong> (<em>int = 64</em>) – The number of trials to be executed per iteration.</p></li>
<li><p><strong>design_spaces</strong> (<em>Optional</em><em>[</em><em>List</em><em>[</em><em>tvm.tir.Schedule</em><em>]</em><em>]</em>) – The design spaces used during tuning process.
If None, use the outcome of <cite>self.generate_design_space()</cite>.</p></li>
@@ -1830,7 +1830,7 @@ then use <cite>tvm.meta_schedule.cost_model.RandomModel</cite>.</p></li>
<dl class="py method">
<dt class="sig sig-object py" id="tvm.meta_schedule.TuneContext.post_tuning">
-<span class="sig-name descname"><span class="pre">post_tuning</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.12)"><span class="pre">None</span></a></span></span><a class="headerlink" href="#tvm.meta_schedule.TuneContext.post_tuning" title="Perm [...]
+<span class="sig-name descname"><span class="pre">post_tuning</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><span class="pre">None</span></a></span></span><a class="headerlink" href="#tvm.meta_schedule.TuneContext.post_tuning" title="Perm [...]
<dd><p>A method to be called for SearchStrategy to do necessary cleanup after tuning.</p>
<p>Delegated to self.search_strategy.post_tuning.</p>
</dd></dl>
@@ -1852,7 +1852,7 @@ then use <cite>tvm.meta_schedule.cost_model.RandomModel</cite>.</p></li>
<dl class="py method">
<dt class="sig sig-object py" id="tvm.meta_schedule.TuneContext.notify_runner_results">
-<span class="sig-name descname"><span class="pre">notify_runner_results</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">measure_candidates</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">List</span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="#tvm.meta_schedule.MeasureCandidate" title="tvm.meta_schedule.MeasureCandidate"><span class="pre">MeasureCa [...]
+<span class="sig-name descname"><span class="pre">notify_runner_results</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">measure_candidates</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">List</span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="#tvm.meta_schedule.MeasureCandidate" title="tvm.meta_schedule.MeasureCandidate"><span class="pre">MeasureCa [...]
<dd><p>Update the state in SearchStrategy with profiling results.</p>
<p>Delegated to self.search_strategy.notify_runner_results.</p>
<dl class="field-list simple">
@@ -1883,17 +1883,17 @@ then use <cite>tvm.meta_schedule.cost_model.RandomModel</cite>.</p></li>
<dl class="py function">
<dt class="sig sig-object py" id="tvm.meta_schedule.derived_object">
-<span class="sig-prename descclassname"><span class="pre">tvm.meta_schedule.</span></span><span class="sig-name descname"><span class="pre">derived_object</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">cls</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.html#type" title="(in Python v3.12)"><span class="pre">type</span></a></s [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.meta_schedule.</span></span><span class="sig-name descname"><span class="pre">derived_object</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">cls</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.html#type" title="(in Python v3.13)"><span class="pre">type</span></a></s [...]
<dd><p>A decorator to register derived subclasses for TVM objects.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>cls</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#type" title="(in Python v3.12)"><em>type</em></a>) – The derived class to be registered.</p>
+<dd class="field-odd"><p><strong>cls</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#type" title="(in Python v3.13)"><em>type</em></a>) – The derived class to be registered.</p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p><strong>cls</strong> – The decorated TVM object.</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#type" title="(in Python v3.12)">type</a></p>
+<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#type" title="(in Python v3.13)">type</a></p>
</dd>
</dl>
<p class="rubric">Example</p>
diff --git a/docs/reference/api/python/micro.html b/docs/reference/api/python/micro.html
index b1041a08c4..a355a9b203 100644
--- a/docs/reference/api/python/micro.html
+++ b/docs/reference/api/python/micro.html
@@ -514,16 +514,16 @@
<dl class="py class">
<dt class="sig sig-object py" id="tvm.micro.AutoTvmModuleLoader">
-<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.micro.</span></span><span class="sig-name descname"><span class="pre">AutoTvmModuleLoader</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">template_project_dir</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Union</span><span class="p"><span class="pre">[</span></span><a [...]
+<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.micro.</span></span><span class="sig-name descname"><span class="pre">AutoTvmModuleLoader</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">template_project_dir</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Union</span><span class="p"><span class="pre">[</span></span><a [...]
<dd><p>MicroTVM AutoTVM Module Loader</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>template_project_dir</strong> (<em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/os.html#os.PathLike" title="(in Python v3.12)"><em>os.PathLike</em></a><em>, </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em>) – project template path</p></li>
-<li><p><strong>project_options</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#dict" title="(in Python v3.12)"><em>dict</em></a>) – project generation option</p></li>
-<li><p><strong>project_dir</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – if use_existing is False: The path to save the generated microTVM Project.
+<li><p><strong>template_project_dir</strong> (<em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/os.html#os.PathLike" title="(in Python v3.13)"><em>os.PathLike</em></a><em>, </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em>) – project template path</p></li>
+<li><p><strong>project_options</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#dict" title="(in Python v3.13)"><em>dict</em></a>) – project generation option</p></li>
+<li><p><strong>project_dir</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – if use_existing is False: The path to save the generated microTVM Project.
if use_existing is True: The path to a generated microTVM Project for debugging.</p></li>
-<li><p><strong>use_existing</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a>) – skips the project generation and opens transport to the project at the project_dir address.</p></li>
+<li><p><strong>use_existing</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – skips the project generation and opens transport to the project at the project_dir address.</p></li>
</ul>
</dd>
</dl>
@@ -531,7 +531,7 @@ if use_existing is True: The path to a generated microTVM Project for debugging.
<dl class="py function">
<dt class="sig sig-object py" id="tvm.micro.get_standalone_crt_dir">
-<span class="sig-prename descclassname"><span class="pre">tvm.micro.</span></span><span class="sig-name descname"><span class="pre">get_standalone_crt_dir</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><span class="pre">str</span></a></span> [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.micro.</span></span><span class="sig-name descname"><span class="pre">get_standalone_crt_dir</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a></span> [...]
<dd><p>Find the standalone_crt directory.</p>
<p>Though the C runtime source lives in the tvm tree, it is intended to be distributed with any
binary build of TVM. This source tree is intended to be integrated into user projects to run
@@ -541,36 +541,36 @@ models targeted with –runtime=c.</p>
<dd class="field-odd"><p>The path to the standalone_crt</p>
</dd>
<dt class="field-even">Return type</dt>
-<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)">str</a></p>
+<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)">str</a></p>
</dd>
</dl>
</dd></dl>
<dl class="py function">
<dt class="sig sig-object py" id="tvm.micro.get_microtvm_template_projects">
-<span class="sig-prename descclassname"><span class="pre">tvm.micro.</span></span><span class="sig-name descname"><span class="pre">get_microtvm_template_projects</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">platform</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><span class="pre">str</sp [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.micro.</span></span><span class="sig-name descname"><span class="pre">get_microtvm_template_projects</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">platform</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</sp [...]
<dd><p>Find microTVM template project directory for specific platform.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>platform</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Platform type which should be defined in MicroTVMTemplateProject.</p>
+<dd class="field-odd"><p><strong>platform</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Platform type which should be defined in MicroTVMTemplateProject.</p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>Path to template project directory for platform.</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)">str</a></p>
+<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)">str</a></p>
</dd>
</dl>
</dd></dl>
<dl class="py function">
<dt class="sig sig-object py" id="tvm.micro.copy_crt_config_header">
-<span class="sig-prename descclassname"><span class="pre">tvm.micro.</span></span><span class="sig-name descname"><span class="pre">copy_crt_config_header</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">platform</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><span class="pre">str</span></a>< [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.micro.</span></span><span class="sig-name descname"><span class="pre">copy_crt_config_header</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">platform</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a>< [...]
<dd><p>Copy crt_config header file for a platform to destinatin.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>platform</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Platform type which should be defined in MicroTVMTemplateProject.</p></li>
+<li><p><strong>platform</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Platform type which should be defined in MicroTVMTemplateProject.</p></li>
<li><p><strong>output_path</strong> (<em>Path</em>) – Output path for crt_config header file.</p></li>
</ul>
</dd>
@@ -579,7 +579,7 @@ models targeted with –runtime=c.</p>
<dl class="py function">
<dt class="sig sig-object py" id="tvm.micro.export_model_library_format">
-<span class="sig-prename descclassname"><span class="pre">tvm.micro.</span></span><span class="sig-name descname"><span class="pre">export_model_library_format</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">mods</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Union</span><span class="p"><span class="pre">[</span></span><span class="pre">tvm.driver.build_module.OperatorModule</span><span [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.micro.</span></span><span class="sig-name descname"><span class="pre">export_model_library_format</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">mods</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Union</span><span class="p"><span class="pre">[</span></span><span class="pre">tvm.driver.build_module.OperatorModule</span><span [...]
<dd><p>Export the build artifact in Model Library Format.</p>
<p>This function creates a .tar archive containing the build artifacts in a standardized
layout. It’s intended to allow downstream automation to build TVM artifacts against the C
@@ -588,14 +588,14 @@ runtime.</p>
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>mod</strong> (<em>ExportableModule</em><em>, </em><em>List</em><em>[</em><em>ExportableModule</em><em>]</em>) – The return value of tvm.build or tvm.relay.build.</p></li>
-<li><p><strong>file_name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Path to the .tar archive to generate.</p></li>
+<li><p><strong>file_name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Path to the .tar archive to generate.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p><strong>file_name</strong> – The path to the generated .tar archive.</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)">str</a></p>
+<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)">str</a></p>
</dd>
</dl>
</dd></dl>
@@ -608,16 +608,16 @@ runtime.</p>
<dl class="py function">
<dt class="sig sig-object py" id="tvm.micro.generate_project">
-<span class="sig-prename descclassname"><span class="pre">tvm.micro.</span></span><span class="sig-name descname"><span class="pre">generate_project</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">template_project_dir</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Union</span><span class="p"><span class="pre">[</span></span><a class="reference external" href="https://docs.python.org/3/l [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.micro.</span></span><span class="sig-name descname"><span class="pre">generate_project</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">template_project_dir</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Union</span><span class="p"><span class="pre">[</span></span><a class="reference external" href="https://docs.python.org/3/l [...]
<dd><p>Generate a project for an embedded platform that contains the given model.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>template_project_path</strong> (<a class="reference external" href="https://docs.python.org/3/library/pathlib.html#pathlib.Path" title="(in Python v3.12)"><em>pathlib.Path</em></a><em> or </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Path to a template project containing a microTVM Project API server.</p></li>
-<li><p><strong>generated_project_path</strong> (<a class="reference external" href="https://docs.python.org/3/library/pathlib.html#pathlib.Path" title="(in Python v3.12)"><em>pathlib.Path</em></a><em> or </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Path to a directory to be created and filled with the built project.</p></li>
+<li><p><strong>template_project_path</strong> (<a class="reference external" href="https://docs.python.org/3/library/pathlib.html#pathlib.Path" title="(in Python v3.13)"><em>pathlib.Path</em></a><em> or </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Path to a template project containing a microTVM Project API server.</p></li>
+<li><p><strong>generated_project_path</strong> (<a class="reference external" href="https://docs.python.org/3/library/pathlib.html#pathlib.Path" title="(in Python v3.13)"><em>pathlib.Path</em></a><em> or </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Path to a directory to be created and filled with the built project.</p></li>
<li><p><strong>module</strong> (<em>ExportableModule</em>) – A runtime.Module exportable as Model Library Format. The value returned from tvm.relay.build
or tvm.build.</p></li>
-<li><p><strong>options</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#dict" title="(in Python v3.12)"><em>dict</em></a>) – If given, Project API options given to the microTVM API server found in both
+<li><p><strong>options</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#dict" title="(in Python v3.13)"><em>dict</em></a>) – If given, Project API options given to the microTVM API server found in both
template_project_path and generated_project_path.</p></li>
</ul>
</dd>
@@ -657,7 +657,7 @@ template_project_path and generated_project_path.</p></li>
</table>
<dl class="py method">
<dt class="sig sig-object py" id="tvm.micro.TemplateProject.generate_project_from_mlf">
-<span class="sig-name descname"><span class="pre">generate_project_from_mlf</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">model_library_format_path</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">project_dir</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">options</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="ht [...]
+<span class="sig-name descname"><span class="pre">generate_project_from_mlf</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">model_library_format_path</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">project_dir</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">options</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="ht [...]
<dd><p>Generate a project from MLF file.</p>
</dd></dl>
@@ -676,7 +676,7 @@ template_project_path and generated_project_path.</p></li>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>graph_json_str</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – A string containing the graph representation.</p></li>
+<li><p><strong>graph_json_str</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – A string containing the graph representation.</p></li>
<li><p><strong>mod</strong> (<em>tvm.runtime.Module</em>) – The remote module containing functions in graph_json_str.</p></li>
<li><p><strong>device</strong> (<em>tvm.runtime.Device</em>) – The remote CPU execution device.</p></li>
</ul>
@@ -697,10 +697,10 @@ template_project_path and generated_project_path.</p></li>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>graph_json_str</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – A string containing the graph representation.</p></li>
+<li><p><strong>graph_json_str</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – A string containing the graph representation.</p></li>
<li><p><strong>mod</strong> (<em>tvm.runtime.Module</em>) – The remote module containing functions in graph_json_str.</p></li>
<li><p><strong>device</strong> (<em>tvm.runtime.Device</em>) – The remote CPU execution device.</p></li>
-<li><p><strong>dump_root</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em>) – If given, passed as dump_root= to GraphModuleDebug.</p></li>
+<li><p><strong>dump_root</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em>) – If given, passed as dump_root= to GraphModuleDebug.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -735,7 +735,7 @@ template_project_path and generated_project_path.</p></li>
<dd><p>MicroTVM Device Session</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>config</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#dict" title="(in Python v3.12)"><em>dict</em></a>) – configuration for this session (as generated by
+<dd class="field-odd"><p><strong>config</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#dict" title="(in Python v3.13)"><em>dict</em></a>) – configuration for this session (as generated by
<cite>tvm.micro.device.host.default_config()</cite>, for example)</p>
</dd>
</dl>
@@ -808,8 +808,8 @@ template_project_path and generated_project_path.</p></li>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>n</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – Maximum number of bytes to read from the transport.</p></li>
-<li><p><strong>timeout_sec</strong> (<em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.12)"><em>float</em></a><em>, </em><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.12)"><em>None</em></a><em>]</em>) – Number of seconds to wait for all <cite>n</cite> bytes to be received before timing out. The
+<li><p><strong>n</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – Maximum number of bytes to read from the transport.</p></li>
+<li><p><strong>timeout_sec</strong> (<em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.13)"><em>float</em></a><em>, </em><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><em>None</em></a><em>]</em>) – Number of seconds to wait for all <cite>n</cite> bytes to be received before timing out. The
transport can wait additional time to account for transport latency or bandwidth
limitations based on the selected configuration and number of bytes being received. If
timeout_sec is 0, read should attempt to service the request in a non-blocking fashion.
@@ -823,7 +823,7 @@ internally-added timeout, should be waited. If a timeout or transport error occu
an exception should be raised rather than simply returning empty bytes.</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#bytes" title="(in Python v3.12)">bytes</a></p>
+<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#bytes" title="(in Python v3.13)">bytes</a></p>
</dd>
<dt class="field-even">Raises</dt>
<dd class="field-even"><ul class="simple">
@@ -842,8 +842,8 @@ an exception should be raised rather than simply returning empty bytes.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>data</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#bytes" title="(in Python v3.12)"><em>bytes</em></a>) – The data to write over the channel.</p></li>
-<li><p><strong>timeout_sec</strong> (<em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.12)"><em>float</em></a><em>, </em><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.12)"><em>None</em></a><em>]</em>) – Number of seconds to wait for at least one byte to be written before timing out. The
+<li><p><strong>data</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#bytes" title="(in Python v3.13)"><em>bytes</em></a>) – The data to write over the channel.</p></li>
+<li><p><strong>timeout_sec</strong> (<em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.13)"><em>float</em></a><em>, </em><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><em>None</em></a><em>]</em>) – Number of seconds to wait for at least one byte to be written before timing out. The
transport can wait additional time to account for transport latency or bandwidth
limitations based on the selected configuration and number of bytes being received. If
timeout_sec is 0, write should attempt to service the request in a non-blocking fashion.
@@ -856,7 +856,7 @@ returned.</p></li>
of <cite>data</cite>, but cannot be 0 (raise an exception instead).</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)">int</a></p>
+<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)">int</a></p>
</dd>
<dt class="field-even">Raises</dt>
<dd class="field-even"><ul class="simple">
diff --git a/docs/reference/api/python/relax/analysis.html b/docs/reference/api/python/relax/analysis.html
index ca77627c3d..9fc6cbb9ae 100644
--- a/docs/reference/api/python/relax/analysis.html
+++ b/docs/reference/api/python/relax/analysis.html
@@ -544,7 +544,7 @@ order of their occurrence within the function.</p>
<dl class="py function">
<dt class="sig sig-object py" id="tvm.relax.analysis.contains_impure_call">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.analysis.</span></span><span class="sig-name descname"><span class="pre">contains_impure_call</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">expr</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="../ir.html#tvm.ir.RelayExpr" title="tvm.ir.expr.RelayExpr"><span class="pre">tvm.ir.expr.RelayExpr</span></a> [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.analysis.</span></span><span class="sig-name descname"><span class="pre">contains_impure_call</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">expr</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="../ir.html#tvm.ir.RelayExpr" title="tvm.ir.expr.RelayExpr"><span class="pre">tvm.ir.expr.RelayExpr</span></a> [...]
<dd><p>Check if the given expression (likely a function body) contains any impure calls.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
@@ -559,7 +559,7 @@ for checking purity.</p></li>
(call to a function that may have visible side effects).</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)">bool</a></p>
+<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)">bool</a></p>
</dd>
</dl>
<p class="rubric">Notes</p>
@@ -754,7 +754,7 @@ VarBinding or a function parameter in the expression.
<dl class="py function">
<dt class="sig sig-object py" id="tvm.relax.analysis.has_reshape_pattern">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.analysis.</span></span><span class="sig-name descname"><span class="pre">has_reshape_pattern</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">func</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="../tir/tir.html#tvm.tir.PrimFunc" title="tvm.tir.function.PrimFunc"><span class="pre">tvm.tir.function.PrimFun [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.analysis.</span></span><span class="sig-name descname"><span class="pre">has_reshape_pattern</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">func</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="../tir/tir.html#tvm.tir.PrimFunc" title="tvm.tir.function.PrimFunc"><span class="pre">tvm.tir.function.PrimFun [...]
<dd><p>Check if the given PrimFunc is essentially doing a reshape operation.
The reshape operation also includes expand_dims, squeeze, flatten, etc.</p>
<p>Here the allowed reshape pattern is: for example, assume the operation is
@@ -769,7 +769,7 @@ flattened index of r_0, …, r_a under buffer A.</p>
<dd class="field-even"><p><strong>ret</strong> – A boolean indicating if the given PrimFunc is doing a reshape.</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)">bool</a></p>
+<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)">bool</a></p>
</dd>
</dl>
<p class="rubric">Notes</p>
@@ -781,7 +781,7 @@ of this function.</p>
<dl class="py function">
<dt class="sig sig-object py" id="tvm.relax.analysis.name_to_binding">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.analysis.</span></span><span class="sig-name descname"><span class="pre">name_to_binding</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">func</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="relax.html#tvm.relax.Function" title="tvm.relax.expr.Function"><span class="pre">tvm.relax.expr.Function</span></a [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.analysis.</span></span><span class="sig-name descname"><span class="pre">name_to_binding</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">func</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="relax.html#tvm.relax.Function" title="tvm.relax.expr.Function"><span class="pre">tvm.relax.expr.Function</span></a [...]
<dd><p>Return a map from variable name to its bindings.</p>
</dd></dl>
@@ -923,13 +923,13 @@ The returned list is deduplicated - each TIR variable will appear at most once.<
<dl class="py function">
<dt class="sig sig-object py" id="tvm.relax.analysis.well_formed">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.analysis.</span></span><span class="sig-name descname"><span class="pre">well_formed</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">obj</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Union</span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="../ir.html#tvm.ir.IRModule" title="tvm.i [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.analysis.</span></span><span class="sig-name descname"><span class="pre">well_formed</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">obj</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Union</span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="../ir.html#tvm.ir.IRModule" title="tvm.i [...]
<dd><p>Check if the IRModule is well formed.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>obj</strong> (<em>Union</em><em>[</em><em>tvm.IRModule</em><em>, </em><a class="reference internal" href="relax.html#tvm.relax.Function" title="tvm.relax.Function"><em>Function</em></a><em>]</em>) – The input IRModule or relax.Function.</p></li>
-<li><p><strong>check_struct_info</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a>) – A boolean flag indicating if the property “every Expr must
+<li><p><strong>check_struct_info</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – A boolean flag indicating if the property “every Expr must
have defined structure info” will be checked.</p></li>
</ul>
</dd>
@@ -937,7 +937,7 @@ have defined structure info” will be checked.</p></li>
<dd class="field-even"><p><strong>ret</strong> – True if the IRModule is well formed, False if not.</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)">bool</a></p>
+<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)">bool</a></p>
</dd>
</dl>
<div class="admonition note">
@@ -950,7 +950,7 @@ will be well tested and will not be blocked by not having structure info.</p>
<dl class="py function">
<dt class="sig sig-object py" id="tvm.relax.analysis.estimate_memory_usage">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.analysis.</span></span><span class="sig-name descname"><span class="pre">estimate_memory_usage</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">mod</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Union</span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="../ir.html#tvm.ir.IRModule" ti [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.analysis.</span></span><span class="sig-name descname"><span class="pre">estimate_memory_usage</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">mod</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Union</span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="../ir.html#tvm.ir.IRModule" ti [...]
<dd><p>Analysis function that estimates the memory usage of Relax functions
in an IRModule. The estimation includes the total memory size needed to
be allocated before and after memory planning.</p>
@@ -969,7 +969,7 @@ the function named “main”.</p>
<dd class="field-even"><p><strong>est</strong> – The estimation information, in the form of a string.</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)">str</a></p>
+<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)">str</a></p>
</dd>
</dl>
<p class="rubric">Notes</p>
diff --git a/docs/reference/api/python/relax/block_builder.html b/docs/reference/api/python/relax/block_builder.html
index 3a704c891c..ff52bb225c 100644
--- a/docs/reference/api/python/relax/block_builder.html
+++ b/docs/reference/api/python/relax/block_builder.html
@@ -501,18 +501,18 @@
<dl class="py method">
<dt class="sig sig-object py" id="tvm.relax.block_builder.BlockBuilder.function">
-<span class="sig-name descname"><span class="pre">function</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><span class="pre">str</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">params</span></span><span class [...]
+<span class="sig-name descname"><span class="pre">function</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">params</span></span><span class [...]
<dd><p>Annotate a Relax function.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><em>optional</em>) – The name of the function</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><em>optional</em>) – The name of the function</p></li>
<li><p><strong>params</strong> (<a class="reference internal" href="relax.html#tvm.relax.Var" title="tvm.relax.Var"><em>tvm.relax.Var</em></a><em> | </em><a class="reference internal" href="relax.html#tvm.relax.Tuple" title="tvm.relax.Tuple"><em>Tuple</em></a><em> | </em><em>List</em><em>[</em><a class="reference internal" href="relax.html#tvm.relax.Var" title="tvm.relax.Var"><em>tvm.relax.Var</em></a><em>]</em><em>, </em><em>optional</em>) – The parameters of the function.
If params is None, it means deferring initialization of function parameters
until emit_func_output.</p></li>
-<li><p><strong>attrs</strong> (<em>Dict</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><em>Object</em><em>]</em><em>, </em><em>optional</em>) – The function attrs</p></li>
-<li><p><strong>pure</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a><em>, </em><em>optional</em>) – Whether the function is annotated as pure.</p></li>
-<li><p><strong>private</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a><em>, </em><em>optional</em>) – Whether the function is annotated as private.
+<li><p><strong>attrs</strong> (<em>Dict</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><em>Object</em><em>]</em><em>, </em><em>optional</em>) – The function attrs</p></li>
+<li><p><strong>pure</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a><em>, </em><em>optional</em>) – Whether the function is annotated as pure.</p></li>
+<li><p><strong>private</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a><em>, </em><em>optional</em>) – Whether the function is annotated as private.
If the function is private, it will not have a global symbol attribute.
If it is not private and not an inner function, then it will have
a global symbol attribute (mapped to the function’s name)</p></li>
@@ -560,7 +560,7 @@ a global symbol attribute (mapped to the function’s name)</p></li>
<dl class="py method">
<dt class="sig sig-object py" id="tvm.relax.block_builder.BlockBuilder.emit">
-<span class="sig-name descname"><span class="pre">emit</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">expr</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="../ir.html#tvm.ir.RelayExpr" title="tvm.ir.expr.RelayExpr"><span class="pre">tvm.ir.expr.RelayExpr</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">name_hint</span></span><span class="p [...]
+<span class="sig-name descname"><span class="pre">emit</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">expr</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="../ir.html#tvm.ir.RelayExpr" title="tvm.ir.expr.RelayExpr"><span class="pre">tvm.ir.expr.RelayExpr</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">name_hint</span></span><span class="p [...]
<dd><p>Emit an expr.
This infers the shape and type of the expr, create a variable,
and bind the expr to the variable.</p>
@@ -568,7 +568,7 @@ and bind the expr to the variable.</p>
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>expr</strong> (<em>tvm.relax.Expr</em>) – The Expr to be emitted.</p></li>
-<li><p><strong>name_hint</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint for the bound variable.</p></li>
+<li><p><strong>name_hint</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint for the bound variable.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -616,7 +616,7 @@ be added to the PrimFunc that gets created.</p></li>
<dl class="py method">
<dt class="sig sig-object py" id="tvm.relax.block_builder.BlockBuilder.call_te_with_grad">
-<span class="sig-name descname"><span class="pre">call_te_with_grad</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">func</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Callable</span></span></em>, <em class="sig-param"><span class="o"><span class="pre">*</span></span><span class="n"><span class="pre">args</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><sp [...]
+<span class="sig-name descname"><span class="pre">call_te_with_grad</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">func</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Callable</span></span></em>, <em class="sig-param"><span class="o"><span class="pre">*</span></span><span class="n"><span class="pre">args</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><sp [...]
<dd><p>Generate a call node according to the te function.
This method will generate a call_tir_with_grad node, i.e. a call_tir node bound with a
te gradient function (refered by te_grad_name).</p>
@@ -625,9 +625,9 @@ te gradient function (refered by te_grad_name).</p>
<dd class="field-odd"><ul class="simple">
<li><p><strong>func</strong> (<em>Callable</em>) – A function that returns a te tensor or a list of te tensors.</p></li>
<li><p><strong>args</strong> (<a class="reference internal" href="../tir/tir.html#tvm.tir.Any" title="tvm.tir.Any"><em>Any</em></a><em>, </em><em>optional</em>) – arguments passed to the function.</p></li>
-<li><p><strong>te_grad_name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The registered name of the te gradient function associated with the call_tir_with_grad
+<li><p><strong>te_grad_name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The registered name of the te gradient function associated with the call_tir_with_grad
node. Must be provided as a keyword argument.</p></li>
-<li><p><strong>te_grad_kwargs</strong> (<em>Dict</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><em>Object</em><em>]</em><em>, </em><em>optional</em>) – The keyword arguments passed to the te gradient function.
+<li><p><strong>te_grad_kwargs</strong> (<em>Dict</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><em>Object</em><em>]</em><em>, </em><em>optional</em>) – The keyword arguments passed to the te gradient function.
Optionally provided as a keyword argument. Default: {}.</p></li>
<li><p><strong>kwargs</strong> (<a class="reference internal" href="../tir/tir.html#tvm.tir.Any" title="tvm.tir.Any"><em>Any</em></a><em>, </em><em>optional</em>) – <p>The keyword arguments passed to the function.
Note that the following keyword args are reserved:</p>
@@ -763,14 +763,14 @@ to the PrimFunc that gets generated.</p></li>
<dl class="py method">
<dt class="sig sig-object py" id="tvm.relax.block_builder.BlockBuilder.match_cast">
-<span class="sig-name descname"><span class="pre">match_cast</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">value</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="../ir.html#tvm.ir.RelayExpr" title="tvm.ir.expr.RelayExpr"><span class="pre">tvm.ir.expr.RelayExpr</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">struct_info</span></span><span [...]
+<span class="sig-name descname"><span class="pre">match_cast</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">value</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="../ir.html#tvm.ir.RelayExpr" title="tvm.ir.expr.RelayExpr"><span class="pre">tvm.ir.expr.RelayExpr</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">struct_info</span></span><span [...]
<dd><p>Emit a MatchCast.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>value</strong> (<em>tvm.relax.Expr</em>) – The value of the MatchCast to be emitted.</p></li>
<li><p><strong>struct_info</strong> (<a class="reference internal" href="relax.html#tvm.relax.StructInfo" title="tvm.relax.StructInfo"><em>StructInfo</em></a>) – The struct info to be matched.</p></li>
-<li><p><strong>name_hint</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The name of the match cast</p></li>
+<li><p><strong>name_hint</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The name of the match cast</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -784,13 +784,13 @@ to the PrimFunc that gets generated.</p></li>
<dl class="py method">
<dt class="sig sig-object py" id="tvm.relax.block_builder.BlockBuilder.emit_output">
-<span class="sig-name descname"><span class="pre">emit_output</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">output</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Union</span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="../ir.html#tvm.ir.RelayExpr" title="tvm.ir.expr.RelayExpr"><span class="pre">tvm.ir.expr.RelayExpr</span></a><span class="p"><sp [...]
+<span class="sig-name descname"><span class="pre">emit_output</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">output</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Union</span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="../ir.html#tvm.ir.RelayExpr" title="tvm.ir.expr.RelayExpr"><span class="pre">tvm.ir.expr.RelayExpr</span></a><span class="p"><sp [...]
<dd><p>Emit output for the current dataflow block or function.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>output</strong> (<em>Expr</em><em> | </em><a class="reference internal" href="relax.html#tvm.relax.Tuple" title="tvm.relax.Tuple"><em>Tuple</em></a><em> | </em><em>List</em><em>[</em><em>Expr</em><em>]</em>) – The output of the current block/function.</p></li>
-<li><p><strong>name_hint</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint for the bound variable.</p></li>
+<li><p><strong>name_hint</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint for the bound variable.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -876,30 +876,30 @@ See also tvm.relax.transform.NormalizeGlobalVar.</p>
<dl class="py method">
<dt class="sig sig-object py" id="tvm.relax.block_builder.BlockBuilder.get_unique_name">
-<span class="sig-name descname"><span class="pre">get_unique_name</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name_prefix</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><span class="pre">str</span></a></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig- [...]
+<span class="sig-name descname"><span class="pre">get_unique_name</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name_prefix</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig- [...]
<dd><p>Generate a unique name with a specified prefix.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>name_hint</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The name prefix.</p>
+<dd class="field-odd"><p><strong>name_hint</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The name prefix.</p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p><strong>ret</strong> – The generated name.</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)">str</a></p>
+<dd class="field-odd"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)">str</a></p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="tvm.relax.block_builder.BlockBuilder.add_func">
-<span class="sig-name descname"><span class="pre">add_func</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">func</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="../ir.html#tvm.ir.BaseFunc" title="tvm.ir.function.BaseFunc"><span class="pre">tvm.ir.function.BaseFunc</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">func_name</span></span><span [...]
+<span class="sig-name descname"><span class="pre">add_func</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">func</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="../ir.html#tvm.ir.BaseFunc" title="tvm.ir.function.BaseFunc"><span class="pre">tvm.ir.function.BaseFunc</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">func_name</span></span><span [...]
<dd><p>Add a Relax function or a TIR PrimFunc to the IRModule being built.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>func</strong> (<a class="reference internal" href="../ir.html#tvm.ir.BaseFunc" title="tvm.ir.BaseFunc"><em>BaseFunc</em></a>) – The function to be added.</p></li>
-<li><p><strong>func_name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The name of the function to be added.</p></li>
+<li><p><strong>func_name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The name of the function to be added.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -913,7 +913,7 @@ See also tvm.relax.transform.NormalizeGlobalVar.</p>
<dl class="py method">
<dt class="sig sig-object py" id="tvm.relax.block_builder.BlockBuilder.update_func">
-<span class="sig-name descname"><span class="pre">update_func</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">gv</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="../ir.html#tvm.ir.GlobalVar" title="tvm.ir.expr.GlobalVar"><span class="pre">tvm.ir.expr.GlobalVar</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">updated_func</span></span><span [...]
+<span class="sig-name descname"><span class="pre">update_func</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">gv</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="../ir.html#tvm.ir.GlobalVar" title="tvm.ir.expr.GlobalVar"><span class="pre">tvm.ir.expr.GlobalVar</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">updated_func</span></span><span [...]
<dd><p>Add a Relax function or a TIR PrimFunc to the IRModule being built.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
@@ -927,21 +927,21 @@ See also tvm.relax.transform.NormalizeGlobalVar.</p>
<dl class="py method">
<dt class="sig sig-object py" id="tvm.relax.block_builder.BlockBuilder.current_block_is_dataflow">
-<span class="sig-name descname"><span class="pre">current_block_is_dataflow</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><span class="pre">bool</span></a></span></span><a class="headerlink" href="#tvm.relax.block_builder.BlockBuilder.cur [...]
+<span class="sig-name descname"><span class="pre">current_block_is_dataflow</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><span class="pre">bool</span></a></span></span><a class="headerlink" href="#tvm.relax.block_builder.BlockBuilder.cur [...]
<dd><p>Check if the block being built is DataflowBlock or not.</p>
<dl class="field-list simple">
<dt class="field-odd">Returns</dt>
<dd class="field-odd"><p><strong>ret</strong> – A boolean that indicates if the block being built is DataflowBlock or not.</p>
</dd>
<dt class="field-even">Return type</dt>
-<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)">bool</a></p>
+<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)">bool</a></p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py" id="tvm.relax.block_builder.BlockBuilder.emit_normalized">
-<span class="sig-name descname"><span class="pre">emit_normalized</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">binding</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="relax.html#tvm.relax.Binding" title="tvm.relax.expr.Binding"><span class="pre">tvm.relax.expr.Binding</span></a></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-ret [...]
+<span class="sig-name descname"><span class="pre">emit_normalized</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">binding</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="relax.html#tvm.relax.Binding" title="tvm.relax.expr.Binding"><span class="pre">tvm.relax.expr.Binding</span></a></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-ret [...]
<dd><p>Emit an already normalized binding.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
@@ -969,7 +969,7 @@ See also tvm.relax.transform.NormalizeGlobalVar.</p>
<dl class="py method">
<dt class="sig sig-object py" id="tvm.relax.block_builder.BlockBuilder.begin_scope">
-<span class="sig-name descname"><span class="pre">begin_scope</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">params</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Optional</span><span class="p"><span class="pre">[</span></span><span class="pre">List</span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="relax.html#tvm.relax.Var" title="tvm.relax.expr [...]
+<span class="sig-name descname"><span class="pre">begin_scope</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">params</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Optional</span><span class="p"><span class="pre">[</span></span><span class="pre">List</span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="relax.html#tvm.relax.Var" title="tvm.relax.expr [...]
<dd><p>Begin a new scope, with optional parameters that
are visible within the scope.</p>
<dl class="field-list simple">
@@ -987,7 +987,7 @@ and help the best effort deduction.</p>
<dl class="py method">
<dt class="sig sig-object py" id="tvm.relax.block_builder.BlockBuilder.end_scope">
-<span class="sig-name descname"><span class="pre">end_scope</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.12)"><span class="pre">None</span></a></span></span><a class="headerlink" href="#tvm.relax.block_builder.BlockBuilder.end_scope" title="P [...]
+<span class="sig-name descname"><span class="pre">end_scope</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.13)"><span class="pre">None</span></a></span></span><a class="headerlink" href="#tvm.relax.block_builder.BlockBuilder.end_scope" title="P [...]
<dd><p>End the current scope. Please see <cite>begin_scope</cite> for details</p>
</dd></dl>
diff --git a/docs/reference/api/python/relax/frontend.html b/docs/reference/api/python/relax/frontend.html
index a0de84a1ff..320855ce55 100644
--- a/docs/reference/api/python/relax/frontend.html
+++ b/docs/reference/api/python/relax/frontend.html
@@ -440,7 +440,7 @@
<p>Frontends for constructing Relax programs, with the model importers</p>
<dl class="py function">
<dt class="sig sig-object py" id="tvm.relax.frontend.detach_params">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.</span></span><span class="sig-name descname"><span class="pre">detach_params</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">mod</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="../ir.html#tvm.ir.IRModule" title="tvm.ir.module.IRModule"><span class="pre">tvm.ir.module.IRModule</span></a></span> [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.</span></span><span class="sig-name descname"><span class="pre">detach_params</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">mod</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="../ir.html#tvm.ir.IRModule" title="tvm.ir.module.IRModule"><span class="pre">tvm.ir.module.IRModule</span></a></span> [...]
<dd><p>Detach the attribute “params” in the functions of the input IRModule as
separate dictionary of params.</p>
<dl class="field-list simple">
@@ -468,20 +468,20 @@ functions in the input IRModule that have attribute “params”.</p></li>
effects, for example, print. It is used to represent the output of a computation.</p>
<dl class="py method">
<dt class="sig sig-object py">
-<span class="sig-name descname"><span class="pre">emit_init</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name_hint</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><span class="pre">str</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">builder</span></span><spa [...]
+<span class="sig-name descname"><span class="pre">emit_init</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name_hint</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">builder</span></span><spa [...]
<dd><p>Emit the initialization of the effect. This method is called by the compiler to
initialize the effect.</p>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py">
-<span class="sig-name descname"><span class="pre">create</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name_hint</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><span class="pre">str</span></a></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon [...]
+<span class="sig-name descname"><span class="pre">create</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name_hint</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon [...]
<dd><p>Create the implicit inputs to a relax.Function that represents the side effect</p>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py">
-<span class="sig-name descname"><span class="pre">set_state</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">state_vars</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">List</span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="relax.html#tvm.relax.Var" title="tvm.relax.expr.Var"><span class="pre">tvm.relax.expr.Var</span></a><span class="p"><span class [...]
+<span class="sig-name descname"><span class="pre">set_state</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">state_vars</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">List</span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="relax.html#tvm.relax.Var" title="tvm.relax.expr.Var"><span class="pre">tvm.relax.expr.Var</span></a><span class="p"><span class [...]
<dd><p>Set the variables that represents the effect</p>
</dd></dl>
@@ -493,7 +493,7 @@ initialize the effect.</p>
<dl class="py method">
<dt class="sig sig-object py">
-<span class="sig-name descname"><span class="pre">to</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">dtype</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Optional</span><span class="p"><span class="pre">[</span></span><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><span class="pre">str</span></a><span class="p"><span cl [...]
+<span class="sig-name descname"><span class="pre">to</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">dtype</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Optional</span><span class="p"><span class="pre">[</span></span><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a><span class="p"><span cl [...]
<dd><p>Convert the effect to specific dtype. Usually it is no-op for most of the effects</p>
</dd></dl>
@@ -506,12 +506,12 @@ initialize the effect.</p>
Modules can nest within each other in a tree structure using regular attribute assignment.</p>
<dl class="py method">
<dt class="sig sig-object py">
-<span class="sig-name descname"><span class="pre">named_parameters</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">prefix</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><span class="pre">str</span></a></span> <span class="o"><span class="pre">=</span></span> <span class="default_value"><span [...]
+<span class="sig-name descname"><span class="pre">named_parameters</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">prefix</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a></span> <span class="o"><span class="pre">=</span></span> <span class="default_value"><span [...]
<dd><p>This method provides an iterator over module parameters,
yielding both the parameter name and its corresponding value.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>prefix</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Prefix to prepend to all parameter names.</p>
+<dd class="field-odd"><p><strong>prefix</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Prefix to prepend to all parameter names.</p>
</dd>
<dt class="field-even">Yields</dt>
<dd class="field-even"><p><em>(str, Parameter) - Tuple containing the name and parameter</em></p>
@@ -533,34 +533,34 @@ yielding only the Parameter value.</p>
<dl class="py method">
<dt class="sig sig-object py">
-<span class="sig-name descname"><span class="pre">state_dict</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="o"><span class="pre">*</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">prefix</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><span class="pre">str</span></a></span> <span class [...]
+<span class="sig-name descname"><span class="pre">state_dict</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="o"><span class="pre">*</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">prefix</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a></span> <span class [...]
<dd><p>Returns a dictionary containing references to the whole state of the module.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>prefix</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Prefix to prepend to all parameter names.</p></li>
-<li><p><strong>destination</strong> (<em>Optional</em><em>[</em><em>Dict</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><em>Parameter</em><em>]</em><em>]</em>) – Dictionary to which state will be saved. If None, a new dictionary is created.</p></li>
+<li><p><strong>prefix</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Prefix to prepend to all parameter names.</p></li>
+<li><p><strong>destination</strong> (<em>Optional</em><em>[</em><em>Dict</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><em>Parameter</em><em>]</em><em>]</em>) – Dictionary to which state will be saved. If None, a new dictionary is created.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p><strong>dict</strong> – a dictionary containing a whole state of the module</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p>Dict[<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)">str</a>, Parameter]</p>
+<dd class="field-odd"><p>Dict[<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)">str</a>, Parameter]</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py">
-<span class="sig-name descname"><span class="pre">load_state_dict</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">state_dict</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Dict</span><span class="p"><span class="pre">[</span></span><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><span class="pre">str</span></a><span clas [...]
+<span class="sig-name descname"><span class="pre">load_state_dict</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">state_dict</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Dict</span><span class="p"><span class="pre">[</span></span><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a><span clas [...]
<dd><p>This function copies parameters and buffers from the state_dict into the current module
and its descendants. If <cite>strict</cite> is set to True, the keys in the <cite>state_dict</cite> must exactly
match the keys returned by the <cite>state_dict()</cite> function of this module.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>state_dict</strong> (<em>Dict</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><em>Parameter</em><em>]</em>) – A dictionary containing a whole state of the module</p></li>
+<li><p><strong>state_dict</strong> (<em>Dict</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><em>Parameter</em><em>]</em>) – A dictionary containing a whole state of the module</p></li>
<li><p><strong>strict</strong> (<em>bool = True</em>) – Whether to strictly enforce that the keys in <cite>state_dict</cite> match the keys returned by
this module’s <cite>state_dict()</cite> function.</p></li>
</ul>
@@ -569,27 +569,27 @@ this module’s <cite>state_dict()</cite> function.</p></li>
<dd class="field-even"><p><strong>(missing_keys, unexpected_keys)</strong> – A tuple of two lists: the missing keys and the unexpected keys.</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p><a class="reference internal" href="relax.html#tvm.relax.Tuple" title="tvm.relax.Tuple">Tuple</a>[List[<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)">str</a>], List[<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)">str</a>]]</p>
+<dd class="field-odd"><p><a class="reference internal" href="relax.html#tvm.relax.Tuple" title="tvm.relax.Tuple">Tuple</a>[List[<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)">str</a>], List[<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)">str</a>]]</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py">
-<span class="sig-name descname"><span class="pre">to</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">dtype</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Optional</span><span class="p"><span class="pre">[</span></span><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><span class="pre">str</span></a><span class="p"><span cl [...]
+<span class="sig-name descname"><span class="pre">to</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">dtype</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Optional</span><span class="p"><span class="pre">[</span></span><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a><span class="p"><span cl [...]
<dd><p>Convert the module to specific dtype recursively</p>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py">
-<span class="sig-name descname"><span class="pre">export_tvm</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">spec</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">_spec.ModuleSpecType</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">debug</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://do [...]
+<span class="sig-name descname"><span class="pre">export_tvm</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">spec</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">_spec.ModuleSpecType</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">debug</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://do [...]
<dd><p>Export the module to TVM IRModule and parameters</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>spec</strong> (<em>_spec.ModuleSpecType</em>) – A dictionary mapping each input name to a specification
that defines the inputs shape and dtype.</p></li>
-<li><p><strong>debug</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a>) – If set to True, then the exported module will support
+<li><p><strong>debug</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – If set to True, then the exported module will support
effects. This enables things like printing in the graph.</p></li>
</ul>
</dd>
@@ -606,7 +606,7 @@ effects. This enables things like printing in the graph.</p></li>
<dl class="py method">
<dt class="sig sig-object py">
-<span class="sig-name descname"><span class="pre">jit</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">spec</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">_spec.ModuleSpec</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">device</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Union</span><span class="p"><span clas [...]
+<span class="sig-name descname"><span class="pre">jit</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">spec</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">_spec.ModuleSpec</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">device</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Union</span><span class="p"><span clas [...]
<dd><p>Just-in-time compilation of a nn.model to an executable</p>
</dd></dl>
@@ -624,7 +624,7 @@ effects. This enables things like printing in the graph.</p></li>
<dl class="py method">
<dt class="sig sig-object py">
-<span class="sig-name descname"><span class="pre">to</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">dtype</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Optional</span><span class="p"><span class="pre">[</span></span><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><span class="pre">str</span></a><span class="p"><span cl [...]
+<span class="sig-name descname"><span class="pre">to</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">dtype</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Optional</span><span class="p"><span class="pre">[</span></span><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a><span class="p"><span cl [...]
<dd><p>Convert the module to specific dtype recursively</p>
</dd></dl>
@@ -638,7 +638,7 @@ effects. This enables things like printing in the graph.</p></li>
<dl class="py class">
<dt class="sig sig-object py">
-<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">Object</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="o"><span class="pre">*</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">_expr</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference [...]
+<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">Object</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="o"><span class="pre">*</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">_expr</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference [...]
<dd><p>A wrapper on top of relax.Expr whose struct_info is the base
ObjectStructInfo (rather than any its subclass). Object effectively
represents non-tensor frontend components such as KV caches.</p>
@@ -646,7 +646,7 @@ represents non-tensor frontend components such as KV caches.</p>
<dl class="py class">
<dt class="sig sig-object py">
-<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">Parameter</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">shape</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Sequence</span><span class="p"><span class="pre">[</span></span><span class=" [...]
+<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">Parameter</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">shape</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Sequence</span><span class="p"><span class="pre">[</span></span><span class=" [...]
<dd><p>A parameter represents the weight of a neural network layer. It is a special tensor which
could be bound or not bound to concrete values. If a parameter is bound to a concrete value,
it is called a bound parameter, otherwise it is called an unbound parameter.</p>
@@ -659,7 +659,7 @@ otherwise returns None. The returned value is a tvm.runtime.NDArray.</p>
<dl class="py method">
<dt class="sig sig-object py">
-<span class="sig-name descname"><span class="pre">to</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">dtype</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Optional</span><span class="p"><span class="pre">[</span></span><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><span class="pre">str</span></a><span class="p"><span cl [...]
+<span class="sig-name descname"><span class="pre">to</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">dtype</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Optional</span><span class="p"><span class="pre">[</span></span><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a><span class="p"><span cl [...]
<dd><p>Change the dtype of the parameter if it is not bound to any concrete data</p>
</dd></dl>
@@ -680,19 +680,19 @@ operators are applied on tensors, the shape and dtype information is already ava
<dl class="py method">
<dt class="sig sig-object py">
-<em class="property"><span class="pre">static</span> </em><span class="sig-name descname"><span class="pre">from_scalar</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">data</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Union</span><span class="p"><span class="pre">[</span></span><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python [...]
+<em class="property"><span class="pre">static</span> </em><span class="sig-name descname"><span class="pre">from_scalar</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">data</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Union</span><span class="p"><span class="pre">[</span></span><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python [...]
<dd><p>Construct a tensor from a scalar with dtype specified.</p>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py">
-<em class="property"><span class="pre">static</span> </em><span class="sig-name descname"><span class="pre">from_struct_info</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">struct_info</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="relax.html#tvm.relax.TensorStructInfo" title="tvm.relax.struct_info.TensorStructInfo"><span class="pre">tvm.relax.struct_info.TensorStructI [...]
+<em class="property"><span class="pre">static</span> </em><span class="sig-name descname"><span class="pre">from_struct_info</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">struct_info</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="relax.html#tvm.relax.TensorStructInfo" title="tvm.relax.struct_info.TensorStructInfo"><span class="pre">tvm.relax.struct_info.TensorStructI [...]
<dd><p>Construct a nn.Tensor from relax TensorStructInfo</p>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py">
-<em class="property"><span class="pre">static</span> </em><span class="sig-name descname"><span class="pre">placeholder</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">shape</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Sequence</span><span class="p"><span class="pre">[</span></span><span class="pre">Union</span><span class="p"><span class="pre">[</span></span><a class="reference exter [...]
+<em class="property"><span class="pre">static</span> </em><span class="sig-name descname"><span class="pre">placeholder</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">shape</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Sequence</span><span class="p"><span class="pre">[</span></span><span class="pre">Union</span><span class="p"><span class="pre">[</span></span><a class="reference exter [...]
<dd><p>Create a placeholder tensor with given shape and dtype. A placeholder tensor should
never be created directly by users in usual cases, and the only exception is to indicate
the shape/dtype of return values of an external function.</p>
@@ -701,7 +701,7 @@ the shape/dtype of return values of an external function.</p>
<dl class="py property">
<dt class="sig sig-object py">
-<em class="property"><span class="pre">property</span> </em><span class="sig-name descname"><span class="pre">shape</span></span><em class="property"><span class="pre">:</span> <span class="pre">List</span><span class="p"><span class="pre">[</span></span><span class="pre">Union</span><span class="p"><span class="pre">[</span></span><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><span class="pre">int</span></a><span clas [...]
+<em class="property"><span class="pre">property</span> </em><span class="sig-name descname"><span class="pre">shape</span></span><em class="property"><span class="pre">:</span> <span class="pre">List</span><span class="p"><span class="pre">[</span></span><span class="pre">Union</span><span class="p"><span class="pre">[</span></span><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><span class="pre">int</span></a><span clas [...]
<dd><p>Returns the shape of the tensor as a list of integers.</p>
<p>An integer can be a python int or tvm.tir.PrimExpr, depending on whether the shape is
fully static, for example, [1, 2, tvm.tir.Var(“n”)] is a valid shape where the last
@@ -711,35 +711,35 @@ dimension is dynamic while the first two dimensions are always static constants.
<dd class="field-odd"><p><strong>shape</strong> – The shape of the tensor</p>
</dd>
<dt class="field-even">Return type</dt>
-<dd class="field-even"><p>List[Union[<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)">int</a>, tir.PrimExpr]]</p>
+<dd class="field-even"><p>List[Union[<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)">int</a>, tir.PrimExpr]]</p>
</dd>
</dl>
</dd></dl>
<dl class="py property">
<dt class="sig sig-object py">
-<em class="property"><span class="pre">property</span> </em><span class="sig-name descname"><span class="pre">ndim</span></span><em class="property"><span class="pre">:</span> <a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><span class="pre">int</span></a></em></dt>
+<em class="property"><span class="pre">property</span> </em><span class="sig-name descname"><span class="pre">ndim</span></span><em class="property"><span class="pre">:</span> <a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><span class="pre">int</span></a></em></dt>
<dd><p>Returns the number of dimensions of the tensor.</p>
<dl class="field-list simple">
<dt class="field-odd">Returns</dt>
<dd class="field-odd"><p><strong>ndim</strong> – The number of dimensions of the tensor</p>
</dd>
<dt class="field-even">Return type</dt>
-<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)">int</a></p>
+<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)">int</a></p>
</dd>
</dl>
</dd></dl>
<dl class="py property">
<dt class="sig sig-object py">
-<em class="property"><span class="pre">property</span> </em><span class="sig-name descname"><span class="pre">dtype</span></span><em class="property"><span class="pre">:</span> <a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><span class="pre">str</span></a></em></dt>
+<em class="property"><span class="pre">property</span> </em><span class="sig-name descname"><span class="pre">dtype</span></span><em class="property"><span class="pre">:</span> <a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a></em></dt>
<dd><p>Returns the data type of the tensor.</p>
<dl class="field-list simple">
<dt class="field-odd">Returns</dt>
<dd class="field-odd"><p><strong>dtype</strong> – The data type of the tensor</p>
</dd>
<dt class="field-even">Return type</dt>
-<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)">str</a></p>
+<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)">str</a></p>
</dd>
</dl>
</dd></dl>
@@ -748,13 +748,13 @@ dimension is dynamic while the first two dimensions are always static constants.
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">add_extern</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">mod</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.extern.ExternModule</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig- [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">add_extern</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">mod</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.extern.ExternModule</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig- [...]
<dd><p>Add an external module to the exporter.</p>
</dd></dl>
<dl class="py class">
<dt class="sig sig-object py">
-<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">ExternModule</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">symbols</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Dict</span><span class="p"><span class="pre">[</span></span><a class="re [...]
+<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">ExternModule</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">symbols</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Dict</span><span class="p"><span class="pre">[</span></span><a class="re [...]
<dd><p>The abstract base class for external modules. External modules are designed to help
incorporate user-provided handcrafted kernels into the exported TVM IRModule.</p>
<dl class="py method">
@@ -767,7 +767,7 @@ incorporate user-provided handcrafted kernels into the exported TVM IRModule.</p
<dl class="py class">
<dt class="sig sig-object py">
-<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">ObjectModule</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">symbols</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Dict</span><span class="p"><span class="pre">[</span></span><a class="re [...]
+<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">ObjectModule</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">symbols</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Dict</span><span class="p"><span class="pre">[</span></span><a class="re [...]
<dd><p>A subclass of <cite>nn.ExternModule</cite>, which allows
users to provide an object <cite>.o</cite> file to be linked into compiled
artifact;</p>
@@ -781,7 +781,7 @@ artifact;</p>
<dl class="py class">
<dt class="sig sig-object py">
-<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">SourceModule</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">symbols</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Dict</span><span class="p"><span class="pre">[</span></span><a class="re [...]
+<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">SourceModule</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">symbols</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Dict</span><span class="p"><span class="pre">[</span></span><a class="re [...]
<dd><p>A subclass of <cite>nn.ExternModule</cite>. It compiles C++/CUDA source code and link them into the
eventual IRModule.</p>
<p><strong>Shape/dtype inference.</strong> The <cite>nn.ExternModule</cite> system requires users to provide additional
@@ -835,7 +835,7 @@ during <cite>export_tvm</cite>. Each symbol should be registered exactly once to
and otherwise an error will be raised.</p>
<dl class="py method">
<dt class="sig sig-object py">
-<em class="property"><span class="pre">static</span> </em><span class="sig-name descname"><span class="pre">tvm_home</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><a class="reference external" href="https://docs.python.org/3/library/pathlib.html#pathlib.Path" title="(in Python v3.12)"><span class="pre">pathlib.Path</span></a></span></span></dt>
+<em class="property"><span class="pre">static</span> </em><span class="sig-name descname"><span class="pre">tvm_home</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><a class="reference external" href="https://docs.python.org/3/library/pathlib.html#pathlib.Path" title="(in Python v3.13)"><span class="pre">pathlib.Path</span></a></span></span></dt>
<dd><p>Find TVM’s home directory. If <cite>TVM_HOME</cite> environment variable is set, use it.
Otherwise, use the directory where the <cite>tvm</cite> Python package is installed.
As a sanity check, it is required to have <cite>include</cite> and <cite>3rdparty</cite> as direct subdirectories.</p>
@@ -845,42 +845,42 @@ As a sanity check, it is required to have <cite>include</cite> and <cite>3rdpart
direct subdirectories.</p>
</dd>
<dt class="field-even">Return type</dt>
-<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/pathlib.html#pathlib.Path" title="(in Python v3.12)">pathlib.Path</a></p>
+<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/pathlib.html#pathlib.Path" title="(in Python v3.13)">pathlib.Path</a></p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py">
-<em class="property"><span class="pre">static</span> </em><span class="sig-name descname"><span class="pre">get_includes</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">tvm_pkg</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Optional</span><span class="p"><span class="pre">[</span></span><span class="pre">List</span><span class="p"><span class="pre">[</span></span><a class="reference ext [...]
+<em class="property"><span class="pre">static</span> </em><span class="sig-name descname"><span class="pre">get_includes</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">tvm_pkg</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Optional</span><span class="p"><span class="pre">[</span></span><span class="pre">List</span><span class="p"><span class="pre">[</span></span><a class="reference ext [...]
<dd><p>Returns the default include paths according to <cite>tvm_home()</cite>.
By default, it includes TVM, DLPack, and DMLC-Core. With <cite>tvm_pkg</cite> provided, it also
includes the specified package under <cite>tvm_home/3rdparty</cite>.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>tvm_pkg</strong> (<em>Optional</em><em>[</em><em>List</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em><em>]</em>) – The list of packages to be included under <cite>tvm_home/3rdparty</cite>. Each element should be
+<dd class="field-odd"><p><strong>tvm_pkg</strong> (<em>Optional</em><em>[</em><em>List</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em><em>]</em>) – The list of packages to be included under <cite>tvm_home/3rdparty</cite>. Each element should be
a relative path to <cite>tvm_home/3rdparty</cite>.</p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p><strong>includes</strong> – The list of include paths.</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p>List[<a class="reference external" href="https://docs.python.org/3/library/pathlib.html#pathlib.Path" title="(in Python v3.12)">pathlib.Path</a>]</p>
+<dd class="field-odd"><p>List[<a class="reference external" href="https://docs.python.org/3/library/pathlib.html#pathlib.Path" title="(in Python v3.13)">pathlib.Path</a>]</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py">
-<em class="property"><span class="pre">static</span> </em><span class="sig-name descname"><span class="pre">get_compile_options</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">source_format</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><span class="pre">str</span></a></span></em>, <em class [...]
+<em class="property"><span class="pre">static</span> </em><span class="sig-name descname"><span class="pre">get_compile_options</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">source_format</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a></span></em>, <em class [...]
<dd><p>Returns the default compile options depending on <cite>source_format</cite>, including the default
inlcude paths w.r.t. <cite>tvm_home()</cite>, default flags to configure DMLC-Core, and by default,
it uses “-O3” and “-std=c++17”.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>source_format</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The source code format. It can be either “cpp” or “cu”.</p></li>
-<li><p><strong>tvm_pkg</strong> (<em>Optional</em><em>[</em><em>List</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em><em>]</em>) – The list of packages to be included under <cite>tvm_home/3rdparty</cite>. Each element should be
+<li><p><strong>source_format</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The source code format. It can be either “cpp” or “cu”.</p></li>
+<li><p><strong>tvm_pkg</strong> (<em>Optional</em><em>[</em><em>List</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em><em>]</em>) – The list of packages to be included under <cite>tvm_home/3rdparty</cite>. Each element should be
a relative path to <cite>tvm_home/3rdparty</cite>.</p></li>
</ul>
</dd>
@@ -888,14 +888,14 @@ a relative path to <cite>tvm_home/3rdparty</cite>.</p></li>
<dd class="field-even"><p><strong>compile_options</strong> – The list of compilation flags.</p>
</dd>
<dt class="field-odd">Return type</dt>
-<dd class="field-odd"><p>List[<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)">str</a>]</p>
+<dd class="field-odd"><p>List[<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)">str</a>]</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py">
-<span class="sig-name descname"><span class="pre">compile</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">output_path</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/pathlib.html#pathlib.Path" title="(in Python v3.12)"><span class="pre">pathlib.Path</span></a></span></em><span class="sig-paren">)</span> <span class="sig-return"><span cl [...]
+<span class="sig-name descname"><span class="pre">compile</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">output_path</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/pathlib.html#pathlib.Path" title="(in Python v3.13)"><span class="pre">pathlib.Path</span></a></span></em><span class="sig-paren">)</span> <span class="sig-return"><span cl [...]
<dd><p>Compiles the source code in a provided directory and returns the compiled artifact.</p>
</dd></dl>
@@ -915,7 +915,7 @@ a relative path to <cite>tvm_home/3rdparty</cite>.</p></li>
<dl class="py class">
<dt class="sig sig-object py">
-<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">Conv1D</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">in_channels</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" ti [...]
+<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">Conv1D</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">in_channels</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" ti [...]
<dd><p>relax.frontend.nn.Module for conv1d layer.</p>
<dl class="py method">
<dt class="sig sig-object py">
@@ -938,7 +938,7 @@ a relative path to <cite>tvm_home/3rdparty</cite>.</p></li>
<dl class="py class">
<dt class="sig sig-object py">
-<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">ConvTranspose1D</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">in_channels</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.htm [...]
+<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">ConvTranspose1D</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">in_channels</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.htm [...]
<dd><p>relax.frontend.nn.Module for ConvTranspose1D layer.</p>
<dl class="py method">
<dt class="sig sig-object py">
@@ -961,7 +961,7 @@ a relative path to <cite>tvm_home/3rdparty</cite>.</p></li>
<dl class="py class">
<dt class="sig sig-object py">
-<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">Embedding</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">num</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Union</span><span class="p"><span class="pre">[</span></span><a class="referenc [...]
+<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">Embedding</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">num</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Union</span><span class="p"><span class="pre">[</span></span><a class="referenc [...]
<dd><p>relax.frontend.nn.Module for embedding layer.</p>
<dl class="py method">
<dt class="sig sig-object py">
@@ -984,18 +984,18 @@ a relative path to <cite>tvm_home/3rdparty</cite>.</p></li>
<dl class="py class">
<dt class="sig sig-object py">
-<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">GroupNorm</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">num_groups</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" [...]
+<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">GroupNorm</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">num_groups</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" [...]
<dd><p>relax.frontend.nn.Module for group norm layer.</p>
<dl class="py method">
<dt class="sig sig-object py">
-<span class="sig-name descname"><span class="pre">forward</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">channel_axis</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" hr [...]
+<span class="sig-name descname"><span class="pre">forward</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">channel_axis</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" hr [...]
<dd><p>Forward method for group norm layer.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>x</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The input tensor.</p></li>
-<li><p><strong>channel_axis</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – Channel axis of the input data.</p></li>
-<li><p><strong>axes</strong> (<em>Optional</em><em>[</em><em>List</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>]</em><em>]</em>) – Optional list of axes to compute norm over, if not specified,
+<li><p><strong>channel_axis</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – Channel axis of the input data.</p></li>
+<li><p><strong>axes</strong> (<em>Optional</em><em>[</em><em>List</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>]</em><em>]</em>) – Optional list of axes to compute norm over, if not specified,
assumes that the first two axes should be left alone.</p></li>
</ul>
</dd>
@@ -1024,13 +1024,13 @@ initialize the effect.</p>
<dl class="py method">
<dt class="sig sig-object py">
-<span class="sig-name descname"><span class="pre">create</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name_hint</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><span class="pre">str</span></a></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon [...]
+<span class="sig-name descname"><span class="pre">create</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name_hint</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon [...]
<dd><p>Create the implicit inputs to a relax.Function that represents the side effect</p>
</dd></dl>
<dl class="py method">
<dt class="sig sig-object py">
-<span class="sig-name descname"><span class="pre">set_state</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">state_vars</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">List</span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="relax.html#tvm.relax.Var" title="tvm.relax.expr.Var"><span class="pre">tvm.relax.expr.Var</span></a><span class="p"><span class [...]
+<span class="sig-name descname"><span class="pre">set_state</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">state_vars</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">List</span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="relax.html#tvm.relax.Var" title="tvm.relax.expr.Var"><span class="pre">tvm.relax.expr.Var</span></a><span class="p"><span class [...]
<dd><p>Set the variables that represents the effect</p>
</dd></dl>
@@ -1044,16 +1044,16 @@ initialize the effect.</p>
<dl class="py class">
<dt class="sig sig-object py">
-<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">KVCache</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">init_seq_len</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" [...]
+<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">KVCache</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">init_seq_len</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" [...]
<dd><p>Effect to implement KVCache.</p>
<dl class="py method">
<dt class="sig sig-object py">
-<span class="sig-name descname"><span class="pre">emit_init</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name_hint</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><span class="pre">str</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">bb</span></span><span cla [...]
+<span class="sig-name descname"><span class="pre">emit_init</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name_hint</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">bb</span></span><span cla [...]
<dd><p>Emit the initialization of the KVCache effect.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>name_hint</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The name hint of the initialization binding Var.</p></li>
+<li><p><strong>name_hint</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The name hint of the initialization binding Var.</p></li>
<li><p><strong>bb</strong> (<em>relax.BlockBuilder</em>) – The relax BlockBuilder to emit.</p></li>
</ul>
</dd>
@@ -1062,11 +1062,11 @@ initialize the effect.</p>
<dl class="py method">
<dt class="sig sig-object py">
-<span class="sig-name descname"><span class="pre">create</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name_hint</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><span class="pre">str</span></a></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon [...]
+<span class="sig-name descname"><span class="pre">create</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name_hint</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon [...]
<dd><p>Create the implicit inputs to a relax.Function that represents the KVCache effect.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>name_hint</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The name hint of the relax.Var.</p>
+<dd class="field-odd"><p><strong>name_hint</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The name hint of the relax.Var.</p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p><strong>ret</strong> – The relax.Var for KVCache.</p>
@@ -1079,7 +1079,7 @@ initialize the effect.</p>
<dl class="py method">
<dt class="sig sig-object py">
-<span class="sig-name descname"><span class="pre">set_state</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">state_vars</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">List</span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="relax.html#tvm.relax.Var" title="tvm.relax.expr.Var"><span class="pre">tvm.relax.expr.Var</span></a><span class="p"><span class [...]
+<span class="sig-name descname"><span class="pre">set_state</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">state_vars</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">List</span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="relax.html#tvm.relax.Var" title="tvm.relax.expr.Var"><span class="pre">tvm.relax.expr.Var</span></a><span class="p"><span class [...]
<dd><p>Set the variables that represents the effect</p>
</dd></dl>
@@ -1099,11 +1099,11 @@ initialize the effect.</p>
<dl class="py method">
<dt class="sig sig-object py">
-<span class="sig-name descname"><span class="pre">to</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">dtype</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Optional</span><span class="p"><span class="pre">[</span></span><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><span class="pre">str</span></a><span class="p"><span cl [...]
+<span class="sig-name descname"><span class="pre">to</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">dtype</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Optional</span><span class="p"><span class="pre">[</span></span><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a><span class="p"><span cl [...]
<dd><p>Convert the KVCache effect to specific dtype.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
-<dd class="field-odd"><p><strong>dtype</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em>) – The target data type to convert.</p>
+<dd class="field-odd"><p><strong>dtype</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em>) – The target data type to convert.</p>
</dd>
</dl>
</dd></dl>
@@ -1127,7 +1127,7 @@ initialize the effect.</p>
<dl class="py method">
<dt class="sig sig-object py">
-<span class="sig-name descname"><span class="pre">append</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">new_element</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><a class="reference external" href= [...]
+<span class="sig-name descname"><span class="pre">append</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">new_element</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><a class="reference external" href= [...]
<dd><p>Append a new element in KVCache.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
@@ -1140,7 +1140,7 @@ initialize the effect.</p>
<dl class="py class">
<dt class="sig sig-object py">
-<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">LayerNorm</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">normalized_shape</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.html [...]
+<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">LayerNorm</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">normalized_shape</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.html [...]
<dd><p>relax.frontend.nn.Module for Layer Normalization</p>
<dl class="py method">
<dt class="sig sig-object py">
@@ -1163,7 +1163,7 @@ initialize the effect.</p>
<dl class="py class">
<dt class="sig sig-object py">
-<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">Linear</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">in_features</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Union</span><span class="p"><span class="pre">[</span></span><a class="ref [...]
+<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">Linear</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">in_features</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Union</span><span class="p"><span class="pre">[</span></span><a class="ref [...]
<dd><p>relax.frontend.nn.Module for linear layer.</p>
<dl class="py method">
<dt class="sig sig-object py">
@@ -1184,7 +1184,7 @@ initialize the effect.</p>
<dl class="py method">
<dt class="sig sig-object py">
-<span class="sig-name descname"><span class="pre">to</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">dtype</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Optional</span><span class="p"><span class="pre">[</span></span><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><span class="pre">str</span></a><span class="p"><span cl [...]
+<span class="sig-name descname"><span class="pre">to</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">dtype</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Optional</span><span class="p"><span class="pre">[</span></span><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a><span class="p"><span cl [...]
<dd><p>Override to() such that we do not convert bias if there is <cite>out_dtype</cite>.
Otherwise, we might run into dtype mismatch when computing <cite>x + self.bias</cite>
since x is of type <cite>out_dtype</cite> and bias becomes <cite>dtype</cite>, potentially different.</p>
@@ -1200,7 +1200,7 @@ since x is of type <cite>out_dtype</cite> and bias becomes <cite>dtype</cite>, p
<dl class="py class">
<dt class="sig sig-object py">
-<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">RMSNorm</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">hidden_size</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" t [...]
+<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">RMSNorm</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">hidden_size</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" t [...]
<dd><p>relax.frontend.nn.Module for rms norm layer.</p>
<dl class="py method">
<dt class="sig sig-object py">
@@ -1243,12 +1243,12 @@ to apply transform in different structures, or even override the <cite>visit</ci
to change the logic of traversal.</p>
<dl class="py method">
<dt class="sig sig-object py">
-<span class="sig-name descname"><span class="pre">visit_module</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><span class="pre">str</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">node</span></span><span cla [...]
+<span class="sig-name descname"><span class="pre">visit_module</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">node</span></span><span cla [...]
<dd><p>The base visiting method for mutation of nn.Module nodes.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The name of the current node in parent’s attribute.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The name of the current node in parent’s attribute.</p></li>
<li><p><strong>node</strong> (<em>nn.Module</em>) – The current node of nn.Module to mutate.</p></li>
</ul>
</dd>
@@ -1263,12 +1263,12 @@ to change the logic of traversal.</p>
<dl class="py method">
<dt class="sig sig-object py">
-<span class="sig-name descname"><span class="pre">visit_effect</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><span class="pre">str</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">node</span></span><span cla [...]
+<span class="sig-name descname"><span class="pre">visit_effect</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">node</span></span><span cla [...]
<dd><p>The base visiting method for mutation of nn.Parameter nodes.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The name of the current node in parent’s attribute.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The name of the current node in parent’s attribute.</p></li>
<li><p><strong>node</strong> (<em>nn.Parameter</em>) – The current node of nn.Parameter to mutate.</p></li>
</ul>
</dd>
@@ -1283,12 +1283,12 @@ to change the logic of traversal.</p>
<dl class="py method">
<dt class="sig sig-object py">
-<span class="sig-name descname"><span class="pre">visit_param</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><span class="pre">str</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">node</span></span><span clas [...]
+<span class="sig-name descname"><span class="pre">visit_param</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">node</span></span><span clas [...]
<dd><p>The base visiting method for mutation of nn.Effect nodes.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The name of the current node in parent’s attribute.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The name of the current node in parent’s attribute.</p></li>
<li><p><strong>node</strong> (<em>nn.Effect</em>) – The current node of nn.Effect to mutate.</p></li>
</ul>
</dd>
@@ -1303,12 +1303,12 @@ to change the logic of traversal.</p>
<dl class="py method">
<dt class="sig sig-object py">
-<span class="sig-name descname"><span class="pre">visit_modulelist</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><span class="pre">str</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">node</span></span><span [...]
+<span class="sig-name descname"><span class="pre">visit_modulelist</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">node</span></span><span [...]
<dd><p>The base visiting method for mutation of nn.ModuleList nodes.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The name of the current node in parent’s attribute.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The name of the current node in parent’s attribute.</p></li>
<li><p><strong>node</strong> (<em>nn.ModuleList</em>) – The current node of nn.MoModuleListdule to mutate.</p></li>
</ul>
</dd>
@@ -1323,12 +1323,12 @@ to change the logic of traversal.</p>
<dl class="py method">
<dt class="sig sig-object py">
-<span class="sig-name descname"><span class="pre">visit</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><span class="pre">str</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">node</span></span><span class="p"> [...]
+<span class="sig-name descname"><span class="pre">visit</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">node</span></span><span class="p"> [...]
<dd><p>The base dispatching method for visiting of all nodes.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The name of the current node in parent’s attribute.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The name of the current node in parent’s attribute.</p></li>
<li><p><strong>node</strong> (<a class="reference internal" href="../tir/tir.html#tvm.tir.Any" title="tvm.tir.Any"><em>Any</em></a>) – The current node to visit.</p></li>
</ul>
</dd>
@@ -1388,14 +1388,14 @@ A.__constraints__ == (str, bytes)</p>
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">add</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">a</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">b</span></span><span class="p"><sp [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">add</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">a</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">b</span></span><span class="p"><sp [...]
<dd><p>Addition with numpy-style broadcasting.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>a</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The first input tensor.</p></li>
<li><p><strong>b</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The second input tensor.</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -1413,17 +1413,17 @@ A.__constraints__ == (str, bytes)</p>
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">argsort</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">data</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">axis</span></span><span cla [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">argsort</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">data</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">axis</span></span><span cla [...]
<dd><p>Performs sorting along the given axis and returns an array of indices
having same shape as an input array that index data in sorted order.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>data</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The input data tensor.</p></li>
-<li><p><strong>axis</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – Axis long which to sort the input tensor.</p></li>
-<li><p><strong>descending</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a>) – Whether to sort in descending order, the default is False</p></li>
-<li><p><strong>dtype</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The data type of the output indices.</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint.</p></li>
+<li><p><strong>axis</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – Axis long which to sort the input tensor.</p></li>
+<li><p><strong>descending</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – Whether to sort in descending order, the default is False</p></li>
+<li><p><strong>dtype</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The data type of the output indices.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -1437,14 +1437,14 @@ having same shape as an input array that index data in sorted order.</p>
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">astype</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">dtype</span></span><span class= [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">astype</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">dtype</span></span><span class= [...]
<dd><p>Cast input tensor to the given data type.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>x</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The input data to the operator.</p></li>
-<li><p><strong>dtype</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The target data type</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint.</p></li>
+<li><p><strong>dtype</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The target data type</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -1458,14 +1458,14 @@ having same shape as an input array that index data in sorted order.</p>
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">broadcast_to</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">shape</span></span><span [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">broadcast_to</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">shape</span></span><span [...]
<dd><p>Broadcasts a tensor to a specified shape.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>x</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The input data to the operator.</p></li>
<li><p><strong>shape</strong> (<em>Sequence</em><em>[</em><em>IntExpr</em><em>]</em>) – The target shape.</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -1479,14 +1479,14 @@ having same shape as an input array that index data in sorted order.</p>
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">ccl_allgather</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">num_workers</span></span [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">ccl_allgather</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">num_workers</span></span [...]
<dd><p>CCL Allgather operator</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>x</strong> (<em>relax.Expr</em>) – The input tensor.</p></li>
-<li><p><strong>num_workers</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – Number of workers.</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint for this operation.</p></li>
+<li><p><strong>num_workers</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – Number of workers.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint for this operation.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -1500,16 +1500,16 @@ having same shape as an input array that index data in sorted order.</p>
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">ccl_allreduce</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">op_type</span></span><sp [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">ccl_allreduce</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">op_type</span></span><sp [...]
<dd><p>CCL Allreduce operator</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>x</strong> (<em>relax.Expr</em>) – The input tensor.</p></li>
-<li><p><strong>op_type</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The type of reduction operation to be applied to the input data.
+<li><p><strong>op_type</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The type of reduction operation to be applied to the input data.
Now “sum”, “prod”, “min”, “max” and “avg” are supported.</p></li>
-<li><p><strong>in_group</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a>) – Whether the reduction operation performs globally or in group as default.</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint for this operation.</p></li>
+<li><p><strong>in_group</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – Whether the reduction operation performs globally or in group as default.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint for this operation.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -1529,7 +1529,7 @@ Now “sum”, “prod”, “min”, “max” and “avg” are supported.</p>
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>x</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The tensor to be broadcast.</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint for this operation.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint for this operation.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -1543,15 +1543,15 @@ Now “sum”, “prod”, “min”, “max” and “avg” are supported.</p>
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">chunk</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">chunks</span></span><span class= [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">chunk</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">chunks</span></span><span class= [...]
<dd><p>Split a tensor along dim into the specified number of chunks.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>x</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – Input tensor to be split.</p></li>
-<li><p><strong>chunks</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – Number of pieces to slice x into.</p></li>
-<li><p><strong>dim</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – Which dimension to split x.</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint for this operation.</p></li>
+<li><p><strong>chunks</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – Number of pieces to slice x into.</p></li>
+<li><p><strong>dim</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – Which dimension to split x.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint for this operation.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -1565,14 +1565,14 @@ Now “sum”, “prod”, “min”, “max” and “avg” are supported.</p>
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">concat</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">List</span><span class="p"><span class="pre">[</span></span><span class="pre">tvm.relax.frontend.nn.core.Tensor</span><span class="p"><span c [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">concat</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">List</span><span class="p"><span class="pre">[</span></span><span class="pre">tvm.relax.frontend.nn.core.Tensor</span><span class="p"><span c [...]
<dd><p>Concatenate a list of tensors along an axis.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>x</strong> (<em>List</em><em>[</em><a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a><em>]</em>) – List of tensors to concatenate.</p></li>
-<li><p><strong>dim</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – Dimension to concatenate upon.</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint for this operator.</p></li>
+<li><p><strong>dim</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – Dimension to concatenate upon.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint for this operator.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -1586,7 +1586,7 @@ Now “sum”, “prod”, “min”, “max” and “avg” are supported.</p>
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">conv1d</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">weight</span></span><span class [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">conv1d</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">weight</span></span><span class [...]
<dd><p>1D convolution.</p>
<p>This operator takes the weight as the 1D convolution kernel
and convolves it with data to produce an output.</p>
@@ -1611,14 +1611,14 @@ then convert to the out_layout.</p>
<li><p><strong>x</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The input data to the operator.</p></li>
<li><p><strong>weight</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The weight expressions.</p></li>
<li><p><strong>bias</strong> (<em>Optional</em><em>[</em><a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a><em>]</em>) – Optional bias tensor of shape [O].</p></li>
-<li><p><strong>strides</strong> (<em>Optional</em><em>[</em><em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>, </em><a class="reference internal" href="relax.html#tvm.relax.Tuple" title="tvm.relax.Tuple"><em>Tuple</em></a><em>]</em><em>]</em>) – The strides of convolution. It is required to have length 1.</p></li>
-<li><p><strong>padding</strong> (<em>Optional</em><em>[</em><em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>, </em><a class="reference internal" href="relax.html#tvm.relax.Tuple" title="tvm.relax.Tuple"><em>Tuple</em></a><em>, </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em><em>]</ [...]
+<li><p><strong>strides</strong> (<em>Optional</em><em>[</em><em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>, </em><a class="reference internal" href="relax.html#tvm.relax.Tuple" title="tvm.relax.Tuple"><em>Tuple</em></a><em>]</em><em>]</em>) – The strides of convolution. It is required to have length 1.</p></li>
+<li><p><strong>padding</strong> (<em>Optional</em><em>[</em><em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>, </em><a class="reference internal" href="relax.html#tvm.relax.Tuple" title="tvm.relax.Tuple"><em>Tuple</em></a><em>, </em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em><em>]</ [...]
It is required to have length either 1 or 2.</p></li>
-<li><p><strong>dilation</strong> (<em>Optional</em><em>[</em><em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>, </em><a class="reference internal" href="relax.html#tvm.relax.Tuple" title="tvm.relax.Tuple"><em>Tuple</em></a><em>]</em><em>]</em>) – Specifies the dilation rate to be used for dilated convolution.
+<li><p><strong>dilation</strong> (<em>Optional</em><em>[</em><em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>, </em><a class="reference internal" href="relax.html#tvm.relax.Tuple" title="tvm.relax.Tuple"><em>Tuple</em></a><em>]</em><em>]</em>) – Specifies the dilation rate to be used for dilated convolution.
It is required to have length 1.</p></li>
-<li><p><strong>groups</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>]</em>) – Number of groups to split the input into for grouped convolution.
+<li><p><strong>groups</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>]</em>) – Number of groups to split the input into for grouped convolution.
The number of input and output channels should be divisible by the number of groups.</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -1632,7 +1632,7 @@ The number of input and output channels should be divisible by the number of gro
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">conv1d_transpose</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">weight</span></span>< [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">conv1d_transpose</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">weight</span></span>< [...]
<dd><p>1D transposed convolution operator.</p>
<p>This operator can be seen as the gradient operator of conv1d.</p>
<p>The output shape can be explained in the simple case when <cite>data_layout == “NCW”</cite> and
@@ -1647,18 +1647,18 @@ The shape of the output will be <cite>(N, out_channel * groups, out_w)</cite>, w
<dd class="field-odd"><ul class="simple">
<li><p><strong>data</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The input data to the operator.</p></li>
<li><p><strong>weight</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The weight tensor.</p></li>
-<li><p><strong>strides</strong> (<em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>, </em><a class="reference internal" href="relax.html#tvm.relax.Tuple" title="tvm.relax.Tuple"><em>Tuple</em></a><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>]</em><em>]</em>) – The strides of convo [...]
-<li><p><strong>padding</strong> (<em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>, </em><a class="reference internal" href="relax.html#tvm.relax.Tuple" title="tvm.relax.Tuple"><em>Tuple</em></a><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>, </em><em>...</em><em>]</em><em>]</em>) [...]
+<li><p><strong>strides</strong> (<em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>, </em><a class="reference internal" href="relax.html#tvm.relax.Tuple" title="tvm.relax.Tuple"><em>Tuple</em></a><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>]</em><em>]</em>) – The strides of convo [...]
+<li><p><strong>padding</strong> (<em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>, </em><a class="reference internal" href="relax.html#tvm.relax.Tuple" title="tvm.relax.Tuple"><em>Tuple</em></a><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>, </em><em>...</em><em>]</em><em>]</em>) [...]
It is required to have length either 1 or 2.</p></li>
-<li><p><strong>output_padding</strong> (<em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>, </em><a class="reference internal" href="relax.html#tvm.relax.Tuple" title="tvm.relax.Tuple"><em>Tuple</em></a><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>, </em><em>...</em><em>]</em><em> [...]
-<li><p><strong>dilation</strong> (<em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>, </em><a class="reference internal" href="relax.html#tvm.relax.Tuple" title="tvm.relax.Tuple"><em>Tuple</em></a><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>]</em><em>]</em>) – Specifies the dilat [...]
+<li><p><strong>output_padding</strong> (<em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>, </em><a class="reference internal" href="relax.html#tvm.relax.Tuple" title="tvm.relax.Tuple"><em>Tuple</em></a><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>, </em><em>...</em><em>]</em><em> [...]
+<li><p><strong>dilation</strong> (<em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>, </em><a class="reference internal" href="relax.html#tvm.relax.Tuple" title="tvm.relax.Tuple"><em>Tuple</em></a><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>]</em><em>]</em>) – Specifies the dilat [...]
It is required to have length either 1.</p></li>
-<li><p><strong>groups</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – Number of groups to split the input into for grouped convolution.
+<li><p><strong>groups</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – Number of groups to split the input into for grouped convolution.
The number of input and output channels should be divisible by the number of groups.</p></li>
-<li><p><strong>data_layout</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Layout of the input.</p></li>
-<li><p><strong>kernel_layout</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Layout of the weight.</p></li>
-<li><p><strong>out_layout</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em>) – Layout of the output. If not specified, it is the same as data_layout</p></li>
-<li><p><strong>out_dtype</strong> (<em>Optional</em><em>[</em><em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><em>DataType</em><em>]</em><em>]</em>) – Specifies the output data type for mixed precision conv2d.</p></li>
+<li><p><strong>data_layout</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Layout of the input.</p></li>
+<li><p><strong>kernel_layout</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Layout of the weight.</p></li>
+<li><p><strong>out_layout</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em>) – Layout of the output. If not specified, it is the same as data_layout</p></li>
+<li><p><strong>out_dtype</strong> (<em>Optional</em><em>[</em><em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><em>DataType</em><em>]</em><em>]</em>) – Specifies the output data type for mixed precision conv2d.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -1672,7 +1672,7 @@ The number of input and output channels should be divisible by the number of gro
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">conv2d</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">weight</span></span><span class [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">conv2d</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">weight</span></span><span class [...]
<dd><p>Applies a 2D convolution over an input image composed of sevaral input planes</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
@@ -1680,13 +1680,13 @@ The number of input and output channels should be divisible by the number of gro
<li><p><strong>x</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – Input tensor of shape [B, N, H, W]</p></li>
<li><p><strong>weight</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – Filters of shape [O, N/groups, kH, kW]</p></li>
<li><p><strong>bias</strong> (<em>Optional</em><em>[</em><a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a><em>]</em>) – Optional bias tensor of shape [O].</p></li>
-<li><p><strong>stride</strong> (<em>Optional</em><em>[</em><em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>, </em><a class="reference internal" href="relax.html#tvm.relax.Tuple" title="tvm.relax.Tuple"><em>Tuple</em></a><em>]</em><em>]</em>) – The stride of the convolving kernel. Can be a single number
+<li><p><strong>stride</strong> (<em>Optional</em><em>[</em><em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>, </em><a class="reference internal" href="relax.html#tvm.relax.Tuple" title="tvm.relax.Tuple"><em>Tuple</em></a><em>]</em><em>]</em>) – The stride of the convolving kernel. Can be a single number
or tuple of (sH, sW).</p></li>
-<li><p><strong>padding</strong> (<em>Optional</em><em>[</em><em>[</em><em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>, </em><a class="reference internal" href="relax.html#tvm.relax.Tuple" title="tvm.relax.Tuple"><em>Tuple</em></a><em>]</em><em>]</em><em>]</em>) – Implicit paddings on both sides of the input.</p></li>
-<li><p><strong>dilation</strong> (<em>Optional</em><em>[</em><em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>, </em><a class="reference internal" href="relax.html#tvm.relax.Tuple" title="tvm.relax.Tuple"><em>Tuple</em></a><em>]</em><em>]</em>) – The spacing between kernel elements. Can be a single number of tuple (dH, dW).</p></li>
-<li><p><strong>groups</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>]</em>) – Split input into a number of groups.</p></li>
-<li><p><strong>data_layout</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em>) – Layout of input and output data.</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint.</p></li>
+<li><p><strong>padding</strong> (<em>Optional</em><em>[</em><em>[</em><em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>, </em><a class="reference internal" href="relax.html#tvm.relax.Tuple" title="tvm.relax.Tuple"><em>Tuple</em></a><em>]</em><em>]</em><em>]</em>) – Implicit paddings on both sides of the input.</p></li>
+<li><p><strong>dilation</strong> (<em>Optional</em><em>[</em><em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>, </em><a class="reference internal" href="relax.html#tvm.relax.Tuple" title="tvm.relax.Tuple"><em>Tuple</em></a><em>]</em><em>]</em>) – The spacing between kernel elements. Can be a single number of tuple (dH, dW).</p></li>
+<li><p><strong>groups</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>]</em>) – Split input into a number of groups.</p></li>
+<li><p><strong>data_layout</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em>) – Layout of input and output data.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -1700,7 +1700,7 @@ or tuple of (sH, sW).</p></li>
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">conv3d</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">weight</span></span><span class [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">conv3d</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">weight</span></span><span class [...]
<dd><p>Applies a 3D convolution over an input image composed of sevaral input planes</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
@@ -1708,13 +1708,13 @@ or tuple of (sH, sW).</p></li>
<li><p><strong>x</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – Input tensor of shape [B, N, D, H, W]</p></li>
<li><p><strong>weight</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – Filters of shape [O, N/groups, kD, kH, kW]</p></li>
<li><p><strong>bias</strong> (<em>Optional</em><em>[</em><a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a><em>]</em>) – Optional bias tensor of shape [O].</p></li>
-<li><p><strong>stride</strong> (<em>Optional</em><em>[</em><em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>, </em><a class="reference internal" href="relax.html#tvm.relax.Tuple" title="tvm.relax.Tuple"><em>Tuple</em></a><em>]</em><em>]</em>) – The stride of the convolving kernel. Can be a single number
+<li><p><strong>stride</strong> (<em>Optional</em><em>[</em><em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>, </em><a class="reference internal" href="relax.html#tvm.relax.Tuple" title="tvm.relax.Tuple"><em>Tuple</em></a><em>]</em><em>]</em>) – The stride of the convolving kernel. Can be a single number
or tuple of (sD, sH, sW).</p></li>
-<li><p><strong>padding</strong> (<em>Optional</em><em>[</em><em>[</em><em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>, </em><a class="reference internal" href="relax.html#tvm.relax.Tuple" title="tvm.relax.Tuple"><em>Tuple</em></a><em>]</em><em>]</em><em>]</em>) – Implicit paddings on both sides of the input.</p></li>
-<li><p><strong>dilation</strong> (<em>Optional</em><em>[</em><em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>, </em><a class="reference internal" href="relax.html#tvm.relax.Tuple" title="tvm.relax.Tuple"><em>Tuple</em></a><em>]</em><em>]</em>) – The spacing between kernel elements. Can be a single number of tuple (dD, dH, dW).</p></li>
-<li><p><strong>groups</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>]</em>) – Split input into a number of groups.</p></li>
-<li><p><strong>data_layout</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em>) – Optional layout of the input and output data.</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint.</p></li>
+<li><p><strong>padding</strong> (<em>Optional</em><em>[</em><em>[</em><em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>, </em><a class="reference internal" href="relax.html#tvm.relax.Tuple" title="tvm.relax.Tuple"><em>Tuple</em></a><em>]</em><em>]</em><em>]</em>) – Implicit paddings on both sides of the input.</p></li>
+<li><p><strong>dilation</strong> (<em>Optional</em><em>[</em><em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>, </em><a class="reference internal" href="relax.html#tvm.relax.Tuple" title="tvm.relax.Tuple"><em>Tuple</em></a><em>]</em><em>]</em>) – The spacing between kernel elements. Can be a single number of tuple (dD, dH, dW).</p></li>
+<li><p><strong>groups</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>]</em>) – Split input into a number of groups.</p></li>
+<li><p><strong>data_layout</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em>) – Optional layout of the input and output data.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -1728,20 +1728,20 @@ or tuple of (sD, sH, sW).</p></li>
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">cumsum</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">data</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">axis</span></span><span clas [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">cumsum</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">data</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">axis</span></span><span clas [...]
<dd><p>Numpy style cumsum op. Return the cumulative inclusive sum of the elements along
a given axis.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>data</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The input data to the operator.</p></li>
-<li><p><strong>axis</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>]</em>) – Axis along which the cumulative sum is computed. The default (None) is to compute
+<li><p><strong>axis</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>]</em>) – Axis along which the cumulative sum is computed. The default (None) is to compute
the cumsum over the flattened array.</p></li>
-<li><p><strong>dtype</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em>) – Type of the returned array and of the accumulator in which the elements are summed.
+<li><p><strong>dtype</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em>) – Type of the returned array and of the accumulator in which the elements are summed.
If dtype is not specified, it defaults to the dtype of data.</p></li>
-<li><p><strong>exclusive</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a><em>]</em>) – If true will return exclusive sum in which the first element is not
+<li><p><strong>exclusive</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a><em>]</em>) – If true will return exclusive sum in which the first element is not
included.</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -1778,7 +1778,7 @@ If axis is None, the result is a 1-d array.</p>
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">debug_func</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><span class="pre">str</span></a></spa [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">debug_func</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a></spa [...]
<dd><p>relax.Call a debug function during runtime. The debug function must be registered with the
following type signature:</p>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="nd">@tvm</span><span class="o">.</span><span class="n">register_func</span><span class="p">(</span><span class="n">name_of_debug_func</span><span class="p">)</span>
@@ -1789,8 +1789,8 @@ following type signature:</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The name of the debug function to call.</p></li>
-<li><p><strong>*args</strong> (<em>Union</em><em>[</em><a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a><em>, </em><em>_tir.PrimExpr</em><em>, </em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>, </em><a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.12)"><em>float</em></a><em>, </em> [...]
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The name of the debug function to call.</p></li>
+<li><p><strong>*args</strong> (<em>Union</em><em>[</em><a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a><em>, </em><em>_tir.PrimExpr</em><em>, </em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>, </em><a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.13)"><em>float</em></a><em>, </em> [...]
</ul>
</dd>
</dl>
@@ -1798,14 +1798,14 @@ following type signature:</p>
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">divide</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">a</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">b</span></span><span class="p"> [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">divide</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">a</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">b</span></span><span class="p"> [...]
<dd><p>Division with numpy-style broadcasting.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>a</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The first input tensor.</p></li>
<li><p><strong>b</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The second input tensor.</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -1823,14 +1823,14 @@ following type signature:</p>
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">empty</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">shape</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Sequence</span><span class="p"><span class="pre">[</span></span><span class="pre">Union</span><span class="p"><span class="pre">[</span></ [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">empty</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">shape</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Sequence</span><span class="p"><span class="pre">[</span></span><span class="pre">Union</span><span class="p"><span class="pre">[</span></ [...]
<dd><p>Construct an uninitialized tensor, with the input shape and dtype.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>shape</strong> (<em>Sequence</em><em>[</em><em>IntExpr</em><em>]</em>) – The shape of the created tensor.</p></li>
-<li><p><strong>dtype</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The data type of the created tensor.</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint.</p></li>
+<li><p><strong>dtype</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The data type of the created tensor.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -1844,14 +1844,14 @@ following type signature:</p>
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">equal</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">a</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">b</span></span><span class="p">< [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">equal</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">a</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">b</span></span><span class="p">< [...]
<dd><p>Broadcasted element-wise comparison for (lhs == rhs).</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>a</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The first input tensor.</p></li>
<li><p><strong>b</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The second input tensor.</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -1865,7 +1865,7 @@ following type signature:</p>
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">exp</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"> [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">exp</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"> [...]
<dd><p>Applies the exponential function.</p>
<div class="math notranslate nohighlight">
\[\text{Exp}(x) = e^x\]</div>
@@ -1873,7 +1873,7 @@ following type signature:</p>
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>x</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The input data to the operator.</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -1891,14 +1891,14 @@ following type signature:</p>
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">extern</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><span class="pre">str</span></a></span></ [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">extern</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a></span></ [...]
<dd><p>Invoke an extern function during runtime. The extern function must be registered with the ”
TVM runtime using <cite>TVM_REGISTER_GLOBAL</cite> (C++), or <cite>tvm.register_func</cite> (Python).</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The name of the extern function to call.</p></li>
-<li><p><strong>args</strong> (<em>Sequence</em><em>[</em><em>Union</em><em>[</em><a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a><em>, </em><em>_tir.PrimExpr</em><em>, </em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>, </em><a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.12)"><em [...]
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The name of the extern function to call.</p></li>
+<li><p><strong>args</strong> (<em>Sequence</em><em>[</em><em>Union</em><em>[</em><a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a><em>, </em><em>_tir.PrimExpr</em><em>, </em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>, </em><a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.13)"><em [...]
<li><p><strong>out</strong> (<em>Union</em><em>[</em><a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a><em>, </em><em>List</em><em>[</em><a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a><em>]</em><em>]</em>) – The output tensors, only</p></li>
</ul>
</dd>
@@ -1913,16 +1913,16 @@ TVM runtime using <cite>TVM_REGISTER_GLOBAL</cite> (C++), or <cite>tvm.register_
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">full</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">shape</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Sequence</span><span class="p"><span class="pre">[</span></span><span class="pre">Union</span><span class="p"><span class="pre">[</span></s [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">full</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">shape</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Sequence</span><span class="p"><span class="pre">[</span></span><span class="pre">Union</span><span class="p"><span class="pre">[</span></s [...]
<dd><p>Fill array with scalar value.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>shape</strong> (<em>Sequence</em><em>[</em><em>IntExpr</em><em>]</em>) – The shape of the created tensor.</p></li>
<li><p><strong>fill_value</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The value to fill. Must be a scalar tensor.</p></li>
-<li><p><strong>dtype</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The data type of the created tensor.
+<li><p><strong>dtype</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The data type of the created tensor.
If dtype is not given, it will by default use the dtype of fill_value.</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -1936,7 +1936,7 @@ If dtype is not given, it will by default use the dtype of fill_value.</p></li>
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">gelu</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">approximate</span></span><span cl [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">gelu</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">approximate</span></span><span cl [...]
<dd><p>Applies the Gaussian Error Linear Units function</p>
<div class="math notranslate nohighlight">
\[\text{GeLU}(x) = 0.5 * x * (1 + \text{erf}(x * 0.5**0.5))\]</div>
@@ -1945,8 +1945,8 @@ If dtype is not given, it will by default use the dtype of fill_value.</p></li>
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>x</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The input data</p></li>
-<li><p><strong>approximate</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em>) – If set to tanh, use an approximation when calculating CDF.</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint.</p></li>
+<li><p><strong>approximate</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em>) – If set to tanh, use an approximation when calculating CDF.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -1964,32 +1964,32 @@ If dtype is not given, it will by default use the dtype of fill_value.</p></li>
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">get_default_dtype</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><span class="pre">str</span></a> [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">get_default_dtype</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><span class="pre">str</span></a> [...]
<dd><p>Get the default parameter dtype if not specified. By default it is float32.</p>
<dl class="field-list simple">
<dt class="field-odd">Returns</dt>
<dd class="field-odd"><p><strong>dtype</strong> – The default dtype</p>
</dd>
<dt class="field-even">Return type</dt>
-<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)">str</a></p>
+<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)">str</a></p>
</dd>
</dl>
</dd></dl>
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">get_timestep_embedding</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">embedding_dim</ [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">get_timestep_embedding</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">embedding_dim</ [...]
<dd><p>Timestep calculation as described in Denoising Diffusion Probabilistic Models.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>x</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – A 1-D Tensor of N indices.</p></li>
-<li><p><strong>embedding_dim</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – The dimension of the output.</p></li>
-<li><p><strong>flip_sin_to_cos</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a>) – If True, change the order of sine and cosine embeddings.</p></li>
-<li><p><strong>downscale_freq_shift</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.12)"><em>float</em></a>) – Adjusts the frequency of the sinusoidal sampling.</p></li>
-<li><p><strong>scale</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.12)"><em>float</em></a>) – Weight adjustment for embedding magnitude.</p></li>
-<li><p><strong>max_period</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – Controls the minimum frequency of the embeddings.</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The name to label this operator with.</p></li>
+<li><p><strong>embedding_dim</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – The dimension of the output.</p></li>
+<li><p><strong>flip_sin_to_cos</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – If True, change the order of sine and cosine embeddings.</p></li>
+<li><p><strong>downscale_freq_shift</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.13)"><em>float</em></a>) – Adjusts the frequency of the sinusoidal sampling.</p></li>
+<li><p><strong>scale</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.13)"><em>float</em></a>) – Weight adjustment for embedding magnitude.</p></li>
+<li><p><strong>max_period</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – Controls the minimum frequency of the embeddings.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The name to label this operator with.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -2003,14 +2003,14 @@ If dtype is not given, it will by default use the dtype of fill_value.</p></li>
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">greater</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">a</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">b</span></span><span class="p" [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">greater</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">a</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">b</span></span><span class="p" [...]
<dd><p>Broadcasted element-wise comparison for (lhs > rhs).</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>a</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The first input tensor.</p></li>
<li><p><strong>b</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The second input tensor.</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -2024,14 +2024,14 @@ If dtype is not given, it will by default use the dtype of fill_value.</p></li>
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">greater_equal</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">a</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">b</span></span><span cla [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">greater_equal</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">a</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">b</span></span><span cla [...]
<dd><p>Broadcasted element-wise comparison for (lhs >= rhs).</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>a</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The first input tensor.</p></li>
<li><p><strong>b</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The second input tensor.</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -2045,7 +2045,7 @@ If dtype is not given, it will by default use the dtype of fill_value.</p></li>
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">group_norm</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">num_groups</span></span><sp [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">group_norm</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">num_groups</span></span><sp [...]
<dd><p>Applies Group Normalization over a mini-batch of inputs as described in
the paper <a class="reference external" href="https://arxiv.org/abs/1803.08494">Group Normalization</a></p>
<div class="math notranslate nohighlight">
@@ -2054,14 +2054,14 @@ the paper <a class="reference external" href="https://arxiv.org/abs/1803.08494">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>x</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – Input to which rms_norm will be applied.</p></li>
-<li><p><strong>num_groups</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – Number of groups to separate the channels into.</p></li>
+<li><p><strong>num_groups</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – Number of groups to separate the channels into.</p></li>
<li><p><strong>weight</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The gamma scale factor.</p></li>
<li><p><strong>bias</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The beta offset factor.</p></li>
-<li><p><strong>epsilon</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.12)"><em>float</em></a>) – Small float added to square mean to avoid dividing by zero.</p></li>
-<li><p><strong>channel_axis</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – The channel axis of the data.</p></li>
-<li><p><strong>axes</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>]</em>) – Which axes to compute the groupnorm over. If None, assumes first
+<li><p><strong>epsilon</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.13)"><em>float</em></a>) – Small float added to square mean to avoid dividing by zero.</p></li>
+<li><p><strong>channel_axis</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – The channel axis of the data.</p></li>
+<li><p><strong>axes</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>]</em>) – Which axes to compute the groupnorm over. If None, assumes first
two channels should be ignored.</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -2075,21 +2075,21 @@ two channels should be ignored.</p></li>
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">interpolate</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">size</span></span><span cl [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">interpolate</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">size</span></span><span cl [...]
<dd><p>Resize a tensor using the specified mode.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>x</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – Input tensor to be resized.</p></li>
-<li><p><strong>size</strong> (<em>Optional</em><em>[</em><em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>, </em><a class="reference internal" href="relax.html#tvm.relax.Tuple" title="tvm.relax.Tuple"><em>Tuple</em></a><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>]</em><em>]</em> [...]
+<li><p><strong>size</strong> (<em>Optional</em><em>[</em><em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>, </em><a class="reference internal" href="relax.html#tvm.relax.Tuple" title="tvm.relax.Tuple"><em>Tuple</em></a><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>]</em><em>]</em> [...]
be specified.</p></li>
-<li><p><strong>scale_factor</strong> (<em>Optional</em><em>[</em><em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.12)"><em>float</em></a><em>, </em><a class="reference internal" href="relax.html#tvm.relax.Tuple" title="tvm.relax.Tuple"><em>Tuple</em></a><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.12)"><em>float</em></a><em> [...]
-<li><p><strong>mode</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Algorithm used for sampling.</p></li>
-<li><p><strong>align_corners</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a><em>]</em>) – How to map pixels before and after sampling.</p></li>
-<li><p><strong>recompute_scale_factor</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a><em>]</em>) – Recompute the scale_factor for use in interpolation.</p></li>
-<li><p><strong>antialias</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a><em>]</em>) – Apply antialiasing to output.</p></li>
-<li><p><strong>data_layout</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>]</em>) – Layout of the input and output data.</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint for this operation.</p></li>
+<li><p><strong>scale_factor</strong> (<em>Optional</em><em>[</em><em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.13)"><em>float</em></a><em>, </em><a class="reference internal" href="relax.html#tvm.relax.Tuple" title="tvm.relax.Tuple"><em>Tuple</em></a><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.13)"><em>float</em></a><em> [...]
+<li><p><strong>mode</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Algorithm used for sampling.</p></li>
+<li><p><strong>align_corners</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a><em>]</em>) – How to map pixels before and after sampling.</p></li>
+<li><p><strong>recompute_scale_factor</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a><em>]</em>) – Recompute the scale_factor for use in interpolation.</p></li>
+<li><p><strong>antialias</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a><em>]</em>) – Apply antialiasing to output.</p></li>
+<li><p><strong>data_layout</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>]</em>) – Layout of the input and output data.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint for this operation.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -2103,7 +2103,7 @@ be specified.</p></li>
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">layer_norm</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">normalized_shape</span></sp [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">layer_norm</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">normalized_shape</span></sp [...]
<dd><p>Layer normalization (Lei Ba and et al., 2016).
Applies layer normalization to the n-dimensional input array.
This operator takes an n-dimensional input array and normalizes
@@ -2121,13 +2121,13 @@ the input using the given axis:</p>
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>x</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – Input to which layer_norm will be applied.</p></li>
-<li><p><strong>normalized_shape</strong> (<em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>, </em><em>List</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>]</em><em>]</em>) – The shape of axes to normalize. If a single integer
+<li><p><strong>normalized_shape</strong> (<em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>, </em><em>List</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>]</em><em>]</em>) – The shape of axes to normalize. If a single integer
is used, it is treated as a singleton list and this
module will normalize over the last dimension.</p></li>
<li><p><strong>weight</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The gamma scale factor.</p></li>
<li><p><strong>bias</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The beta offset factor.</p></li>
-<li><p><strong>eps</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.12)"><em>float</em></a>) – Small float added to variance to avoid dividing by zero.</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint.</p></li>
+<li><p><strong>eps</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.13)"><em>float</em></a>) – Small float added to variance to avoid dividing by zero.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -2141,14 +2141,14 @@ module will normalize over the last dimension.</p></li>
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">less</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">a</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">b</span></span><span class="p"><s [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">less</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">a</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">b</span></span><span class="p"><s [...]
<dd><p>Broadcasted element-wise comparison for (lhs < rhs).</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>a</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The first input tensor.</p></li>
<li><p><strong>b</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The second input tensor.</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -2162,14 +2162,14 @@ module will normalize over the last dimension.</p></li>
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">less_equal</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">a</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">b</span></span><span class= [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">less_equal</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">a</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">b</span></span><span class= [...]
<dd><p>Broadcasted element-wise comparison for (lhs <= rhs).</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>a</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The first input tensor.</p></li>
<li><p><strong>b</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The second input tensor.</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -2183,7 +2183,7 @@ module will normalize over the last dimension.</p></li>
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">matmul</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">a</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">b</span></span><span class="p"> [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">matmul</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">a</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">b</span></span><span class="p"> [...]
<dd><p>General matrix multiplication of two tensors, with broadcasting on batched dimensions.</p>
<p>The semantics and output shape deduction rule is specified as
<a class="reference external" href="https://data-apis.org/array-api/latest/API_specification/generated/array_api.matmul.html">https://data-apis.org/array-api/latest/API_specification/generated/array_api.matmul.html</a>.</p>
@@ -2192,9 +2192,9 @@ module will normalize over the last dimension.</p></li>
<dd class="field-odd"><ul class="simple">
<li><p><strong>a</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The first input tensor.</p></li>
<li><p><strong>b</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The second input tensor.</p></li>
-<li><p><strong>out_dtype</strong> (<em>Optional</em><em>[</em><em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><em>DataType</em><em>]</em><em>]</em>) – The data type of the matmul result.
+<li><p><strong>out_dtype</strong> (<em>Optional</em><em>[</em><em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><em>DataType</em><em>]</em><em>]</em>) – The data type of the matmul result.
When it is not specified, the output dtype will be the same as input dtype.</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -2212,14 +2212,14 @@ When it is not specified, the output dtype will be the same as input dtype.</p><
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">maximum</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x1</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">x2</span></span><span class=" [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">maximum</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x1</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">x2</span></span><span class=" [...]
<dd><p>Element-wise maximum</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>x1</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The first input tensor.</p></li>
<li><p><strong>x2</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The second input tensor.</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -2237,14 +2237,14 @@ When it is not specified, the output dtype will be the same as input dtype.</p><
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">minimum</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x1</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">x2</span></span><span class=" [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">minimum</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x1</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">x2</span></span><span class=" [...]
<dd><p>Element-wise minimum</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>x1</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The first input tensor.</p></li>
<li><p><strong>x2</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The second input tensor.</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -2262,7 +2262,7 @@ When it is not specified, the output dtype will be the same as input dtype.</p><
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">multinomial_from_uniform</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">prob</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">uniform_sa [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">multinomial_from_uniform</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">prob</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">uniform_sa [...]
<dd><p>Returns a tensor where each row contains the index sampled from the multinomial
probability distribution located in the corresponding row of tensor prob.</p>
<p class="rubric">Notes</p>
@@ -2283,7 +2283,7 @@ determines that the ith token should be sampled from the sample_indices[i]th
probability distribution. For instance, if there are 3 distinct probability
distributions and the requirement is to sample 2, 3, and 4 tokens from each,
then sample_indices would be [0, 0, 1, 1, 1, 2, 2, 2, 2].</p></li>
-<li><p><strong>dtype</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The data type of output tensor.</p></li>
+<li><p><strong>dtype</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The data type of output tensor.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -2308,14 +2308,14 @@ then sample_indices would be [0, 0, 1, 1, 1, 2, 2, 2, 2].</p></li>
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">multiply</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">a</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">b</span></span><span class="p [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">multiply</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">a</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">b</span></span><span class="p [...]
<dd><p>Multiplication with numpy-style broadcasting.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>a</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The first input tensor.</p></li>
<li><p><strong>b</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The second input tensor.</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -2333,13 +2333,13 @@ then sample_indices would be [0, 0, 1, 1, 1, 2, 2, 2, 2].</p></li>
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">negative</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">name</span></span><span class [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">negative</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">name</span></span><span class [...]
<dd><p>Numerical negative of the input tensor.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>x</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The input data to the operator.</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -2353,14 +2353,14 @@ then sample_indices would be [0, 0, 1, 1, 1, 2, 2, 2, 2].</p></li>
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">not_equal</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">a</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">b</span></span><span class=" [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">not_equal</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">a</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">b</span></span><span class=" [...]
<dd><p>Broadcasted element-wise comparison for (lhs != rhs).</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>a</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The first input tensor.</p></li>
<li><p><strong>b</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The second input tensor.</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -2374,14 +2374,14 @@ then sample_indices would be [0, 0, 1, 1, 1, 2, 2, 2, 2].</p></li>
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">ones</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">shape</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Sequence</span><span class="p"><span class="pre">[</span></span><span class="pre">Union</span><span class="p"><span class="pre">[</span></s [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">ones</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">shape</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Sequence</span><span class="p"><span class="pre">[</span></span><span class="pre">Union</span><span class="p"><span class="pre">[</span></s [...]
<dd><p>Construct a tensor of all zeros, with the input shape and dtype.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>shape</strong> (<em>Sequence</em><em>[</em><em>IntExpr</em><em>]</em>) – The shape of the created tensor.</p></li>
-<li><p><strong>dtype</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The data type of the created tensor.</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint.</p></li>
+<li><p><strong>dtype</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The data type of the created tensor.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -2395,18 +2395,18 @@ then sample_indices would be [0, 0, 1, 1, 1, 2, 2, 2, 2].</p></li>
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">pad</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">pad</span></span><span class="p">< [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">pad</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">pad</span></span><span class="p">< [...]
<dd><p>Apply spatial padding to the input tensor.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>x</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – Input tensor to be padded.</p></li>
-<li><p><strong>pad</strong> (<em>List</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>]</em>) – List in the format of [before_0, after_0, before_1, after_1, …]
+<li><p><strong>pad</strong> (<em>List</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>]</em>) – List in the format of [before_0, after_0, before_1, after_1, …]
indicating how much to pad each axis of x.</p></li>
-<li><p><strong>mod</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Padding mode to use, constant implies padded elements will use
+<li><p><strong>mod</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Padding mode to use, constant implies padded elements will use
value argument.</p></li>
-<li><p><strong>value</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – What to pad with in constant mode.</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint for this operator.</p></li>
+<li><p><strong>value</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – What to pad with in constant mode.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint for this operator.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -2420,14 +2420,14 @@ value argument.</p></li>
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">permute</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">axes</span></span><span class= [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">permute</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">axes</span></span><span class= [...]
<dd><p>Permutes the dimensions of the input tensor.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>x</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The input data to the operator.</p></li>
-<li><p><strong>axes</strong> (<em>Optional</em><em>[</em><em>List</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>]</em><em>]</em>) – The target axes order.</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint.</p></li>
+<li><p><strong>axes</strong> (<em>Optional</em><em>[</em><em>List</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>]</em><em>]</em>) – The target axes order.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -2441,14 +2441,14 @@ value argument.</p></li>
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">permute_dims</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">axes</span></span><span c [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">permute_dims</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">axes</span></span><span c [...]
<dd><p>Permutes the dimensions of an array.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>x</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The input data to the operator.</p></li>
-<li><p><strong>axes</strong> (<em>Optional</em><em>[</em><em>List</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>]</em><em>]</em>) – The target axes order, reverse order if not specified.</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint.</p></li>
+<li><p><strong>axes</strong> (<em>Optional</em><em>[</em><em>List</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>]</em><em>]</em>) – The target axes order, reverse order if not specified.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -2468,7 +2468,7 @@ value argument.</p></li>
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">relu</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p" [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">relu</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p" [...]
<dd><p>Rectified Linear Unit (ReLU) activation function.</p>
<div class="math notranslate nohighlight">
\[ext{ReLU}(x) = ext{max}(x, 0)\]</div>
@@ -2476,7 +2476,7 @@ value argument.</p></li>
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>x</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The input data.</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -2516,17 +2516,17 @@ to consider for top-k sampling.</p></li>
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">repeat</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">repeats</span></span><span clas [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">repeat</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">repeats</span></span><span clas [...]
<dd><p>Repeats elements of an array.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>data</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The input tensor.</p></li>
-<li><p><strong>repeats</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – The number of repetitions.</p></li>
-<li><p><strong>axis</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>]</em>) – The axis along which to repeat values. The negative numbers are interpreted
+<li><p><strong>repeats</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – The number of repetitions.</p></li>
+<li><p><strong>axis</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>]</em>) – The axis along which to repeat values. The negative numbers are interpreted
counting from the backward. By default, use the flattened input array, and
return a flat output array.</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -2548,7 +2548,7 @@ return a flat output array.</p></li>
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">reshape</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">shape</span></span><span class [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">reshape</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">shape</span></span><span class [...]
<dd><p>Reshape the input array.</p>
<p><code class="docutils literal notranslate"><span class="pre">-1</span></code> infers the dimension of the output shape by using the remainder of
the input dimensions keeping the size of the new array same as that of the input array.
@@ -2565,7 +2565,7 @@ At most one dimension of shape can be -1.</p>
<dd class="field-odd"><ul class="simple">
<li><p><strong>x</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The input data to the operator.</p></li>
<li><p><strong>shape</strong> (<em>Sequence</em><em>[</em><em>IntExpr</em><em>]</em>) – The new shape. Should be compatible with the original shape.</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -2585,7 +2585,7 @@ compile-time, an error will be thrown.</p>
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">rms_norm</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">weight</span></span><span cla [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">rms_norm</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">weight</span></span><span cla [...]
<dd><p>Root mean square normalization (Biao Zhang and et al., 2019).
Applies root mean square normalization to the n-dimensional input array.
This operator takes an n-dimensional input array and normalizes
@@ -2597,9 +2597,9 @@ the input using the given axis:</p>
<dd class="field-odd"><ul class="simple">
<li><p><strong>data</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – Input to which rms_norm will be applied.</p></li>
<li><p><strong>weight</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The scale factor.</p></li>
-<li><p><strong>axes</strong> (<em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>, </em><em>List</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>]</em><em>]</em>) – The axes that along which the normalization is applied.</p></li>
-<li><p><strong>epsilon</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.12)"><em>float</em></a>) – Small float added to square mean to avoid dividing by zero.</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint.</p></li>
+<li><p><strong>axes</strong> (<em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>, </em><em>List</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>]</em><em>]</em>) – The axes that along which the normalization is applied.</p></li>
+<li><p><strong>epsilon</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.13)"><em>float</em></a>) – Small float added to square mean to avoid dividing by zero.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -2665,7 +2665,7 @@ then sample_indices would be [0, 0, 1, 1, 1, 2, 2, 2, 2].</p></li>
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">scaled_dot_product_attention</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">query</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">key</ [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">scaled_dot_product_attention</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">query</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">key</ [...]
<dd><p>Computes a scaled dot product attention on provided attention
query, key, and values. Compliant with the functional torch implementation.</p>
<dl class="field-list simple">
@@ -2678,9 +2678,9 @@ query, key, and values. Compliant with the functional torch implementation.</p>
<li><p><strong>value</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – Tensor representing embedded attention values of shape
[batch, seq_len_kv, num_heads_kv, head_size_value].</p></li>
<li><p><strong>attn_mask</strong> (<em>Optional</em><em>[</em><a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a><em>]</em>) – Optional mask for attention, not yet supported.</p></li>
-<li><p><strong>is_causal</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a><em>]</em>) – If set, uses a causal attention mask.</p></li>
-<li><p><strong>scale</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.12)"><em>float</em></a><em>]</em>) – Optional extra scaling argument applied to attention.</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint for this function.</p></li>
+<li><p><strong>is_causal</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a><em>]</em>) – If set, uses a causal attention mask.</p></li>
+<li><p><strong>scale</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.13)"><em>float</em></a><em>]</em>) – Optional extra scaling argument applied to attention.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint for this function.</p></li>
</ul>
</dd>
</dl>
@@ -2688,7 +2688,7 @@ query, key, and values. Compliant with the functional torch implementation.</p>
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">sigmoid</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">name</span></span><span class= [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">sigmoid</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">name</span></span><span class= [...]
<dd><p>Computes sigmoid.</p>
<div class="math notranslate nohighlight">
\[\text{sigmoid}(x) = \frac{1}{1 + \exp(-x)}\]</div>
@@ -2696,7 +2696,7 @@ query, key, and values. Compliant with the functional torch implementation.</p>
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>data</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The input data to the operator.</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -2714,7 +2714,7 @@ query, key, and values. Compliant with the functional torch implementation.</p>
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">silu</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p" [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">silu</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p" [...]
<dd><p>Sigmoid Linear Unit function</p>
<div class="math notranslate nohighlight">
\[\text{SiLU}(x) = x * \text{sigmoid}(x)\]</div>
@@ -2722,7 +2722,7 @@ query, key, and values. Compliant with the functional torch implementation.</p>
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>data</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The input data</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -2740,7 +2740,7 @@ query, key, and values. Compliant with the functional torch implementation.</p>
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">softmax</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">axis</span></span><span class= [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">softmax</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">axis</span></span><span class= [...]
<dd><p>Computes softmax.</p>
<div class="math notranslate nohighlight">
\[\text{softmax}(x)_i = \frac{\exp(x_i)}{\sum_j \exp(x_j)}\]</div>
@@ -2748,10 +2748,10 @@ query, key, and values. Compliant with the functional torch implementation.</p>
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>data</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The input data to the operator.</p></li>
-<li><p><strong>axis</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – The axis to sum over when computing softmax.
+<li><p><strong>axis</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – The axis to sum over when computing softmax.
If not specified, it is by default the last axis of the input tensor.
Supports negative indexing.</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -2769,17 +2769,17 @@ Supports negative indexing.</p></li>
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">sort</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">axis</span></span><span class="p" [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">sort</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">axis</span></span><span class="p" [...]
<dd><p>Performs sorting along the given axis and returns an array
in sorted order.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>x</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The input tensor.</p></li>
-<li><p><strong>axis</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – Axis along which to sort the input tensor.
+<li><p><strong>axis</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – Axis along which to sort the input tensor.
By default the last axis of the input is used.</p></li>
-<li><p><strong>descending</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a>) – Whether to sort in descending order, the default is False</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint.</p></li>
+<li><p><strong>descending</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – Whether to sort in descending order, the default is False</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -2793,15 +2793,15 @@ By default the last axis of the input is used.</p></li>
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">split</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">ary</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">indices_or_sections</span></sp [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">split</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">ary</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">indices_or_sections</span></sp [...]
<dd><p>Split an array into multiple sub-arrays.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>ary</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – Input tensor to be split.</p></li>
-<li><p><strong>indices_or_sections</strong> (<em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>, </em><em>Sequence</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>]</em><em>]</em>) – Indices or sections to split into.</p></li>
+<li><p><strong>indices_or_sections</strong> (<em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>, </em><em>Sequence</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>]</em><em>]</em>) – Indices or sections to split into.</p></li>
<li><p><strong>axis</strong> (<em>int = 0</em>) – The axis along which to split, default is 0.</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -2815,13 +2815,13 @@ By default the last axis of the input is used.</p></li>
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">sqrt</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p" [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">sqrt</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p" [...]
<dd><p>Computes the element-wise sqrt of the input tensor.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>x</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The input tensor.</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -2839,13 +2839,13 @@ By default the last axis of the input is used.</p></li>
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">square</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">name</span></span><span class=" [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">square</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">name</span></span><span class=" [...]
<dd><p>Computes the element-wise square of the input tensor.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>x</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The input tensor.</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -2859,16 +2859,16 @@ By default the last axis of the input is used.</p></li>
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">squeeze</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">axis</span></span><span class= [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">squeeze</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">axis</span></span><span class= [...]
<dd><p>Squeeze axes in the array.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>x</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The input data to the operator.</p></li>
-<li><p><strong>axis</strong> (<em>Optional</em><em>[</em><em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>, </em><em>List</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>]</em><em>]</em>) – The set of axes to remove.
+<li><p><strong>axis</strong> (<em>Optional</em><em>[</em><em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>, </em><em>List</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>]</em><em>]</em>) – The set of axes to remove.
If axis = None, remove all axis of dimensions 1.
If any specified axis has dimension that does not equal 1, it is an error.</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -2882,14 +2882,14 @@ If any specified axis has dimension that does not equal 1, it is an error.</p></
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">subtract</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">a</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">b</span></span><span class="p [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">subtract</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">a</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">b</span></span><span class="p [...]
<dd><p>Subtraction with numpy-style broadcasting.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>a</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The first input tensor.</p></li>
<li><p><strong>b</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The second input tensor.</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -2907,19 +2907,19 @@ If any specified axis has dimension that does not equal 1, it is an error.</p></
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">sum</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">axis</span></span><span class="p"> [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">sum</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">axis</span></span><span class="p"> [...]
<dd><p>Computes the sum of tensor elements over given axes.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>x</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The input data tensor</p></li>
-<li><p><strong>axis</strong> (<em>Optional</em><em>[</em><em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>, </em><em>List</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>]</em><em>]</em><em>]</em>) – Axis or axes along which a sum is performed.
+<li><p><strong>axis</strong> (<em>Optional</em><em>[</em><em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>, </em><em>List</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>]</em><em>]</em><em>]</em>) – Axis or axes along which a sum is performed.
The default, axis=None, will sum all of the elements of the input tensor.
Negative indexing is supported.</p></li>
-<li><p><strong>keepdims</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a>) – If this is set to True, the axes which are reduced are left in the result as
+<li><p><strong>keepdims</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – If this is set to True, the axes which are reduced are left in the result as
dimensions with size one.
With this option, the result will broadcast correctly against the input tensor.</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint for this operation.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint for this operation.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -2933,7 +2933,7 @@ With this option, the result will broadcast correctly against the input tensor.<
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">take</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">indices</span></span><span class= [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">take</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">indices</span></span><span class= [...]
<dd><p>Take elements from a tensor along an axis.
Its semantic is mostly similar to <cite>numpy.take</cite>
(<a class="reference external" href="https://numpy.org/doc/stable/reference/generated/numpy.take.html">https://numpy.org/doc/stable/reference/generated/numpy.take.html</a>),
@@ -2944,9 +2944,9 @@ which can cover <cite>torch.take</cite> (<a class="reference external" href="htt
<dd class="field-odd"><ul class="simple">
<li><p><strong>x</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The source tensor.</p></li>
<li><p><strong>indices</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The indices of the values to extract.</p></li>
-<li><p><strong>axis</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>]</em>) – The axis over which to select values.
+<li><p><strong>axis</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>]</em>) – The axis over which to select values.
If it is none, the input tensor is required to be one-dimensional.</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -2960,7 +2960,7 @@ If it is none, the input tensor is required to be one-dimensional.</p></li>
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">tanh</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p" [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">tanh</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p" [...]
<dd><p>Applies the hyperbolic tangent function.</p>
<div class="math notranslate nohighlight">
\[\text{Tanh}(x) = \frac{e^x - e^{-x}}{e^x + e^{-x}}\]</div>
@@ -2968,7 +2968,7 @@ If it is none, the input tensor is required to be one-dimensional.</p></li>
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>x</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The input data to the operator.</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -2986,15 +2986,15 @@ If it is none, the input tensor is required to be one-dimensional.</p></li>
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">tensor_expr_op</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">tensor_expr_func</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Callable</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">name_hint</span></span><span clas [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">tensor_expr_op</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">tensor_expr_func</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Callable</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">name_hint</span></span><span clas [...]
<dd><p>Build the given tensor_expr_func with te.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>tensor_expr_func</strong> (<em>Callable</em>) – A function that returns a te tensor or a list of tensors.</p></li>
-<li><p><strong>name_hint</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint.</p></li>
+<li><p><strong>name_hint</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint.</p></li>
<li><p><strong>args</strong> (<em>List</em><em>[</em><em>Union</em><em>[</em><a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a><em>, </em><em>_tir.Var</em><em>]</em><em>]</em>) – Arguments passed to the function.</p></li>
-<li><p><strong>attrs</strong> (<em>Optional</em><em>[</em><em>Dict</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a><em>, </em><a class="reference internal" href="../tir/tir.html#tvm.tir.Any" title="tvm.tir.Any"><em>Any</em></a><em>]</em><em>]</em>) – A dict of attributes to apply to the function.</p></li>
+<li><p><strong>attrs</strong> (<em>Optional</em><em>[</em><em>Dict</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a><em>, </em><a class="reference internal" href="../tir/tir.html#tvm.tir.Any" title="tvm.tir.Any"><em>Any</em></a><em>]</em><em>]</em>) – A dict of attributes to apply to the function.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -3008,15 +3008,15 @@ If it is none, the input tensor is required to be one-dimensional.</p></li>
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">tensor_ir_inplace_op</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">func</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="../tir/tir.html#tvm.tir.PrimFunc" title="tvm.tir.function.PrimFunc"><span class="pre">tvm.tir.function.Pri [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">tensor_ir_inplace_op</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">func</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="../tir/tir.html#tvm.tir.PrimFunc" title="tvm.tir.function.PrimFunc"><span class="pre">tvm.tir.function.Pri [...]
<dd><p>Create a <cite>call_tir_inplace</cite> binding with given PrimFunc</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>func</strong> (<em>_tir.PrimFunc</em>) – The PrimFunc to call.</p></li>
-<li><p><strong>name_hint</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint.</p></li>
+<li><p><strong>name_hint</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint.</p></li>
<li><p><strong>args</strong> (<em>Union</em><em>[</em><a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a><em>, </em><em>Sequence</em><em>[</em><em>Union</em><em>[</em><a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a><em>, </em><em>rx.ShapeExpr</em><em>, </em><em>_tir.PrimExpr</em><em>]</em><em>]</em><em>]</em>) – The arguments to pass to the PrimFunc.</p></li>
-<li><p><strong>inplace_indices</strong> (<em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>, </em><em>List</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a><em>]</em><em>]</em>) – Specify which arguments should be used for in-place computations.
+<li><p><strong>inplace_indices</strong> (<em>Union</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>, </em><em>List</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>]</em><em>]</em>) – Specify which arguments should be used for in-place computations.
If <cite>inplace_indices</cite> is a single integer, it will be made into a singleton list.
Suppose <cite>inplace_indices[i] = j</cite>, where <cite>j >= 0</cite>. Then the <cite>i`th output
will be an alias of `args[j]</cite>.
@@ -3036,13 +3036,13 @@ At least one member of `inplace_indices</cite> must not be -1.</p></li>
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">tensor_ir_op</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">func</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="../tir/tir.html#tvm.tir.PrimFunc" title="tvm.tir.function.PrimFunc"><span class="pre">tvm.tir.function.PrimFunc</s [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">tensor_ir_op</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">func</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="../tir/tir.html#tvm.tir.PrimFunc" title="tvm.tir.function.PrimFunc"><span class="pre">tvm.tir.function.PrimFunc</s [...]
<dd><p>Create a <cite>call_tir</cite> binding with given PrimFunc</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>func</strong> (<em>_tir.PrimFunc</em>) – The PrimFunc to call.</p></li>
-<li><p><strong>name_hint</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint.</p></li>
+<li><p><strong>name_hint</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint.</p></li>
<li><p><strong>args</strong> (<em>Union</em><em>[</em><a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a><em>, </em><em>Sequence</em><em>[</em><em>Union</em><em>[</em><a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a><em>, </em><em>rx.ShapeExpr</em><em>, </em><em>_tir.PrimExpr</em><em>]</em><em>]</em><em>]</em>) – The arguments to pass to the PrimFunc.</p></li>
<li><p><strong>out</strong> (<em>Union</em><em>[</em><a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a><em>, </em><em>List</em><em>[</em><a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a><em>]</em><em>]</em>) – The output tensors.</p></li>
</ul>
@@ -3058,23 +3058,23 @@ At least one member of `inplace_indices</cite> must not be -1.</p></li>
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">topk</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">data</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">k</span></span><span class="p" [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">topk</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">data</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">k</span></span><span class="p" [...]
<dd><p>Get the top k elements in an input tensor along the given axis.</p>
<p>ret_type specifies the return type, can be one of (“both”, “values”, “indices”).</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>data</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The input data tensor.</p></li>
-<li><p><strong>k</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – Number of top elements to select. Return all elements if k < 1.</p></li>
-<li><p><strong>axis</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – Axis long which to sort the input tensor.</p></li>
-<li><p><strong>ret_type</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The return type [both, values, indices].
+<li><p><strong>k</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – Number of top elements to select. Return all elements if k < 1.</p></li>
+<li><p><strong>axis</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – Axis long which to sort the input tensor.</p></li>
+<li><p><strong>ret_type</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The return type [both, values, indices].
“both”: return both top k data and indices.
“values”: return top k data only.
“indices”: return top k indices only.</p></li>
-<li><p><strong>largest</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.12)"><em>bool</em></a>) – Whether to return largest or smallest elements.
+<li><p><strong>largest</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – Whether to return largest or smallest elements.
The k smallest elements are returned if largest is False.</p></li>
-<li><p><strong>dtype</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – The data type of the indices output.</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint.</p></li>
+<li><p><strong>dtype</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – The data type of the indices output.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -3088,18 +3088,18 @@ The k smallest elements are returned if largest is False.</p></li>
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">triu</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">diagonal</span></span><span class [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">triu</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">diagonal</span></span><span class [...]
<dd><p>Return the upper triangular part of a matrix or a batch of matrices.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>x</strong> (<a class="reference internal" href="../te.html#tvm.te.Tensor" title="tvm.te.Tensor"><em>Tensor</em></a>) – The tensor that triu will be applied to.
It is required to have at least two dimensions.</p></li>
-<li><p><strong>k</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.12)"><em>int</em></a>) – The index indicating the diagonal below which to zero elements.
+<li><p><strong>k</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – The index indicating the diagonal below which to zero elements.
If k = 0, the diagonal is the main diagonal.
If k < 0, the diagonal is below the main diagonal.
If k > 0, the diagonal is above the main diagonal.</p></li>
-<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><em>str</em></a>) – Name hint.</p></li>
+<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – Name hint.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
@@ -3113,14 +3113,14 @@ If k > 0, the diagonal is above the main diagonal.</p></li>
<dl class="py function">
<dt class="sig sig-object py">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">unsqueeze</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">dim</span></span><span class [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.frontend.nn.</span></span><span class="sig-name descname"><span class="pre">unsqueeze</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">x</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tvm.relax.frontend.nn.core.Tensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">dim</span></span><span class [...]
... 17078 lines suppressed ...