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 2026/03/07 17:23:11 UTC
(tvm-site) branch asf-site updated: deploying docs (apache/tvm@9dfa116c942180e90092505d679b422ff3073410)
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 cb7519fdc82 deploying docs (apache/tvm@9dfa116c942180e90092505d679b422ff3073410)
cb7519fdc82 is described below
commit cb7519fdc821a91932d3e4c6bfa0dbdca37591cb
Author: tvm-bot <95...@users.noreply.github.com>
AuthorDate: Sat Mar 7 17:23:05 2026 +0000
deploying docs (apache/tvm@9dfa116c942180e90092505d679b422ff3073410)
---
.../11c11e53c7dace51a8be968ee169ed0d/ir_module.zip | Bin 23874 -> 23874 bytes
.../tir_transformation.zip | Bin 15890 -> 15890 bytes
.../relax_creation.zip | Bin 22418 -> 22418 bytes
.../relax_transformation.zip | Bin 11480 -> 11480 bytes
.../optimize_llm.zip | Bin 54102 -> 54102 bytes
.../e2e_opt_model.zip | Bin 14509 -> 14509 bytes
.../quick_start.zip | Bin 16252 -> 16252 bytes
.../export_and_load_executable.zip | Bin 31492 -> 31492 bytes
.../tir_creation.zip | Bin 24417 -> 24417 bytes
.../cross_compilation_and_rpc.zip | Bin 49081 -> 49081 bytes
.../customize_opt.zip | Bin 20568 -> 20568 bytes
.../relax/tutorials/sg_execution_times.rst.txt | 6 +-
.../tensor_ir/tutorials/sg_execution_times.rst.txt | 6 +-
.../tensor_ir/tutorials/tir_creation.rst.txt | 20 ++--
.../tensor_ir/tutorials/tir_transformation.rst.txt | 6 +-
.../get_started/tutorials/ir_module.rst.txt | 8 +-
.../get_started/tutorials/quick_start.rst.txt | 4 +-
.../tutorials/sg_execution_times.rst.txt | 4 +-
.../tutorials/cross_compilation_and_rpc.rst.txt | 6 +-
.../how_to/tutorials/customize_opt.rst.txt | 4 +-
.../how_to/tutorials/e2e_opt_model.rst.txt | 2 +-
.../how_to/tutorials/sg_execution_times.rst.txt | 10 +-
docs/_sources/sg_execution_times.rst.txt | 20 ++--
docs/commit_hash | 2 +-
.../relax/tutorials/sg_execution_times.html | 6 +-
.../tensor_ir/tutorials/sg_execution_times.html | 6 +-
.../tensor_ir/tutorials/tir_creation.html | 20 ++--
.../tensor_ir/tutorials/tir_transformation.html | 6 +-
docs/get_started/tutorials/ir_module.html | 16 ++--
docs/get_started/tutorials/quick_start.html | 24 ++---
docs/get_started/tutorials/sg_execution_times.html | 4 +-
.../tutorials/cross_compilation_and_rpc.html | 6 +-
docs/how_to/tutorials/customize_opt.html | 8 +-
docs/how_to/tutorials/e2e_opt_model.html | 6 +-
.../tutorials/export_and_load_executable.html | 8 +-
docs/how_to/tutorials/optimize_llm.html | 10 +-
docs/how_to/tutorials/sg_execution_times.html | 10 +-
docs/objects.inv | Bin 18857 -> 18863 bytes
docs/reference/api/python/relax/relax.html | 2 +-
docs/reference/api/python/runtime/vm.html | 2 +-
.../api/typedoc/classes/ArtifactCache.html | 14 +--
.../typedoc/classes/ArtifactIndexedDBCache.html | 12 +--
docs/reference/api/typedoc/classes/CacheState.html | 10 +-
docs/reference/api/typedoc/classes/DLDataType.html | 10 +-
docs/reference/api/typedoc/classes/DLDevice.html | 10 +-
docs/reference/api/typedoc/classes/Instance.html | 106 ++++++++++-----------
docs/reference/api/typedoc/classes/LRUCache.html | 14 +--
.../classes/LinearCongruentialGenerator.html | 10 +-
docs/reference/api/typedoc/classes/Module.html | 16 ++--
docs/reference/api/typedoc/classes/RPCServer.html | 4 +-
docs/reference/api/typedoc/classes/Scalar.html | 8 +-
docs/reference/api/typedoc/classes/TVMArray.html | 16 ++--
docs/reference/api/typedoc/classes/TVMObject.html | 12 +--
docs/reference/api/typedoc/classes/Tensor.html | 34 +++----
.../api/typedoc/classes/VirtualMachine.html | 10 +-
.../classes/_internal_.AsyncifyHandler.html | 14 +--
.../classes/_internal_.CachedCallStack.html | 24 ++---
.../classes/_internal_.CanvasRenderManager.html | 6 +-
.../typedoc/classes/_internal_.Environment.html | 12 +--
.../api/typedoc/classes/_internal_.FFILibrary.html | 6 +-
.../api/typedoc/classes/_internal_.Memory.html | 22 ++---
.../typedoc/classes/_internal_.PackedFuncCell.html | 12 +--
.../typedoc/classes/_internal_.RuntimeContext.html | 8 +-
.../typedoc/classes/_internal_.WebGPUContext.html | 26 ++---
.../enums/_internal_.AsyncifyStateKind.html | 4 +-
.../typedoc/enums/_internal_.RPCServerState.html | 4 +-
docs/reference/api/typedoc/functions/assert.html | 2 +-
.../api/typedoc/functions/createPolyfillWASI.html | 2 +-
.../api/typedoc/functions/deleteTensorCache.html | 2 +-
.../api/typedoc/functions/detectGPUDevice.html | 2 +-
.../api/typedoc/functions/hasTensorInCache.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 | 4 +-
.../api/typedoc/interfaces/InitProgressReport.html | 4 +-
.../api/typedoc/interfaces/LibraryProvider.html | 6 +-
.../interfaces/_internal_.FunctionInfo.html | 4 +-
.../interfaces/_internal_.TensorCacheEntry.html | 4 +-
.../interfaces/_internal_.TensorShardEntry.html | 4 +-
.../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_.FTVMFFIWasmSafeCallType.html | 2 +-
.../types/_internal_.FTVMWasmAllocSpace.html | 2 +-
.../types/_internal_.FTVMWasmFreeSpace.html | 2 +-
.../api/typedoc/types/_internal_.Pointer.html | 2 +-
.../typedoc/types/_internal_.TVMObjectBase.html | 2 +-
docs/searchindex.js | 2 +-
docs/sg_execution_times.html | 20 ++--
92 files changed, 375 insertions(+), 375 deletions(-)
diff --git a/docs/_downloads/11c11e53c7dace51a8be968ee169ed0d/ir_module.zip b/docs/_downloads/11c11e53c7dace51a8be968ee169ed0d/ir_module.zip
index 1230a1b8dd9..80b00ec4101 100644
Binary files a/docs/_downloads/11c11e53c7dace51a8be968ee169ed0d/ir_module.zip and b/docs/_downloads/11c11e53c7dace51a8be968ee169ed0d/ir_module.zip differ
diff --git a/docs/_downloads/18ba0d2ee8120824175aaef66bc9c9bf/tir_transformation.zip b/docs/_downloads/18ba0d2ee8120824175aaef66bc9c9bf/tir_transformation.zip
index 572c9e77dfa..e340a65e1b4 100644
Binary files a/docs/_downloads/18ba0d2ee8120824175aaef66bc9c9bf/tir_transformation.zip and b/docs/_downloads/18ba0d2ee8120824175aaef66bc9c9bf/tir_transformation.zip differ
diff --git a/docs/_downloads/4753776bbe68e7c9ee4d19117973fc8b/relax_creation.zip b/docs/_downloads/4753776bbe68e7c9ee4d19117973fc8b/relax_creation.zip
index 73947e316c3..2157ba76942 100644
Binary files a/docs/_downloads/4753776bbe68e7c9ee4d19117973fc8b/relax_creation.zip and b/docs/_downloads/4753776bbe68e7c9ee4d19117973fc8b/relax_creation.zip differ
diff --git a/docs/_downloads/7d201684dfa095a5ea48d98e9a2ef7ad/relax_transformation.zip b/docs/_downloads/7d201684dfa095a5ea48d98e9a2ef7ad/relax_transformation.zip
index 1a3189662a4..b85d7df6f81 100644
Binary files a/docs/_downloads/7d201684dfa095a5ea48d98e9a2ef7ad/relax_transformation.zip and b/docs/_downloads/7d201684dfa095a5ea48d98e9a2ef7ad/relax_transformation.zip differ
diff --git a/docs/_downloads/83e85f38cf16f1d926d06615fd54095c/optimize_llm.zip b/docs/_downloads/83e85f38cf16f1d926d06615fd54095c/optimize_llm.zip
index 0a2e0e07dec..bfbcd839199 100644
Binary files a/docs/_downloads/83e85f38cf16f1d926d06615fd54095c/optimize_llm.zip and b/docs/_downloads/83e85f38cf16f1d926d06615fd54095c/optimize_llm.zip differ
diff --git a/docs/_downloads/a7dd7652b2ad50f82d7b739ce3645799/e2e_opt_model.zip b/docs/_downloads/a7dd7652b2ad50f82d7b739ce3645799/e2e_opt_model.zip
index 54a52a2ad08..0e862cb91fd 100644
Binary files a/docs/_downloads/a7dd7652b2ad50f82d7b739ce3645799/e2e_opt_model.zip and b/docs/_downloads/a7dd7652b2ad50f82d7b739ce3645799/e2e_opt_model.zip differ
diff --git a/docs/_downloads/bb7db6678496193ed0c55d3b95fa6778/quick_start.zip b/docs/_downloads/bb7db6678496193ed0c55d3b95fa6778/quick_start.zip
index 738e0671ca2..4f1e781e1e5 100644
Binary files a/docs/_downloads/bb7db6678496193ed0c55d3b95fa6778/quick_start.zip and b/docs/_downloads/bb7db6678496193ed0c55d3b95fa6778/quick_start.zip differ
diff --git a/docs/_downloads/bc875d02d5382abc9ea5fb9eb2c1de2c/export_and_load_executable.zip b/docs/_downloads/bc875d02d5382abc9ea5fb9eb2c1de2c/export_and_load_executable.zip
index 0a0fcb7b90a..7670d5d5c72 100644
Binary files a/docs/_downloads/bc875d02d5382abc9ea5fb9eb2c1de2c/export_and_load_executable.zip and b/docs/_downloads/bc875d02d5382abc9ea5fb9eb2c1de2c/export_and_load_executable.zip differ
diff --git a/docs/_downloads/be26483bb70b8468499a01c55e8e866c/tir_creation.zip b/docs/_downloads/be26483bb70b8468499a01c55e8e866c/tir_creation.zip
index 6b6aab8d032..eca368173da 100644
Binary files a/docs/_downloads/be26483bb70b8468499a01c55e8e866c/tir_creation.zip and b/docs/_downloads/be26483bb70b8468499a01c55e8e866c/tir_creation.zip differ
diff --git a/docs/_downloads/f69380821f417ef2210f45503d81bded/cross_compilation_and_rpc.zip b/docs/_downloads/f69380821f417ef2210f45503d81bded/cross_compilation_and_rpc.zip
index 71e9b950fbf..99a79d19a9c 100644
Binary files a/docs/_downloads/f69380821f417ef2210f45503d81bded/cross_compilation_and_rpc.zip and b/docs/_downloads/f69380821f417ef2210f45503d81bded/cross_compilation_and_rpc.zip differ
diff --git a/docs/_downloads/f69433a4a80715725df90d1386679956/customize_opt.zip b/docs/_downloads/f69433a4a80715725df90d1386679956/customize_opt.zip
index a0d2a53fb5b..09c43f86938 100644
Binary files a/docs/_downloads/f69433a4a80715725df90d1386679956/customize_opt.zip and b/docs/_downloads/f69433a4a80715725df90d1386679956/customize_opt.zip differ
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 fcd3d26c429..943ead10c7e 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
@@ -6,7 +6,7 @@
Computation times
=================
-**00:00.159** total execution time for 2 files **from deep_dive/relax/tutorials**:
+**00:00.155** total execution time for 2 files **from deep_dive/relax/tutorials**:
.. container::
@@ -33,8 +33,8 @@ Computation times
- Time
- Mem (MB)
* - :ref:`sphx_glr_deep_dive_relax_tutorials_relax_creation.py` (``relax_creation.py``)
- - 00:00.105
+ - 00:00.102
- 0.0
* - :ref:`sphx_glr_deep_dive_relax_tutorials_relax_transformation.py` (``relax_transformation.py``)
- - 00:00.054
+ - 00:00.053
- 0.0
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 9f299ca5bec..253c85ea65c 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
@@ -6,7 +6,7 @@
Computation times
=================
-**00:00.440** total execution time for 2 files **from deep_dive/tensor_ir/tutorials**:
+**00:00.434** total execution time for 2 files **from deep_dive/tensor_ir/tutorials**:
.. container::
@@ -33,8 +33,8 @@ Computation times
- Time
- Mem (MB)
* - :ref:`sphx_glr_deep_dive_tensor_ir_tutorials_tir_transformation.py` (``tir_transformation.py``)
- - 00:00.270
+ - 00:00.265
- 0.0
* - :ref:`sphx_glr_deep_dive_tensor_ir_tutorials_tir_creation.py` (``tir_creation.py``)
- - 00:00.170
+ - 00:00.168
- 0.0
diff --git a/docs/_sources/deep_dive/tensor_ir/tutorials/tir_creation.rst.txt b/docs/_sources/deep_dive/tensor_ir/tutorials/tir_creation.rst.txt
index a50c15091dd..bc222dbcf7e 100644
--- a/docs/_sources/deep_dive/tensor_ir/tutorials/tir_creation.rst.txt
+++ b/docs/_sources/deep_dive/tensor_ir/tutorials/tir_creation.rst.txt
@@ -319,17 +319,17 @@ Now let's check the runtime dynamic shape inference:
.. code-block:: none
- [[1.6866317 1.7034415 2.0233505 2.4870167]
- [1.3185098 1.3109938 1.5896709 1.9941015]
- [1.3748146 1.4328524 1.4815464 1.8037171]
- [1.2625035 1.2475575 1.632042 1.942595 ]]
- [[32.15844 32.78207 31.37096 ... 30.717337 29.64537 33.626423]
- [28.191208 30.606785 29.645908 ... 27.627274 27.059805 30.154797]
- [33.690212 35.35634 32.58113 ... 33.635345 31.280684 36.21963 ]
+ [[1.4430346 0.7012417 1.2943783 1.1771908 ]
+ [1.1881508 0.54292953 0.8791759 0.9582907 ]
+ [0.6886392 0.7690946 0.8983626 1.1866777 ]
+ [0.69660556 0.7036652 0.82372737 0.9921581 ]]
+ [[35.07589 37.72791 34.456665 ... 33.367146 33.51975 33.82741 ]
+ [33.712013 31.78088 32.983864 ... 33.362503 31.90305 31.29403 ]
+ [33.809643 31.33078 29.799198 ... 29.580246 29.946539 30.331198]
...
- [29.09475 30.93886 26.938711 ... 28.551378 28.13839 30.324032]
- [34.26312 34.91891 30.462637 ... 32.94921 30.727184 33.32436 ]
- [29.940561 30.874666 29.372332 ... 29.554554 27.852444 30.826332]]
+ [34.396725 31.618595 32.60995 ... 32.952198 33.00901 32.77654 ]
+ [36.253284 35.842194 35.622112 ... 35.667114 32.711178 34.538277]
+ [33.68666 33.3335 33.081223 ... 31.03246 30.7079 33.71631 ]]
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 05a35bef589..9ddc42ce0a5 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
@@ -120,7 +120,7 @@ original implementation.
Execution time summary:
mean (ms) median (ms) max (ms) min (ms) std (ms)
- 2.7272 2.7272 2.7272 2.7272 0.0000
+ 2.5237 2.5237 2.5237 2.5237 0.0000
@@ -292,7 +292,7 @@ action involves reordering these two loops.
Execution time summary:
mean (ms) median (ms) max (ms) min (ms) std (ms)
- 0.8622 0.8622 0.8622 0.8622 0.0000
+ 0.8632 0.8632 0.8632 0.8632 0.0000
@@ -420,7 +420,7 @@ from the reduction update via the **decompose_reduction** primitive.
Execution time summary:
mean (ms) median (ms) max (ms) min (ms) std (ms)
- 0.3499 0.3499 0.3499 0.3499 0.0000
+ 0.3362 0.3362 0.3362 0.3362 0.0000
diff --git a/docs/_sources/get_started/tutorials/ir_module.rst.txt b/docs/_sources/get_started/tutorials/ir_module.rst.txt
index b90d3587939..7169545b3a9 100644
--- a/docs/_sources/get_started/tutorials/ir_module.rst.txt
+++ b/docs/_sources/get_started/tutorials/ir_module.rst.txt
@@ -694,8 +694,8 @@ We can deploy the IRModule on CPU by specifying the target as ``llvm``.
.. code-block:: none
- [[ 0.07007141 -0.0120656 0.21679255 0.04618052 0.07865872 -0.21675947
- -0.11471362 -0.25772768 0.11314767 -0.04426879]]
+ [[ 0.20586905 0.04218973 0.13801278 0.18358403 0.16619977 -0.21169299
+ -0.08915988 0.0659829 -0.02167276 0.10916505]]
@@ -761,8 +761,8 @@ Now we can compile the IRModule on GPU, the similar way as we did on CPU.
.. code-block:: none
- [[ 0.07007141 -0.01206561 0.21679261 0.04618048 0.07865873 -0.21675944
- -0.11471356 -0.25772768 0.11314771 -0.04426878]]
+ [[ 0.20586905 0.04218974 0.13801275 0.18358397 0.16619982 -0.21169297
+ -0.08915982 0.06598288 -0.02167276 0.10916502]]
diff --git a/docs/_sources/get_started/tutorials/quick_start.rst.txt b/docs/_sources/get_started/tutorials/quick_start.rst.txt
index 52b76996b4f..08972db503c 100644
--- a/docs/_sources/get_started/tutorials/quick_start.rst.txt
+++ b/docs/_sources/get_started/tutorials/quick_start.rst.txt
@@ -224,8 +224,8 @@ different devices.
.. code-block:: none
- [[23954.621 24592.062 25853.006 25245.451 24692.986 25453.121 23604.342
- 26110.047 25097.854 24730.049]]
+ [[25659.658 25241.908 27102.5 26716.842 27064.674 26084.986 26846.346
+ 25728.512 27468.227 24908.078]]
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 4e2cf853147..7ddcb4a3ac3 100644
--- a/docs/_sources/get_started/tutorials/sg_execution_times.rst.txt
+++ b/docs/_sources/get_started/tutorials/sg_execution_times.rst.txt
@@ -6,7 +6,7 @@
Computation times
=================
-**00:09.724** total execution time for 2 files **from get_started/tutorials**:
+**00:07.118** total execution time for 2 files **from get_started/tutorials**:
.. container::
@@ -33,7 +33,7 @@ Computation times
- Time
- Mem (MB)
* - :ref:`sphx_glr_get_started_tutorials_ir_module.py` (``ir_module.py``)
- - 00:09.568
+ - 00:06.962
- 0.0
* - :ref:`sphx_glr_get_started_tutorials_quick_start.py` (``quick_start.py``)
- 00:00.156
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 db88fb2de76..c6ef55720f6 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
@@ -266,7 +266,7 @@ device and returns the measured cost. Network overhead is excluded.
.. code-block:: none
- 9.4e-08 secs/op
+ 9.2e-08 secs/op
@@ -667,8 +667,8 @@ This workflow is applicable to various deployment scenarios:
Converted PyTorch model to Relax:
- Number of parameters: 4
Using local target for demonstration
- Exported library to: /tmp/tmp9285ay3z/model_deployed.so
- Saved parameters to: /tmp/tmp9285ay3z/model_params.npz
+ Exported library to: /tmp/tmpb6wwlw1m/model_deployed.so
+ Saved parameters to: /tmp/tmpb6wwlw1m/model_params.npz
RPC workflow (works for any remote device):
==================================================
diff --git a/docs/_sources/how_to/tutorials/customize_opt.rst.txt b/docs/_sources/how_to/tutorials/customize_opt.rst.txt
index 9228693e5cb..b5169922f31 100644
--- a/docs/_sources/how_to/tutorials/customize_opt.rst.txt
+++ b/docs/_sources/how_to/tutorials/customize_opt.rst.txt
@@ -425,8 +425,8 @@ We can build and deploy the optimized model to the TVM runtime.
.. code-block:: none
- [[23422.105 23296.766 25204.316 24784.123 24414.088 25376.629 24803.645
- 24888.48 24931.053 24005.246]]
+ [[25516.098 26835.182 26327.074 25058.777 26447.582 24791.48 25649.996
+ 26145.152 25060.945 24884.32 ]]
diff --git a/docs/_sources/how_to/tutorials/e2e_opt_model.rst.txt b/docs/_sources/how_to/tutorials/e2e_opt_model.rst.txt
index bcf233c447c..ccae276131e 100644
--- a/docs/_sources/how_to/tutorials/e2e_opt_model.rst.txt
+++ b/docs/_sources/how_to/tutorials/e2e_opt_model.rst.txt
@@ -54,7 +54,7 @@ PyTorch.
.. code-block:: none
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] 57%|█████▋ | 25.5M/44.7M [00:00<00:00, 267MB/s] 100%|██████████| 44.7M/44.7M [00:00<00:00, 279MB/s]
+ 0%| | 0.00/44.7M [00:00<?, ?B/s] 53%|█████▎ | 23.9M/44.7M [00:00<00:00, 250MB/s] 100%|██████████| 44.7M/44.7M [00:00<00:00, 256MB/s]
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 fd4ca8f776e..3f9bc6ab90d 100644
--- a/docs/_sources/how_to/tutorials/sg_execution_times.rst.txt
+++ b/docs/_sources/how_to/tutorials/sg_execution_times.rst.txt
@@ -6,7 +6,7 @@
Computation times
=================
-**00:30.404** total execution time for 5 files **from how_to/tutorials**:
+**00:29.857** total execution time for 5 files **from how_to/tutorials**:
.. container::
@@ -33,16 +33,16 @@ Computation times
- Time
- Mem (MB)
* - :ref:`sphx_glr_how_to_tutorials_optimize_llm.py` (``optimize_llm.py``)
- - 00:28.466
+ - 00:28.125
- 0.0
* - :ref:`sphx_glr_how_to_tutorials_e2e_opt_model.py` (``e2e_opt_model.py``)
- - 00:00.816
+ - 00:00.699
- 0.0
* - :ref:`sphx_glr_how_to_tutorials_customize_opt.py` (``customize_opt.py``)
- - 00:00.629
+ - 00:00.553
- 0.0
* - :ref:`sphx_glr_how_to_tutorials_cross_compilation_and_rpc.py` (``cross_compilation_and_rpc.py``)
- - 00:00.491
+ - 00:00.478
- 0.0
* - :ref:`sphx_glr_how_to_tutorials_export_and_load_executable.py` (``export_and_load_executable.py``)
- 00:00.002
diff --git a/docs/_sources/sg_execution_times.rst.txt b/docs/_sources/sg_execution_times.rst.txt
index cca900185c8..96954afecd2 100644
--- a/docs/_sources/sg_execution_times.rst.txt
+++ b/docs/_sources/sg_execution_times.rst.txt
@@ -6,7 +6,7 @@
Computation times
=================
-**00:40.727** total execution time for 11 files **from all galleries**:
+**00:37.563** total execution time for 11 files **from all galleries**:
.. container::
@@ -33,34 +33,34 @@ Computation times
- Time
- Mem (MB)
* - :ref:`sphx_glr_how_to_tutorials_optimize_llm.py` (``../how_to/tutorials/optimize_llm.py``)
- - 00:28.466
+ - 00:28.125
- 0.0
* - :ref:`sphx_glr_get_started_tutorials_ir_module.py` (``../get_started/tutorials/ir_module.py``)
- - 00:09.568
+ - 00:06.962
- 0.0
* - :ref:`sphx_glr_how_to_tutorials_e2e_opt_model.py` (``../how_to/tutorials/e2e_opt_model.py``)
- - 00:00.816
+ - 00:00.699
- 0.0
* - :ref:`sphx_glr_how_to_tutorials_customize_opt.py` (``../how_to/tutorials/customize_opt.py``)
- - 00:00.629
+ - 00:00.553
- 0.0
* - :ref:`sphx_glr_how_to_tutorials_cross_compilation_and_rpc.py` (``../how_to/tutorials/cross_compilation_and_rpc.py``)
- - 00:00.491
+ - 00:00.478
- 0.0
* - :ref:`sphx_glr_deep_dive_tensor_ir_tutorials_tir_transformation.py` (``../deep_dive/tensor_ir/tutorials/tir_transformation.py``)
- - 00:00.270
+ - 00:00.265
- 0.0
* - :ref:`sphx_glr_deep_dive_tensor_ir_tutorials_tir_creation.py` (``../deep_dive/tensor_ir/tutorials/tir_creation.py``)
- - 00:00.170
+ - 00:00.168
- 0.0
* - :ref:`sphx_glr_get_started_tutorials_quick_start.py` (``../get_started/tutorials/quick_start.py``)
- 00:00.156
- 0.0
* - :ref:`sphx_glr_deep_dive_relax_tutorials_relax_creation.py` (``../deep_dive/relax/tutorials/relax_creation.py``)
- - 00:00.105
+ - 00:00.102
- 0.0
* - :ref:`sphx_glr_deep_dive_relax_tutorials_relax_transformation.py` (``../deep_dive/relax/tutorials/relax_transformation.py``)
- - 00:00.054
+ - 00:00.053
- 0.0
* - :ref:`sphx_glr_how_to_tutorials_export_and_load_executable.py` (``../how_to/tutorials/export_and_load_executable.py``)
- 00:00.002
diff --git a/docs/commit_hash b/docs/commit_hash
index a3faae00397..b7e14927b84 100644
--- a/docs/commit_hash
+++ b/docs/commit_hash
@@ -1 +1 @@
-c0a305dfeb0848ccd06763753eb11ace8d72e7e6
+9dfa116c942180e90092505d679b422ff3073410
diff --git a/docs/deep_dive/relax/tutorials/sg_execution_times.html b/docs/deep_dive/relax/tutorials/sg_execution_times.html
index 3ed51a1a951..62ef1c4139c 100644
--- a/docs/deep_dive/relax/tutorials/sg_execution_times.html
+++ b/docs/deep_dive/relax/tutorials/sg_execution_times.html
@@ -294,7 +294,7 @@
<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="Link to this heading"></a></h1>
-<p><strong>00:00.159</strong> total execution time for 2 files <strong>from deep_dive/relax/tutorials</strong>:</p>
+<p><strong>00:00.155</strong> total execution time for 2 files <strong>from deep_dive/relax/tutorials</strong>:</p>
<div class="docutils container">
<style scoped>
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/5.3.0/css/bootstrap.min.css" rel="stylesheet" />
@@ -316,11 +316,11 @@ $(document).ready( function () {
</thead>
<tbody>
<tr class="row-even"><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.105</p></td>
+<td><p>00:00.102</p></td>
<td><p>0.0</p></td>
</tr>
<tr class="row-odd"><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.054</p></td>
+<td><p>00:00.053</p></td>
<td><p>0.0</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 0064f57fa90..30d034b8a10 100644
--- a/docs/deep_dive/tensor_ir/tutorials/sg_execution_times.html
+++ b/docs/deep_dive/tensor_ir/tutorials/sg_execution_times.html
@@ -294,7 +294,7 @@
<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="Link to this heading"></a></h1>
-<p><strong>00:00.440</strong> total execution time for 2 files <strong>from deep_dive/tensor_ir/tutorials</strong>:</p>
+<p><strong>00:00.434</strong> total execution time for 2 files <strong>from deep_dive/tensor_ir/tutorials</strong>:</p>
<div class="docutils container">
<style scoped>
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/5.3.0/css/bootstrap.min.css" rel="stylesheet" />
@@ -316,11 +316,11 @@ $(document).ready( function () {
</thead>
<tbody>
<tr class="row-even"><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.270</p></td>
+<td><p>00:00.265</p></td>
<td><p>0.0</p></td>
</tr>
<tr class="row-odd"><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.170</p></td>
+<td><p>00:00.168</p></td>
<td><p>0.0</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 e16ba9ab822..5743caa66d7 100644
--- a/docs/deep_dive/tensor_ir/tutorials/tir_creation.html
+++ b/docs/deep_dive/tensor_ir/tutorials/tir_creation.html
@@ -490,17 +490,17 @@ be used to ascertain the shape and data type of a TensorIR.</p>
<span class="nb">print</span><span class="p">(</span><span class="n">evaluate_dynamic_shape</span><span class="p">(</span><span class="n">dyn_shape_lib</span><span class="p">,</span> <span class="n">m</span><span class="o">=</span><span class="mi">64</span><span class="p">,</span> <span class="n">n</span><span class="o">=</span><span class="mi">64</span><span class="p">,</span> <a href="../../../reference/api/python/tir/tir.html#tvm.tir.IterVar" title="tvm.tir.IterVar" class="sphx-glr-ba [...]
</pre></div>
</div>
-<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>[[1.6866317 1.7034415 2.0233505 2.4870167]
- [1.3185098 1.3109938 1.5896709 1.9941015]
- [1.3748146 1.4328524 1.4815464 1.8037171]
- [1.2625035 1.2475575 1.632042 1.942595 ]]
-[[32.15844 32.78207 31.37096 ... 30.717337 29.64537 33.626423]
- [28.191208 30.606785 29.645908 ... 27.627274 27.059805 30.154797]
- [33.690212 35.35634 32.58113 ... 33.635345 31.280684 36.21963 ]
+<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>[[1.4430346 0.7012417 1.2943783 1.1771908 ]
+ [1.1881508 0.54292953 0.8791759 0.9582907 ]
+ [0.6886392 0.7690946 0.8983626 1.1866777 ]
+ [0.69660556 0.7036652 0.82372737 0.9921581 ]]
+[[35.07589 37.72791 34.456665 ... 33.367146 33.51975 33.82741 ]
+ [33.712013 31.78088 32.983864 ... 33.362503 31.90305 31.29403 ]
+ [33.809643 31.33078 29.799198 ... 29.580246 29.946539 30.331198]
...
- [29.09475 30.93886 26.938711 ... 28.551378 28.13839 30.324032]
- [34.26312 34.91891 30.462637 ... 32.94921 30.727184 33.32436 ]
- [29.940561 30.874666 29.372332 ... 29.554554 27.852444 30.826332]]
+ [34.396725 31.618595 32.60995 ... 32.952198 33.00901 32.77654 ]
+ [36.253284 35.842194 35.622112 ... 35.667114 32.711178 34.538277]
+ [33.68666 33.3335 33.081223 ... 31.03246 30.7079 33.71631 ]]
</pre></div>
</div>
</section>
diff --git a/docs/deep_dive/tensor_ir/tutorials/tir_transformation.html b/docs/deep_dive/tensor_ir/tutorials/tir_transformation.html
index f4fc097e26d..15dd02fec7e 100644
--- a/docs/deep_dive/tensor_ir/tutorials/tir_transformation.html
+++ b/docs/deep_dive/tensor_ir/tutorials/tir_transformation.html
@@ -371,7 +371,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.7272 2.7272 2.7272 2.7272 0.0000
+ 2.5237 2.5237 2.5237 2.5237 0.0000
</pre></div>
</div>
<section id="initialization-schedule">
@@ -467,7 +467,7 @@ class Module:
Execution time summary:
mean (ms) median (ms) max (ms) min (ms) std (ms)
- 0.8622 0.8622 0.8622 0.8622 0.0000
+ 0.8632 0.8632 0.8632 0.8632 0.0000
</pre></div>
</div>
</section>
@@ -561,7 +561,7 @@ class Module:
Execution time summary:
mean (ms) median (ms) max (ms) min (ms) std (ms)
- 0.3499 0.3499 0.3499 0.3499 0.0000
+ 0.3362 0.3362 0.3362 0.3362 0.0000
</pre></div>
</div>
</section>
diff --git a/docs/get_started/tutorials/ir_module.html b/docs/get_started/tutorials/ir_module.html
index 58584ebffae..aba44597ada 100644
--- a/docs/get_started/tutorials/ir_module.html
+++ b/docs/get_started/tutorials/ir_module.html
@@ -806,16 +806,16 @@ backends.</p>
<p>We can deploy the IRModule on CPU by specifying the target as <code class="docutils literal notranslate"><span class="pre">llvm</span></code>.</p>
<div class="highlight-Python notranslate"><div class="highlight"><pre><span></span><a href="../../reference/api/python/relax/relax.html#tvm.relax.VMExecutable" title="tvm.relax.VMExecutable" class="sphx-glr-backref-module-tvm-relax sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">exec</span></a> <span class="o">=</span> <a href="../../reference/api/python/driver.html#tvm.compile" title="tvm.compile" class="sphx-glr-backref-module-tvm sphx-glr-backref-type-py-func [...]
<span class="n">dev</span> <span class="o">=</span> <span class="n">tvm</span><span class="o">.</span><span class="n">cpu</span><span class="p">()</span>
-<a href="../../reference/api/python/runtime/vm.html#tvm.runtime.vm.VirtualMachine" title="tvm.runtime.vm.VirtualMachine" class="sphx-glr-backref-module-tvm-runtime-vm sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">vm</span></a> <span class="o">=</span> <a href="../../reference/api/python/runtime/vm.html#tvm.runtime.vm.VirtualMachine" title="tvm.runtime.vm.VirtualMachine" class="sphx-glr-backref-module-tvm-runtime-vm sphx-glr-backref-type-py-class"><span class=" [...]
+<span class="n">vm</span> <span class="o">=</span> <a href="../../reference/api/python/relax/relax.html#tvm.relax.VirtualMachine" title="tvm.relax.VirtualMachine" class="sphx-glr-backref-module-tvm-relax sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">relax</span><span class="o">.</span><span class="n">VirtualMachine</span></a><span class="p">(</span><a href="../../reference/api/python/relax/relax.html#tvm.relax.VMExecutable" title="tvm.relax.VMExecutable" class [...]
<span class="n">raw_data</span> <span class="o">=</span> <span class="n">np</span><span class="o">.</span><span class="n">random</span><span class="o">.</span><span class="n">rand</span><span class="p">(</span><span class="mi">1</span><span class="p">,</span> <span class="mi">784</span><span class="p">)</span><span class="o">.</span><span class="n">astype</span><span class="p">(</span><span class="s2">"float32"</span><span class="p">)</span>
<span class="n">data</span> <span class="o">=</span> <span class="n">tvm</span><span class="o">.</span><span class="n">runtime</span><span class="o">.</span><span class="n">tensor</span><span class="p">(</span><span class="n">raw_data</span><span class="p">,</span> <span class="n">dev</span><span class="p">)</span>
-<span class="n">cpu_out</span> <span class="o">=</span> <a href="../../reference/api/python/runtime/vm.html#tvm.runtime.vm.VirtualMachine" title="tvm.runtime.vm.VirtualMachine" class="sphx-glr-backref-module-tvm-runtime-vm sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">vm</span></a><span class="p">[</span><span class="s2">"main"</span><span class="p">](</span><span class="n">data</span><span class="p">,</span> <span class="o">*</span><a href="https:// [...]
+<span class="n">cpu_out</span> <span class="o">=</span> <span class="n">vm</span><span class="p">[</span><span class="s2">"main"</span><span class="p">](</span><span class="n">data</span><span class="p">,</span> <span class="o">*</span><a href="https://docs.python.org/3/library/stdtypes.html#dict" title="builtins.dict" class="sphx-glr-backref-module-builtins sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">params_from_torch</span></a><span class="p">[</ [...]
<span class="nb">print</span><span class="p">(</span><span class="n">cpu_out</span><span class="p">)</span>
</pre></div>
</div>
-<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>[[ 0.07007141 -0.0120656 0.21679255 0.04618052 0.07865872 -0.21675947
- -0.11471362 -0.25772768 0.11314767 -0.04426879]]
+<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>[[ 0.20586905 0.04218973 0.13801278 0.18358403 0.16619977 -0.21169299
+ -0.08915988 0.0659829 -0.02167276 0.10916505]]
</pre></div>
</div>
</section>
@@ -838,19 +838,19 @@ the details of <code class="docutils literal notranslate"><span class="pre">DLig
<p>Now we can compile the IRModule on GPU, the similar way as we did on CPU.</p>
<div class="highlight-Python notranslate"><div class="highlight"><pre><span></span><a href="../../reference/api/python/relax/relax.html#tvm.relax.VMExecutable" title="tvm.relax.VMExecutable" class="sphx-glr-backref-module-tvm-relax sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">exec</span></a> <span class="o">=</span> <a href="../../reference/api/python/driver.html#tvm.compile" title="tvm.compile" class="sphx-glr-backref-module-tvm sphx-glr-backref-type-py-func [...]
<span class="n">dev</span> <span class="o">=</span> <span class="n">tvm</span><span class="o">.</span><span class="n">device</span><span class="p">(</span><span class="s2">"cuda"</span><span class="p">,</span> <span class="mi">0</span><span class="p">)</span>
-<a href="../../reference/api/python/runtime/vm.html#tvm.runtime.vm.VirtualMachine" title="tvm.runtime.vm.VirtualMachine" class="sphx-glr-backref-module-tvm-runtime-vm sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">vm</span></a> <span class="o">=</span> <a href="../../reference/api/python/runtime/vm.html#tvm.runtime.vm.VirtualMachine" title="tvm.runtime.vm.VirtualMachine" class="sphx-glr-backref-module-tvm-runtime-vm sphx-glr-backref-type-py-class"><span class=" [...]
+<span class="n">vm</span> <span class="o">=</span> <a href="../../reference/api/python/relax/relax.html#tvm.relax.VirtualMachine" title="tvm.relax.VirtualMachine" class="sphx-glr-backref-module-tvm-relax sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">relax</span><span class="o">.</span><span class="n">VirtualMachine</span></a><span class="p">(</span><a href="../../reference/api/python/relax/relax.html#tvm.relax.VMExecutable" title="tvm.relax.VMExecutable" class [...]
<span class="c1"># Need to allocate data and params on GPU device</span>
<span class="n">data</span> <span class="o">=</span> <span class="n">tvm</span><span class="o">.</span><span class="n">runtime</span><span class="o">.</span><span class="n">tensor</span><span class="p">(</span><span class="n">raw_data</span><span class="p">,</span> <span class="n">dev</span><span class="p">)</span>
<a href="https://docs.python.org/3/library/stdtypes.html#list" title="builtins.list" class="sphx-glr-backref-module-builtins sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">gpu_params</span></a> <span class="o">=</span> <span class="p">[</span><span class="n">tvm</span><span class="o">.</span><span class="n">runtime</span><span class="o">.</span><span class="n">tensor</span><span class="p">(</span><span class="n">p</span><span class="p">,</span> <span class="n"> [...]
-<span class="n">gpu_out</span> <span class="o">=</span> <a href="../../reference/api/python/runtime/vm.html#tvm.runtime.vm.VirtualMachine" title="tvm.runtime.vm.VirtualMachine" class="sphx-glr-backref-module-tvm-runtime-vm sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">vm</span></a><span class="p">[</span><span class="s2">"main"</span><span class="p">](</span><span class="n">data</span><span class="p">,</span> <span class="o">*</span><a href="https:// [...]
+<span class="n">gpu_out</span> <span class="o">=</span> <span class="n">vm</span><span class="p">[</span><span class="s2">"main"</span><span class="p">](</span><span class="n">data</span><span class="p">,</span> <span class="o">*</span><a href="https://docs.python.org/3/library/stdtypes.html#list" title="builtins.list" class="sphx-glr-backref-module-builtins sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">gpu_params</span></a><span class="p">)</span><s [...]
<span class="nb">print</span><span class="p">(</span><span class="n">gpu_out</span><span class="p">)</span>
<span class="c1"># Check the correctness of the results</span>
<span class="k">assert</span> <span class="n">np</span><span class="o">.</span><span class="n">allclose</span><span class="p">(</span><span class="n">cpu_out</span><span class="p">,</span> <span class="n">gpu_out</span><span class="p">,</span> <span class="n">atol</span><span class="o">=</span><span class="mf">1e-3</span><span class="p">)</span>
</pre></div>
</div>
-<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>[[ 0.07007141 -0.01206561 0.21679261 0.04618048 0.07865873 -0.21675944
- -0.11471356 -0.25772768 0.11314771 -0.04426878]]
+<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>[[ 0.20586905 0.04218974 0.13801275 0.18358397 0.16619982 -0.21169297
+ -0.08915982 0.06598288 -0.02167276 0.10916502]]
</pre></div>
</div>
</section>
diff --git a/docs/get_started/tutorials/quick_start.html b/docs/get_started/tutorials/quick_start.html
index 97634d4aa8a..c24a7a02dc4 100644
--- a/docs/get_started/tutorials/quick_start.html
+++ b/docs/get_started/tutorials/quick_start.html
@@ -449,16 +449,16 @@ different devices.</p>
<a href="../../reference/api/python/target.html#tvm.target.Target" title="tvm.target.Target" class="sphx-glr-backref-module-tvm-target sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">target</span></a> <span class="o">=</span> <a href="../../reference/api/python/target.html#tvm.target.Target" title="tvm.target.Target" class="sphx-glr-backref-module-tvm-target sphx-glr-backref-type-py-class"><span class="n">tvm</span><span class="o">.</span><span class="n">target< [...]
<a href="../../reference/api/python/relax/relax.html#tvm.relax.VMExecutable" title="tvm.relax.VMExecutable" class="sphx-glr-backref-module-tvm-relax sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">ex</span></a> <span class="o">=</span> <a href="../../reference/api/python/driver.html#tvm.compile" title="tvm.compile" class="sphx-glr-backref-module-tvm sphx-glr-backref-type-py-function"><span class="n">tvm</span><span class="o">.</span><span class="n">compile</span [...]
<span class="n">device</span> <span class="o">=</span> <span class="n">tvm</span><span class="o">.</span><span class="n">cpu</span><span class="p">()</span>
-<a href="../../reference/api/python/runtime/vm.html#tvm.runtime.vm.VirtualMachine" title="tvm.runtime.vm.VirtualMachine" class="sphx-glr-backref-module-tvm-runtime-vm sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">vm</span></a> <span class="o">=</span> <a href="../../reference/api/python/runtime/vm.html#tvm.runtime.vm.VirtualMachine" title="tvm.runtime.vm.VirtualMachine" class="sphx-glr-backref-module-tvm-runtime-vm sphx-glr-backref-type-py-class"><span class=" [...]
+<span class="n">vm</span> <span class="o">=</span> <a href="../../reference/api/python/relax/relax.html#tvm.relax.VirtualMachine" title="tvm.relax.VirtualMachine" class="sphx-glr-backref-module-tvm-relax sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">relax</span><span class="o">.</span><span class="n">VirtualMachine</span></a><span class="p">(</span><a href="../../reference/api/python/relax/relax.html#tvm.relax.VMExecutable" title="tvm.relax.VMExecutable" class [...]
<span class="n">data</span> <span class="o">=</span> <span class="n">np</span><span class="o">.</span><span class="n">random</span><span class="o">.</span><span class="n">rand</span><span class="p">(</span><span class="mi">1</span><span class="p">,</span> <span class="mi">784</span><span class="p">)</span><span class="o">.</span><span class="n">astype</span><span class="p">(</span><span class="s2">"float32"</span><span class="p">)</span>
<span class="n">tvm_data</span> <span class="o">=</span> <span class="n">tvm</span><span class="o">.</span><span class="n">runtime</span><span class="o">.</span><span class="n">tensor</span><span class="p">(</span><span class="n">data</span><span class="p">,</span> <span class="n">device</span><span class="o">=</span><span class="n">device</span><span class="p">)</span>
<a href="https://docs.python.org/3/library/stdtypes.html#list" title="builtins.list" class="sphx-glr-backref-module-builtins sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">params</span></a> <span class="o">=</span> <span class="p">[</span><span class="n">np</span><span class="o">.</span><span class="n">random</span><span class="o">.</span><span class="n">rand</span><span class="p">(</span><span class="o">*</span><span class="n">param</span><span class="o">.</sp [...]
<a href="https://docs.python.org/3/library/stdtypes.html#list" title="builtins.list" class="sphx-glr-backref-module-builtins sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">params</span></a> <span class="o">=</span> <span class="p">[</span><span class="n">tvm</span><span class="o">.</span><span class="n">runtime</span><span class="o">.</span><span class="n">tensor</span><span class="p">(</span><span class="n">param</span><span class="p">,</span> <span class="n"> [...]
-<span class="nb">print</span><span class="p">(</span><a href="../../reference/api/python/runtime/vm.html#tvm.runtime.vm.VirtualMachine" title="tvm.runtime.vm.VirtualMachine" class="sphx-glr-backref-module-tvm-runtime-vm sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">vm</span></a><span class="p">[</span><span class="s2">"forward"</span><span class="p">](</span><span class="n">tvm_data</span><span class="p">,</span> <span class="o">*</span><a href="http [...]
+<span class="nb">print</span><span class="p">(</span><span class="n">vm</span><span class="p">[</span><span class="s2">"forward"</span><span class="p">](</span><span class="n">tvm_data</span><span class="p">,</span> <span class="o">*</span><a href="https://docs.python.org/3/library/stdtypes.html#list" title="builtins.list" class="sphx-glr-backref-module-builtins sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">params</span></a><span class="p">)</span><s [...]
</pre></div>
</div>
-<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>[[23954.621 24592.062 25853.006 25245.451 24692.986 25453.121 23604.342
- 26110.047 25097.854 24730.049]]
+<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>[[25659.658 25241.908 27102.5 26716.842 27064.674 26084.986 26846.346
+ 25728.512 27468.227 24908.078]]
</pre></div>
</div>
<p>Our goal is to bring machine learning to the application with any language of interest,
@@ -466,8 +466,8 @@ with the minimum runtime support.</p>
<ul>
<li><p>Each function in IRModule becomes a runnable function in the runtime. For example in LLM
cases, we can call <code class="docutils literal notranslate"><span class="pre">prefill</span></code> and <code class="docutils literal notranslate"><span class="pre">decode</span></code> functions directly.</p>
-<div class="highlight-Python notranslate"><div class="highlight"><pre><span></span><span class="n">prefill_logits</span> <span class="o">=</span> <a href="../../reference/api/python/runtime/vm.html#tvm.runtime.vm.VirtualMachine" title="tvm.runtime.vm.VirtualMachine" class="sphx-glr-backref-module-tvm-runtime-vm sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">vm</span></a><span class="p">[</span><span class="s2">"prefill"</span><span class="p">](</span> [...]
-<span class="n">decoded_logits</span> <span class="o">=</span> <a href="../../reference/api/python/runtime/vm.html#tvm.runtime.vm.VirtualMachine" title="tvm.runtime.vm.VirtualMachine" class="sphx-glr-backref-module-tvm-runtime-vm sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">vm</span></a><span class="p">[</span><span class="s2">"decode"</span><span class="p">](</span><span class="n">inputs</span><span class="p">,</span> <span class="n">weight</span>< [...]
+<div class="highlight-Python notranslate"><div class="highlight"><pre><span></span><span class="n">prefill_logits</span> <span class="o">=</span> <span class="n">vm</span><span class="p">[</span><span class="s2">"prefill"</span><span class="p">](</span><span class="n">inputs</span><span class="p">,</span> <span class="n">weight</span><span class="p">,</span> <span class="n">kv_cache</span><span class="p">)</span>
+<span class="n">decoded_logits</span> <span class="o">=</span> <span class="n">vm</span><span class="p">[</span><span class="s2">"decode"</span><span class="p">](</span><span class="n">inputs</span><span class="p">,</span> <span class="n">weight</span><span class="p">,</span> <span class="n">kv_cache</span><span class="p">)</span>
</pre></div>
</div>
</li>
@@ -482,15 +482,15 @@ copy exchange with existing ecosystem (DLPack exchange with PyTorch)</p>
</li>
<li><p>TVM runtime works in non-python environments, so it works on settings such as mobile</p>
<div class="highlight-C++ notranslate"><div class="highlight"><pre><span></span><span class="c1">// C++ snippet</span>
-<span class="n">runtime</span><span class="o">::</span><span class="n">Module</span><span class="w"> </span><a href="../../reference/api/python/runtime/vm.html#tvm.runtime.vm.VirtualMachine" title="tvm.runtime.vm.VirtualMachine" class="sphx-glr-backref-module-tvm-runtime-vm sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">vm</span></a><span class="w"> </span><span class="o">=</span><span class="w"> </span><a href="../../reference/api/python/relax/relax.html#tvm.r [...]
-<a href="../../reference/api/python/runtime/vm.html#tvm.runtime.vm.VirtualMachine" title="tvm.runtime.vm.VirtualMachine" class="sphx-glr-backref-module-tvm-runtime-vm sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">vm</span></a><span class="p">.</span><span class="n">GetFunction</span><span class="p">(</span><span class="s">"init"</span><span class="p">)(...);</span>
-<span class="n">Tensor</span><span class="w"> </span><span class="n">out</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><a href="../../reference/api/python/runtime/vm.html#tvm.runtime.vm.VirtualMachine" title="tvm.runtime.vm.VirtualMachine" class="sphx-glr-backref-module-tvm-runtime-vm sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">vm</span></a><span class="p">.</span><span class="n">GetFunction</span><span class="p">(</span><span [...]
+<span class="n">runtime</span><span class="o">::</span><span class="n">Module</span><span class="w"> </span><span class="n">vm</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><a href="../../reference/api/python/relax/relax.html#tvm.relax.VMExecutable" title="tvm.relax.VMExecutable" class="sphx-glr-backref-module-tvm-relax sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">ex</span></a><span class="p">.</span><span class="n">GetFunction [...]
+<span class="n">vm</span><span class="p">.</span><span class="n">GetFunction</span><span class="p">(</span><span class="s">"init"</span><span class="p">)(...);</span>
+<span class="n">Tensor</span><span class="w"> </span><span class="n">out</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">vm</span><span class="p">.</span><span class="n">GetFunction</span><span class="p">(</span><span class="s">"prefill"</span><span class="p">)(</span><span class="n">data</span><span class="p">,</span><span class="w"> </span><span class="n">weight</span><span class="p">,</span><span class="w"> </span><span class="n" [...]
</pre></div>
</div>
<div class="highlight-Java notranslate"><div class="highlight"><pre><span></span><span class="c1">// Java snippet</span>
-<span class="n">Module</span><span class="w"> </span><a href="../../reference/api/python/runtime/vm.html#tvm.runtime.vm.VirtualMachine" title="tvm.runtime.vm.VirtualMachine" class="sphx-glr-backref-module-tvm-runtime-vm sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">vm</span></a><span class="w"> </span><span class="o">=</span><span class="w"> </span><a href="../../reference/api/python/relax/relax.html#tvm.relax.VMExecutable" title="tvm.relax.VMExecutable" class [...]
-<a href="../../reference/api/python/runtime/vm.html#tvm.runtime.vm.VirtualMachine" title="tvm.runtime.vm.VirtualMachine" class="sphx-glr-backref-module-tvm-runtime-vm sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">vm</span></a><span class="p">.</span><span class="na">getFunction</span><span class="p">(</span><span class="s">"init"</span><span class="p">).</span><span class="na">pushArg</span><span class="p">(...).</span><span class="na">invoke</span>< [...]
-<span class="n">Tensor</span><span class="w"> </span><span class="n">out</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><a href="../../reference/api/python/runtime/vm.html#tvm.runtime.vm.VirtualMachine" title="tvm.runtime.vm.VirtualMachine" class="sphx-glr-backref-module-tvm-runtime-vm sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">vm</span></a><span class="p">.</span><span class="na">getFunction</span><span class="p">(</span><spa [...]
+<span class="n">Module</span><span class="w"> </span><span class="n">vm</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><a href="../../reference/api/python/relax/relax.html#tvm.relax.VMExecutable" title="tvm.relax.VMExecutable" class="sphx-glr-backref-module-tvm-relax sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">ex</span></a><span class="p">.</span><span class="na">getFunction</span><span class="p">(</span><span class="s">"l [...]
+<span class="n">vm</span><span class="p">.</span><span class="na">getFunction</span><span class="p">(</span><span class="s">"init"</span><span class="p">).</span><span class="na">pushArg</span><span class="p">(...).</span><span class="na">invoke</span><span class="p">;</span>
+<span class="n">Tensor</span><span class="w"> </span><span class="n">out</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">vm</span><span class="p">.</span><span class="na">getFunction</span><span class="p">(</span><span class="s">"prefill"</span><span class="p">).</span><span class="na">pushArg</span><span class="p">(</span><span class="n">data</span><span class="p">).</span><span class="na">pushArg</span><span class="p">(</span><spa [...]
</pre></div>
</div>
</li>
diff --git a/docs/get_started/tutorials/sg_execution_times.html b/docs/get_started/tutorials/sg_execution_times.html
index ada4760df40..b45d1066e20 100644
--- a/docs/get_started/tutorials/sg_execution_times.html
+++ b/docs/get_started/tutorials/sg_execution_times.html
@@ -294,7 +294,7 @@
<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="Link to this heading"></a></h1>
-<p><strong>00:09.724</strong> total execution time for 2 files <strong>from get_started/tutorials</strong>:</p>
+<p><strong>00:07.118</strong> total execution time for 2 files <strong>from get_started/tutorials</strong>:</p>
<div class="docutils container">
<style scoped>
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/5.3.0/css/bootstrap.min.css" rel="stylesheet" />
@@ -316,7 +316,7 @@ $(document).ready( function () {
</thead>
<tbody>
<tr class="row-even"><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:09.568</p></td>
+<td><p>00:06.962</p></td>
<td><p>0.0</p></td>
</tr>
<tr class="row-odd"><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>
diff --git a/docs/how_to/tutorials/cross_compilation_and_rpc.html b/docs/how_to/tutorials/cross_compilation_and_rpc.html
index 05f79249f4f..91819615a6b 100644
--- a/docs/how_to/tutorials/cross_compilation_and_rpc.html
+++ b/docs/how_to/tutorials/cross_compilation_and_rpc.html
@@ -472,7 +472,7 @@ device and returns the measured cost. Network overhead is excluded.</p>
<span class="nb">print</span><span class="p">(</span><span class="sa">f</span><span class="s2">"</span><span class="si">{</span><span class="n">cost</span><span class="si">:</span><span class="s2">g</span><span class="si">}</span><span class="s2"> secs/op"</span><span class="p">)</span>
</pre></div>
</div>
-<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>9.4e-08 secs/op
+<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>9.2e-08 secs/op
</pre></div>
</div>
</section>
@@ -839,8 +839,8 @@ for ONNX models. Simply replace <code class="docutils literal notranslate"><span
Converted PyTorch model to Relax:
- Number of parameters: 4
Using local target for demonstration
-Exported library to: /tmp/tmp9285ay3z/model_deployed.so
-Saved parameters to: /tmp/tmp9285ay3z/model_params.npz
+Exported library to: /tmp/tmpb6wwlw1m/model_deployed.so
+Saved parameters to: /tmp/tmpb6wwlw1m/model_params.npz
RPC workflow (works for any remote device):
==================================================
diff --git a/docs/how_to/tutorials/customize_opt.html b/docs/how_to/tutorials/customize_opt.html
index 2b2e24ba941..f1d1f4196ee 100644
--- a/docs/how_to/tutorials/customize_opt.html
+++ b/docs/how_to/tutorials/customize_opt.html
@@ -609,16 +609,16 @@ pushing the performance to the limit. The current optimization may not be the be
<p>We can build and deploy the optimized model to the TVM runtime.</p>
<div class="highlight-Python notranslate"><div class="highlight"><pre><span></span><a href="../../reference/api/python/relax/relax.html#tvm.relax.VMExecutable" title="tvm.relax.VMExecutable" class="sphx-glr-backref-module-tvm-relax sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">ex</span></a> <span class="o">=</span> <a href="../../reference/api/python/driver.html#tvm.compile" title="tvm.compile" class="sphx-glr-backref-module-tvm sphx-glr-backref-type-py-functi [...]
<span class="n">dev</span> <span class="o">=</span> <span class="n">tvm</span><span class="o">.</span><span class="n">device</span><span class="p">(</span><span class="s2">"cuda"</span><span class="p">,</span> <span class="mi">0</span><span class="p">)</span>
-<a href="../../reference/api/python/runtime/vm.html#tvm.runtime.vm.VirtualMachine" title="tvm.runtime.vm.VirtualMachine" class="sphx-glr-backref-module-tvm-runtime-vm sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">vm</span></a> <span class="o">=</span> <a href="../../reference/api/python/runtime/vm.html#tvm.runtime.vm.VirtualMachine" title="tvm.runtime.vm.VirtualMachine" class="sphx-glr-backref-module-tvm-runtime-vm sphx-glr-backref-type-py-class"><span class=" [...]
+<span class="n">vm</span> <span class="o">=</span> <a href="../../reference/api/python/relax/relax.html#tvm.relax.VirtualMachine" title="tvm.relax.VirtualMachine" class="sphx-glr-backref-module-tvm-relax sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">relax</span><span class="o">.</span><span class="n">VirtualMachine</span></a><span class="p">(</span><a href="../../reference/api/python/relax/relax.html#tvm.relax.VMExecutable" title="tvm.relax.VMExecutable" class [...]
<span class="c1"># Need to allocate data and params on GPU device</span>
<span class="n">data</span> <span class="o">=</span> <span class="n">tvm</span><span class="o">.</span><span class="n">runtime</span><span class="o">.</span><span class="n">tensor</span><span class="p">(</span><span class="n">np</span><span class="o">.</span><span class="n">random</span><span class="o">.</span><span class="n">rand</span><span class="p">(</span><span class="o">*</span><a href="https://docs.python.org/3/library/stdtypes.html#tuple" title="builtins.tuple" class="sphx-glr-ba [...]
<a href="https://docs.python.org/3/library/stdtypes.html#list" title="builtins.list" class="sphx-glr-backref-module-builtins sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">gpu_params</span></a> <span class="o">=</span> <span class="p">[</span><span class="n">tvm</span><span class="o">.</span><span class="n">runtime</span><span class="o">.</span><span class="n">tensor</span><span class="p">(</span><span class="n">np</span><span class="o">.</span><span class="n"> [...]
-<span class="n">gpu_out</span> <span class="o">=</span> <a href="../../reference/api/python/runtime/vm.html#tvm.runtime.vm.VirtualMachine" title="tvm.runtime.vm.VirtualMachine" class="sphx-glr-backref-module-tvm-runtime-vm sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">vm</span></a><span class="p">[</span><span class="s2">"forward"</span><span class="p">](</span><span class="n">data</span><span class="p">,</span> <span class="o">*</span><a href="https [...]
+<span class="n">gpu_out</span> <span class="o">=</span> <span class="n">vm</span><span class="p">[</span><span class="s2">"forward"</span><span class="p">](</span><span class="n">data</span><span class="p">,</span> <span class="o">*</span><a href="https://docs.python.org/3/library/stdtypes.html#list" title="builtins.list" class="sphx-glr-backref-module-builtins sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">gpu_params</span></a><span class="p">)</span [...]
<span class="nb">print</span><span class="p">(</span><span class="n">gpu_out</span><span class="p">)</span>
</pre></div>
</div>
-<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>[[23422.105 23296.766 25204.316 24784.123 24414.088 25376.629 24803.645
- 24888.48 24931.053 24005.246]]
+<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>[[25516.098 26835.182 26327.074 25058.777 26447.582 24791.48 25649.996
+ 26145.152 25060.945 24884.32 ]]
</pre></div>
</div>
</section>
diff --git a/docs/how_to/tutorials/e2e_opt_model.html b/docs/how_to/tutorials/e2e_opt_model.html
index d13bf8bdd9c..665d4e5ecb7 100644
--- a/docs/how_to/tutorials/e2e_opt_model.html
+++ b/docs/how_to/tutorials/e2e_opt_model.html
@@ -329,8 +329,8 @@ PyTorch.</p>
<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>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]
- 57%|█████▋ | 25.5M/44.7M [00:00<00:00, 267MB/s]
-100%|██████████| 44.7M/44.7M [00:00<00:00, 279MB/s]
+ 53%|█████▎ | 23.9M/44.7M [00:00<00:00, 250MB/s]
+100%|██████████| 44.7M/44.7M [00:00<00:00, 256MB/s]
</pre></div>
</div>
</section>
@@ -431,7 +431,7 @@ We skip this step in the CI environment.</p>
<span class="n">mod</span> <span class="o">=</span> <span class="n">tvm</span><span class="o">.</span><span class="n">tir</span><span class="o">.</span><span class="n">transform</span><span class="o">.</span><span class="n">DefaultGPUSchedule</span><span class="p">()(</span><span class="n">mod</span><span class="p">)</span>
<span class="n">ex</span> <span class="o">=</span> <a href="../../reference/api/python/driver.html#tvm.compile" title="tvm.compile" class="sphx-glr-backref-module-tvm sphx-glr-backref-type-py-function"><span class="n">tvm</span><span class="o">.</span><span class="n">compile</span></a><span class="p">(</span><span class="n">mod</span><span class="p">,</span> <a href="../../reference/api/python/target.html#tvm.target.Target" title="tvm.target.Target" class="sphx-glr-backref-module-tvm [...]
<span class="n">dev</span> <span class="o">=</span> <span class="n">tvm</span><span class="o">.</span><span class="n">device</span><span class="p">(</span><span class="s2">"cuda"</span><span class="p">,</span> <span class="mi">0</span><span class="p">)</span>
- <span class="n">vm</span> <span class="o">=</span> <a href="../../reference/api/python/runtime/vm.html#tvm.runtime.vm.VirtualMachine" title="tvm.runtime.vm.VirtualMachine" class="sphx-glr-backref-module-tvm-runtime-vm sphx-glr-backref-type-py-class"><span class="n">relax</span><span class="o">.</span><span class="n">VirtualMachine</span></a><span class="p">(</span><span class="n">ex</span><span class="p">,</span> <span class="n">dev</span><span class="p">)</span>
+ <span class="n">vm</span> <span class="o">=</span> <a href="../../reference/api/python/relax/relax.html#tvm.relax.VirtualMachine" title="tvm.relax.VirtualMachine" class="sphx-glr-backref-module-tvm-relax sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">relax</span><span class="o">.</span><span class="n">VirtualMachine</span></a><span class="p">(</span><span class="n">ex</span><span class="p">,</span> <span class="n">dev</span><span class="p">)</span>
<span class="c1"># Need to allocate data and params on GPU device</span>
<span class="n">gpu_data</span> <span class="o">=</span> <span class="n">tvm</span><span class="o">.</span><span class="n">runtime</span><span class="o">.</span><span class="n">tensor</span><span class="p">(</span><span class="n">np</span><span class="o">.</span><span class="n">random</span><span class="o">.</span><span class="n">rand</span><span class="p">(</span><span class="mi">1</span><span class="p">,</span> <span class="mi">3</span><span class="p">,</span> <span class="mi">224< [...]
<span class="n">gpu_params</span> <span class="o">=</span> <span class="p">[</span><span class="n">tvm</span><span class="o">.</span><span class="n">runtime</span><span class="o">.</span><span class="n">tensor</span><span class="p">(</span><span class="n">p</span><span class="p">,</span> <span class="n">dev</span><span class="p">)</span> <span class="k">for</span> <span class="n">p</span> <span class="ow">in</span> <span class="n">params</span><span class="p">[</span><span class="s2" [...]
diff --git a/docs/how_to/tutorials/export_and_load_executable.html b/docs/how_to/tutorials/export_and_load_executable.html
index 2f910fad7f1..e97be058c2e 100644
--- a/docs/how_to/tutorials/export_and_load_executable.html
+++ b/docs/how_to/tutorials/export_and_load_executable.html
@@ -441,7 +441,7 @@ runtime module directly.</p>
<div class="highlight-Python notranslate"><div class="highlight"><pre><span></span><span class="k">if</span> <a href="https://docs.python.org/3/library/functions.html#bool" title="builtins.bool" class="sphx-glr-backref-module-builtins sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">RUN_EXAMPLE</span></a><span class="p">:</span>
<span class="n">loaded_rt_mod</span> <span class="o">=</span> <span class="n">tvm</span><span class="o">.</span><span class="n">runtime</span><span class="o">.</span><span class="n">load_module</span><span class="p">(</span><span class="nb">str</span><span class="p">(</span><span class="n">library_path</span><span class="p">))</span>
<span class="n">dev</span> <span class="o">=</span> <span class="n">tvm</span><span class="o">.</span><span class="n">cpu</span><span class="p">(</span><span class="mi">0</span><span class="p">)</span>
- <span class="n">vm</span> <span class="o">=</span> <a href="../../reference/api/python/runtime/vm.html#tvm.runtime.vm.VirtualMachine" title="tvm.runtime.vm.VirtualMachine" class="sphx-glr-backref-module-tvm-runtime-vm sphx-glr-backref-type-py-class"><span class="n">relax</span><span class="o">.</span><span class="n">VirtualMachine</span></a><span class="p">(</span><span class="n">loaded_rt_mod</span><span class="p">,</span> <span class="n">dev</span><span class="p">)</span>
+ <span class="n">vm</span> <span class="o">=</span> <a href="../../reference/api/python/relax/relax.html#tvm.relax.VirtualMachine" title="tvm.relax.VirtualMachine" class="sphx-glr-backref-module-tvm-relax sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">relax</span><span class="o">.</span><span class="n">VirtualMachine</span></a><span class="p">(</span><span class="n">loaded_rt_mod</span><span class="p">,</span> <span class="n">dev</span><span class="p">)</span>
<span class="c1"># Prepare input data</span>
<span class="n">input_tensor</span> <span class="o">=</span> <span class="n">torch</span><span class="o">.</span><span class="n">randn</span><span class="p">(</span><span class="mi">1</span><span class="p">,</span> <span class="mi">1</span><span class="p">,</span> <span class="mi">28</span><span class="p">,</span> <span class="mi">28</span><span class="p">,</span> <span class="n">dtype</span><span class="o">=</span><span class="n">torch</span><span class="o">.</span><span class="n">f [...]
@@ -522,7 +522,7 @@ of how to reload and run the model. Save this as <code class="docutils literal n
<span class="c1"># Step 2: Create Virtual Machine</span>
<span class="n">device</span> <span class="o">=</span> <span class="n">tvm</span><span class="o">.</span><span class="n">cpu</span><span class="p">(</span><span class="mi">0</span><span class="p">)</span>
-<span class="n">vm</span> <span class="o">=</span> <a href="../../reference/api/python/runtime/vm.html#tvm.runtime.vm.VirtualMachine" title="tvm.runtime.vm.VirtualMachine" class="sphx-glr-backref-module-tvm-runtime-vm sphx-glr-backref-type-py-class"><span class="n">relax</span><span class="o">.</span><span class="n">VirtualMachine</span></a><span class="p">(</span><span class="n">lib</span><span class="p">,</span> <span class="n">device</span><span class="p">)</span>
+<span class="n">vm</span> <span class="o">=</span> <a href="../../reference/api/python/relax/relax.html#tvm.relax.VirtualMachine" title="tvm.relax.VirtualMachine" class="sphx-glr-backref-module-tvm-relax sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">relax</span><span class="o">.</span><span class="n">VirtualMachine</span></a><span class="p">(</span><span class="n">lib</span><span class="p">,</span> <span class="n">device</span><span class="p">)</span>
<span class="c1"># Step 3: Load parameters from the .npz file</span>
<span class="n">params_npz</span> <span class="o">=</span> <span class="n">np</span><span class="o">.</span><span class="n">load</span><span class="p">(</span><span class="s2">"relax_export_artifacts/model_params.npz"</span><span class="p">)</span>
@@ -557,7 +557,7 @@ To run on GPU instead of CPU, make the following changes:</p>
</li>
<li><p><strong>Use GPU device in the script</strong>:</p>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="n">device</span> <span class="o">=</span> <span class="n">tvm</span><span class="o">.</span><span class="n">cuda</span><span class="p">(</span><span class="mi">0</span><span class="p">)</span> <span class="c1"># Use CUDA device instead of CPU</span>
-<span class="n">vm</span> <span class="o">=</span> <a href="../../reference/api/python/runtime/vm.html#tvm.runtime.vm.VirtualMachine" title="tvm.runtime.vm.VirtualMachine" class="sphx-glr-backref-module-tvm-runtime-vm sphx-glr-backref-type-py-class"><span class="n">relax</span><span class="o">.</span><span class="n">VirtualMachine</span></a><span class="p">(</span><span class="n">lib</span><span class="p">,</span> <span class="n">device</span><span class="p">)</span>
+<span class="n">vm</span> <span class="o">=</span> <a href="../../reference/api/python/relax/relax.html#tvm.relax.VirtualMachine" title="tvm.relax.VirtualMachine" class="sphx-glr-backref-module-tvm-relax sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">relax</span><span class="o">.</span><span class="n">VirtualMachine</span></a><span class="p">(</span><span class="n">lib</span><span class="p">,</span> <span class="n">device</span><span class="p">)</span>
<span class="c1"># Load parameters to GPU</span>
<span class="n">params</span> <span class="o">=</span> <span class="p">[</span><span class="n">tvm</span><span class="o">.</span><span class="n">runtime</span><span class="o">.</span><span class="n">tensor</span><span class="p">(</span><span class="n">params_npz</span><span class="p">[</span><span class="sa">f</span><span class="s2">"p_</span><span class="si">{</span><span class="n">i</span><span class="si">}</span><span class="s2">"</span><span class="p">],</span> <span class= [...]
@@ -622,7 +622,7 @@ for a comprehensive guide on:</p>
<span class="c1"># Step 4: Load and run on remote device</span>
<span class="n">lib</span> <span class="o">=</span> <span class="n">remote</span><span class="o">.</span><span class="n">load_module</span><span class="p">(</span><span class="s2">"mlp_arm.so"</span><span class="p">)</span>
-<span class="n">vm</span> <span class="o">=</span> <a href="../../reference/api/python/runtime/vm.html#tvm.runtime.vm.VirtualMachine" title="tvm.runtime.vm.VirtualMachine" class="sphx-glr-backref-module-tvm-runtime-vm sphx-glr-backref-type-py-class"><span class="n">relax</span><span class="o">.</span><span class="n">VirtualMachine</span></a><span class="p">(</span><span class="n">lib</span><span class="p">,</span> <span class="n">remote</span><span class="o">.</span><span class="n">cpu</ [...]
+<span class="n">vm</span> <span class="o">=</span> <a href="../../reference/api/python/relax/relax.html#tvm.relax.VirtualMachine" title="tvm.relax.VirtualMachine" class="sphx-glr-backref-module-tvm-relax sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">relax</span><span class="o">.</span><span class="n">VirtualMachine</span></a><span class="p">(</span><span class="n">lib</span><span class="p">,</span> <span class="n">remote</span><span class="o">.</span><span cla [...]
<span class="c1"># ... prepare input and params, then run inference</span>
</pre></div>
</div>
diff --git a/docs/how_to/tutorials/optimize_llm.html b/docs/how_to/tutorials/optimize_llm.html
index bec87fa5ec5..f34ef275edb 100644
--- a/docs/how_to/tutorials/optimize_llm.html
+++ b/docs/how_to/tutorials/optimize_llm.html
@@ -725,7 +725,7 @@ is designed specifically for the LLMs.</p>
<span class="k">with</span> <a href="../../reference/api/python/target.html#tvm.target.Target" title="tvm.target.Target" class="sphx-glr-backref-module-tvm-target sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">target</span></a><span class="p">:</span>
<a href="../../reference/api/python/relax/relax.html#tvm.relax.VMExecutable" title="tvm.relax.VMExecutable" class="sphx-glr-backref-module-tvm-relax sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">ex</span></a> <span class="o">=</span> <a href="../../reference/api/python/driver.html#tvm.compile" title="tvm.compile" class="sphx-glr-backref-module-tvm sphx-glr-backref-type-py-function"><span class="n">tvm</span><span class="o">.</span><span class="n">compile</ [...]
- <a href="../../reference/api/python/runtime/vm.html#tvm.runtime.vm.VirtualMachine" title="tvm.runtime.vm.VirtualMachine" class="sphx-glr-backref-module-tvm-runtime-vm sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">vm</span></a> <span class="o">=</span> <a href="../../reference/api/python/runtime/vm.html#tvm.runtime.vm.VirtualMachine" title="tvm.runtime.vm.VirtualMachine" class="sphx-glr-backref-module-tvm-runtime-vm sphx-glr-backref-type-py-class"><span cla [...]
+ <span class="n">vm</span> <span class="o">=</span> <a href="../../reference/api/python/relax/relax.html#tvm.relax.VirtualMachine" title="tvm.relax.VirtualMachine" class="sphx-glr-backref-module-tvm-relax sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">relax</span><span class="o">.</span><span class="n">VirtualMachine</span></a><span class="p">(</span><a href="../../reference/api/python/relax/relax.html#tvm.relax.VMExecutable" title="tvm.relax.VMExecutable" c [...]
</pre></div>
</div>
</section>
@@ -823,7 +823,7 @@ the model documentation for the correct tokenization and prompt format.</p>
key and value tensors for the attention layer. Apache TVM provides a PagedKVCache to store the
key and value tensors. We create the PagedKVCache with the specified parameters.</p>
<div class="highlight-Python notranslate"><div class="highlight"><pre><span></span><span class="k">if</span> <span class="ow">not</span> <a href="https://docs.python.org/3/library/functions.html#bool" title="builtins.bool" class="sphx-glr-backref-module-builtins sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">IS_IN_CI</span></a><span class="p">:</span>
- <span class="n">kv_cache</span> <span class="o">=</span> <a href="../../reference/api/python/runtime/vm.html#tvm.runtime.vm.VirtualMachine" title="tvm.runtime.vm.VirtualMachine" class="sphx-glr-backref-module-tvm-runtime-vm sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">vm</span></a><span class="p">[</span><span class="s2">"create_tir_paged_kv_cache"</span><span class="p">](</span>
+ <span class="n">kv_cache</span> <span class="o">=</span> <span class="n">vm</span><span class="p">[</span><span class="s2">"create_tir_paged_kv_cache"</span><span class="p">](</span>
<a href="https://docs.python.org/3/library/stdtypes.html#tuple" title="builtins.tuple" class="sphx-glr-backref-module-builtins sphx-glr-backref-type-py-class"><span class="n">ShapeTuple</span></a><span class="p">([</span><span class="mi">1</span><span class="p">]),</span> <span class="c1"># max_batch_size=1</span>
<a href="https://docs.python.org/3/library/stdtypes.html#tuple" title="builtins.tuple" class="sphx-glr-backref-module-builtins sphx-glr-backref-type-py-class"><span class="n">ShapeTuple</span></a><span class="p">([</span><span class="mi">2048</span><span class="p">]),</span> <span class="c1"># max_total_seq_len=2048</span>
<a href="https://docs.python.org/3/library/stdtypes.html#tuple" title="builtins.tuple" class="sphx-glr-backref-module-builtins sphx-glr-backref-type-py-class"><span class="n">ShapeTuple</span></a><span class="p">([</span><span class="mi">2048</span><span class="p">]),</span> <span class="c1"># prefill_chunk_size=2048</span>
@@ -840,7 +840,7 @@ compiled in the Relax IRModule to embed the tokens into the hidden states.</p>
<span class="k">def</span><span class="w"> </span><span class="nf">embed</span><span class="p">(</span><span class="n">tokens</span><span class="p">,</span> <span class="n">params</span><span class="p">):</span>
- <span class="n">_embed</span> <span class="o">=</span> <a href="../../reference/api/python/runtime/vm.html#tvm.runtime.vm.VirtualMachine" title="tvm.runtime.vm.VirtualMachine" class="sphx-glr-backref-module-tvm-runtime-vm sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">vm</span></a><span class="p">[</span><span class="s2">"embed"</span><span class="p">](</span><span class="n">tokens</span><span class="p">,</span> <span class="n">params</span><span [...]
+ <span class="n">_embed</span> <span class="o">=</span> <span class="n">vm</span><span class="p">[</span><span class="s2">"embed"</span><span class="p">](</span><span class="n">tokens</span><span class="p">,</span> <span class="n">params</span><span class="p">)</span>
<span class="c1"># Reshape hidden from [seq_len, hidden_size] to [1, seq_len, hidden_size]</span>
<span class="n">_embed</span> <span class="o">=</span> <span class="n">nd_view_func</span><span class="p">(</span><span class="n">_embed</span><span class="p">,</span> <a href="https://docs.python.org/3/library/stdtypes.html#tuple" title="builtins.tuple" class="sphx-glr-backref-module-builtins sphx-glr-backref-type-py-class"><span class="n">ShapeTuple</span></a><span class="p">([</span><span class="mi">1</span><span class="p">,</span> <span class="n">_embed</span><span class="o">.</s [...]
<span class="k">return</span> <span class="n">_embed</span>
@@ -863,7 +863,7 @@ and <cite>end_forward_func</cite> to end the forward pass.</p>
<span class="n">add_sequence_func</span><span class="p">(</span><span class="n">kv_cache</span><span class="p">,</span> <span class="n">seq_id</span><span class="p">)</span>
<span class="n">hidden_states</span> <span class="o">=</span> <span class="n">embed</span><span class="p">(</span><span class="n">tokens</span><span class="p">,</span> <span class="n">params</span><span class="p">)</span>
<span class="n">begin_forward_func</span><span class="p">(</span><span class="n">kv_cache</span><span class="p">,</span> <a href="https://docs.python.org/3/library/stdtypes.html#tuple" title="builtins.tuple" class="sphx-glr-backref-module-builtins sphx-glr-backref-type-py-class"><span class="n">ShapeTuple</span></a><span class="p">([</span><span class="n">seq_id</span><span class="p">]),</span> <a href="https://docs.python.org/3/library/stdtypes.html#tuple" title="builtins.tuple" cla [...]
- <span class="n">logits</span><span class="p">,</span> <span class="n">kv_cache</span> <span class="o">=</span> <a href="../../reference/api/python/runtime/vm.html#tvm.runtime.vm.VirtualMachine" title="tvm.runtime.vm.VirtualMachine" class="sphx-glr-backref-module-tvm-runtime-vm sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">vm</span></a><span class="p">[</span><span class="s2">"prefill"</span><span class="p">](</span><span class="n">hidden_states</ [...]
+ <span class="n">logits</span><span class="p">,</span> <span class="n">kv_cache</span> <span class="o">=</span> <span class="n">vm</span><span class="p">[</span><span class="s2">"prefill"</span><span class="p">](</span><span class="n">hidden_states</span><span class="p">,</span> <span class="n">kv_cache</span><span class="p">,</span> <span class="n">params</span><span class="p">)</span>
<span class="n">end_forward_func</span><span class="p">(</span><span class="n">kv_cache</span><span class="p">)</span>
</pre></div>
</div>
@@ -895,7 +895,7 @@ IRModule to generate the token.</p>
<span class="n">tokens</span> <span class="o">=</span> <span class="n">tvm</span><span class="o">.</span><span class="n">runtime</span><span class="o">.</span><span class="n">tensor</span><span class="p">(</span><span class="n">np</span><span class="o">.</span><span class="n">array</span><span class="p">([</span><span class="n">last_token</span><span class="p">])</span><span class="o">.</span><span class="n">astype</span><span class="p">(</span><span class="s2">"int32"< [...]
<span class="n">hidden_states</span> <span class="o">=</span> <span class="n">embed</span><span class="p">(</span><span class="n">tokens</span><span class="p">,</span> <span class="n">params</span><span class="p">)</span>
<span class="n">begin_forward_func</span><span class="p">(</span><span class="n">kv_cache</span><span class="p">,</span> <a href="https://docs.python.org/3/library/stdtypes.html#tuple" title="builtins.tuple" class="sphx-glr-backref-module-builtins sphx-glr-backref-type-py-class"><span class="n">ShapeTuple</span></a><span class="p">([</span><span class="n">seq_id</span><span class="p">]),</span> <a href="https://docs.python.org/3/library/stdtypes.html#tuple" title="builtins.tuple" [...]
- <span class="n">logits</span><span class="p">,</span> <span class="n">kv_cache</span> <span class="o">=</span> <a href="../../reference/api/python/runtime/vm.html#tvm.runtime.vm.VirtualMachine" title="tvm.runtime.vm.VirtualMachine" class="sphx-glr-backref-module-tvm-runtime-vm sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">vm</span></a><span class="p">[</span><span class="s2">"decode"</span><span class="p">](</span><span class="n">hidden_state [...]
+ <span class="n">logits</span><span class="p">,</span> <span class="n">kv_cache</span> <span class="o">=</span> <span class="n">vm</span><span class="p">[</span><span class="s2">"decode"</span><span class="p">](</span><span class="n">hidden_states</span><span class="p">,</span> <span class="n">kv_cache</span><span class="p">,</span> <span class="n">params</span><span class="p">)</span>
<span class="n">end_forward_func</span><span class="p">(</span><span class="n">kv_cache</span><span class="p">)</span>
<span class="n">last_token</span> <span class="o">=</span> <span class="n">sample_token</span><span class="p">(</span><span class="n">logits</span><span class="p">)</span>
diff --git a/docs/how_to/tutorials/sg_execution_times.html b/docs/how_to/tutorials/sg_execution_times.html
index bfd41af60c5..f6cc2c63786 100644
--- a/docs/how_to/tutorials/sg_execution_times.html
+++ b/docs/how_to/tutorials/sg_execution_times.html
@@ -294,7 +294,7 @@
<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="Link to this heading"></a></h1>
-<p><strong>00:30.404</strong> total execution time for 5 files <strong>from how_to/tutorials</strong>:</p>
+<p><strong>00:29.857</strong> total execution time for 5 files <strong>from how_to/tutorials</strong>:</p>
<div class="docutils container">
<style scoped>
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/5.3.0/css/bootstrap.min.css" rel="stylesheet" />
@@ -316,19 +316,19 @@ $(document).ready( function () {
</thead>
<tbody>
<tr class="row-even"><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>00:28.466</p></td>
+<td><p>00:28.125</p></td>
<td><p>0.0</p></td>
</tr>
<tr class="row-odd"><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.816</p></td>
+<td><p>00:00.699</p></td>
<td><p>0.0</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.629</p></td>
+<td><p>00:00.553</p></td>
<td><p>0.0</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.491</p></td>
+<td><p>00:00.478</p></td>
<td><p>0.0</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="export_and_load_executable.html#sphx-glr-how-to-tutorials-export-and-load-executable-py"><span class="std std-ref">Export and Load Relax Executables</span></a> (<code class="docutils literal notranslate"><span class="pre">export_and_load_executable.py</span></code>)</p></td>
diff --git a/docs/objects.inv b/docs/objects.inv
index fefe8b800e8..22922704fa8 100644
Binary files a/docs/objects.inv and b/docs/objects.inv differ
diff --git a/docs/reference/api/python/relax/relax.html b/docs/reference/api/python/relax/relax.html
index e983311a7cc..b83ac78bbbf 100644
--- a/docs/reference/api/python/relax/relax.html
+++ b/docs/reference/api/python/relax/relax.html
@@ -2625,7 +2625,7 @@ Python functions stored in the IRModule’s pyfuncs attribute.</p>
<dl class="py function">
<dt class="sig sig-object py" id="tvm.relax.build">
-<span class="sig-prename descclassname"><span class="pre">tvm.relax.</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">mod</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="../ir.html#tvm.ir.IRModule" title="tvm.ir.module.IRModule"><span class="pre">IRModule</span></a></span></em>, < [...]
+<span class="sig-prename descclassname"><span class="pre">tvm.relax.</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">mod</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="../ir.html#tvm.ir.IRModule" title="tvm.ir.module.IRModule"><span class="pre">IRModule</span></a></span></em>, < [...]
<dd><p>Build an IRModule to VM executable.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
diff --git a/docs/reference/api/python/runtime/vm.html b/docs/reference/api/python/runtime/vm.html
index cc0529d1bd7..a2b27a47fd3 100644
--- a/docs/reference/api/python/runtime/vm.html
+++ b/docs/reference/api/python/runtime/vm.html
@@ -490,7 +490,7 @@ more details.</p>
<div class="admonition seealso">
<p class="admonition-title">See also</p>
<dl class="simple">
-<dt><a class="reference internal" href="#tvm.runtime.vm.VMInstrumentReturnKind" title="tvm.runtime.vm.VMInstrumentReturnKind"><code class="xref py py-obj docutils literal notranslate"><span class="pre">VMInstrumentReturnKind</span></code></a></dt><dd><p>the possible return values in VM.</p>
+<dt><a class="reference internal" href="../relax/relax.html#tvm.relax.VMInstrumentReturnKind" title="tvm.runtime.vm.VMInstrumentReturnKind"><code class="xref py py-obj docutils literal notranslate"><span class="pre">VMInstrumentReturnKind</span></code></a></dt><dd><p>the possible return values in VM.</p>
</dd>
</dl>
</div>
diff --git a/docs/reference/api/typedoc/classes/ArtifactCache.html b/docs/reference/api/typedoc/classes/ArtifactCache.html
index dcc71a397c1..69faa3ddb14 100644
--- a/docs/reference/api/typedoc/classes/ArtifactCache.html
+++ b/docs/reference/api/typedoc/classes/ArtifactCache.html
@@ -1,11 +1,11 @@
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>ArtifactCache | tvmjs</title><meta name="description" content="Documentation for tvmjs"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets [...]
-</div></section><section class="tsd-panel"><h4>Implements</h4><ul class="tsd-hierarchy"><li><a href="../interfaces/ArtifactCacheTemplate.html" class="tsd-signature-type tsd-kind-interface">ArtifactCacheTemplate</a></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/artifact_cache.ts#L90">artifact_cache.ts:90</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><sect [...]
+</div></section><section class="tsd-panel"><h4>Implements</h4><ul class="tsd-hierarchy"><li><a href="../interfaces/ArtifactCacheTemplate.html" class="tsd-signature-type tsd-kind-interface">ArtifactCacheTemplate</a></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/artifact_cache.ts#L90">artifact_cache.ts:90</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><sect [...]
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="#addtocache" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>To<wbr/>Cache</span></a>
<a href="#deleteincache" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>delete<wbr/>In<wbr/>Cache</span></a>
<a href="#fetchwithcache" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>fetch<wbr/>With<wbr/>Cache</span></a>
<a href="#hasallkeys" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>has<wbr/>All<wbr/>Keys</span></a>
<a href="#responsetostoretype" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>response<wbr/>Tostoretype</span></a>
-</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#con [...]
+</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#con [...]
<ul>
<li></li>
</ul>
@@ -22,15 +22,15 @@ data rather than a request, we specify <code>storagetype</code>. There are two o
<ul>
<li>Note: This is an async function.</li>
</ul>
-</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/ArtifactCacheTemplate.html">ArtifactCacheTemplate</a>.<a href="../interfaces/ArtifactCacheTemplate.html#addtocache">addToCache</a></p><ul><li>Defined in <a href="https://git [...]
+</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/ArtifactCacheTemplate.html">ArtifactCacheTemplate</a>.<a href="../interfaces/ArtifactCacheTemplate.html#addtocache">addToCache</a></p><ul><li>Defined in <a href="https://git [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">url</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>the corresponding url object to be deleted</p>
-</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/ArtifactCacheTemplate.html">ArtifactCacheTemplate</a>.<a href="../interfaces/ArtifactCacheTemplate.html#deleteincache">deleteInCache</a></p><ul><li>Defined in <a href="https [...]
+</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/ArtifactCacheTemplate.html">ArtifactCacheTemplate</a>.<a href="../interfaces/ArtifactCacheTemplate.html#deleteincache">deleteInCache</a></p><ul><li>Defined in <a href="https [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">url</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>url</p>
</div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">storetype</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>the storage type for indexedDB</p>
</div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">signal</span>: <span class="tsd-signature-type">AbortSignal</span></span><div class="tsd-comment tsd-typography"><p>an optional abort signal to abort fetching</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></h4><p>response in json, arraybuffer or pure response format</p>
-<aside class="tsd-sources"><p>Implementation of <a href="../interfaces/ArtifactCacheTemplate.html">ArtifactCacheTemplate</a>.<a href="../interfaces/ArtifactCacheTemplate.html#fetchwithcache">fetchWithCache</a></p><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/artifact_cache.ts#L121">artifact_cache.ts:121</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="hasa [...]
+<aside class="tsd-sources"><p>Implementation of <a href="../interfaces/ArtifactCacheTemplate.html">ArtifactCacheTemplate</a>.<a href="../interfaces/ArtifactCacheTemplate.html#fetchwithcache">fetchWithCache</a></p><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/artifact_cache.ts#L121">artifact_cache.ts:121</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="hasa [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">keys</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>the url key list of the strings</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span></h4><p>boolean value indicate if all keys are in cache</p>
-<aside class="tsd-sources"><p>Implementation of <a href="../interfaces/ArtifactCacheTemplate.html">ArtifactCacheTemplate</a>.<a href="../interfaces/ArtifactCacheTemplate.html#hasallkeys">hasAllKeys</a></p><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/artifact_cache.ts#L147">artifact_cache.ts:147</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="responsetost [...]
-</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">response</span>: <span class="tsd-signature-type">Response</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">storetype</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span c [...]
+<aside class="tsd-sources"><p>Implementation of <a href="../interfaces/ArtifactCacheTemplate.html">ArtifactCacheTemplate</a>.<a href="../interfaces/ArtifactCacheTemplate.html#hasallkeys">hasAllKeys</a></p><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/artifact_cache.ts#L147">artifact_cache.ts:147</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="responsetost [...]
+</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">response</span>: <span class="tsd-signature-type">Response</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">storetype</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span c [...]
diff --git a/docs/reference/api/typedoc/classes/ArtifactIndexedDBCache.html b/docs/reference/api/typedoc/classes/ArtifactIndexedDBCache.html
index 8aba6a48993..4afcbb25fb7 100644
--- a/docs/reference/api/typedoc/classes/ArtifactIndexedDBCache.html
+++ b/docs/reference/api/typedoc/classes/ArtifactIndexedDBCache.html
@@ -1,12 +1,12 @@
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>ArtifactIndexedDBCache | tvmjs</title><meta name="description" content="Documentation for tvmjs"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src=" [...]
-</div></section><section class="tsd-panel"><h4>Implements</h4><ul class="tsd-hierarchy"><li><a href="../interfaces/ArtifactCacheTemplate.html" class="tsd-signature-type tsd-kind-interface">ArtifactCacheTemplate</a></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/artifact_cache.ts#L172">artifact_cache.ts:172</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><se [...]
+</div></section><section class="tsd-panel"><h4>Implements</h4><ul class="tsd-hierarchy"><li><a href="../interfaces/ArtifactCacheTemplate.html" class="tsd-signature-type tsd-kind-interface">ArtifactCacheTemplate</a></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/artifact_cache.ts#L172">artifact_cache.ts:172</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><se [...]
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="#addtocache" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>To<wbr/>Cache</span></a>
<a href="#addtoindexeddb" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>To<wbr/>Indexed<wbr/>DB</span></a>
<a href="#asyncgethelper" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>async<wbr/>Get<wbr/>Helper</span></a>
<a href="#deleteincache" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>delete<wbr/>In<wbr/>Cache</span></a>
<a href="#fetchwithcache" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>fetch<wbr/>With<wbr/>Cache</span></a>
<a href="#hasallkeys" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>has<wbr/>All<wbr/>Keys</span></a>
-</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#con [...]
+</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#con [...]
<ul>
<li></li>
</ul>
@@ -23,11 +23,11 @@ data rather than a request, we specify <code>storagetype</code>. There are two o
<ul>
<li>Note: This is an async function.</li>
</ul>
-</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/ArtifactCacheTemplate.html">ArtifactCacheTemplate</a>.<a href="../interfaces/ArtifactCacheTemplate.html#addtocache">addToCache</a></p><ul><li>Defined in <a href="https://git [...]
+</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/ArtifactCacheTemplate.html">ArtifactCacheTemplate</a>.<a href="../interfaces/ArtifactCacheTemplate.html#addtocache">addToCache</a></p><ul><li>Defined in <a href="https://git [...]
<ul>
<li>Note: This is an async function.</li>
</ul>
-</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">url</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><p [...]
+</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">url</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><p [...]
cache, fetch the data and then add to cache.</p>
<ul>
<li></li>
@@ -49,8 +49,8 @@ return the actual data object rather than the request. There are two options:</p
<ul>
<li>Note: This is an async function.</li>
</ul>
-<aside class="tsd-sources"><p>Implementation of <a href="../interfaces/ArtifactCacheTemplate.html">ArtifactCacheTemplate</a>.<a href="../interfaces/ArtifactCacheTemplate.html#fetchwithcache">fetchWithCache</a></p><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/artifact_cache.ts#L246">artifact_cache.ts:246</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="hasa [...]
+<aside class="tsd-sources"><p>Implementation of <a href="../interfaces/ArtifactCacheTemplate.html">ArtifactCacheTemplate</a>.<a href="../interfaces/ArtifactCacheTemplate.html#fetchwithcache">fetchWithCache</a></p><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/artifact_cache.ts#L246">artifact_cache.ts:246</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="hasa [...]
<ul>
<li>Note: This is an async function.</li>
</ul>
-</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">keys</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbo [...]
+</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">keys</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbo [...]
diff --git a/docs/reference/api/typedoc/classes/CacheState.html b/docs/reference/api/typedoc/classes/CacheState.html
index 7862e235b15..c47e89e174b 100644
--- a/docs/reference/api/typedoc/classes/CacheState.html
+++ b/docs/reference/api/typedoc/classes/CacheState.html
@@ -24,16 +24,16 @@ that reference the old buffer stale.</li>
</ul>
</li>
</ul>
-</div></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/cache_state.ts#L138">cache_state.ts:138</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden=" [...]
+</div></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/cache_state.ts#L138">cache_state.ts:138</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden=" [...]
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="#shapecache" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>shape<wbr/>Cache</span></a>
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="#dispose" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>dispose</span></a>
<a href="#computeshapekey" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>compute<wbr/>Shape<wbr/>Key</span></a>
-</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#con [...]
+</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#con [...]
<p>Key: comma-separated dimension string, e.g. "1,32,128"
Value: TVM ShapeTuple object (Disposable)</p>
<p>Invalidation rule: None required — shape tuples are immutable.</p>
-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/cache_state.ts#L147">cache_state.ts:147</a></li></ul></aside></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevro [...]
-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/cache_state.ts#L169">cache_state.ts:169</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="computeshapekey"><code class="tsd-tag">Static</code><span>compute<wbr/>Shape<wbr/>Key</span><a href="#c [...]
+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/cache_state.ts#L147">cache_state.ts:147</a></li></ul></aside></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevro [...]
+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/cache_state.ts#L169">cache_state.ts:169</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="computeshapekey"><code class="tsd-tag">Static</code><span>compute<wbr/>Shape<wbr/>Key</span><a href="#c [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">shape</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>Array of dimension values.</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><p>String key suitable for shapeCache lookup.</p>
-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/cache_state.ts#L162">cache_state.ts:162</a></li></ul></aside></div></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use h [...]
+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/cache_state.ts#L162">cache_state.ts:162</a></li></ul></aside></div></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use h [...]
diff --git a/docs/reference/api/typedoc/classes/DLDataType.html b/docs/reference/api/typedoc/classes/DLDataType.html
index 7d8b78071cb..5bb5f08f0e8 100644
--- a/docs/reference/api/typedoc/classes/DLDataType.html
+++ b/docs/reference/api/typedoc/classes/DLDataType.html
@@ -1,11 +1,11 @@
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>DLDataType | tvmjs</title><meta name="description" content="Documentation for tvmjs"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/ic [...]
-</div></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L404">runtime.ts:404</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><u [...]
+</div></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L404">runtime.ts:404</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><u [...]
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="#bits" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>bits</span></a>
<a href="#code" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>code</span></a>
<a href="#lanes" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>lanes</span></a>
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="#numstoragebytes" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>num<wbr/>Storage<wbr/>Bytes</span></a>
<a href="#tostring" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>to<wbr/>String</span></a>
-</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#con [...]
-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L408">runtime.ts:408</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="code"><span>code</span><a href="#code" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-sig [...]
-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L406">runtime.ts:406</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="lanes"><span>lanes</span><a href="#lanes" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd- [...]
-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L410">runtime.ts:410</a></li></ul></aside></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown">< [...]
+</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#con [...]
+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L408">runtime.ts:408</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="code"><span>code</span><a href="#code" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-sig [...]
+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L406">runtime.ts:406</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="lanes"><span>lanes</span><a href="#lanes" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd- [...]
+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L410">runtime.ts:410</a></li></ul></aside></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown">< [...]
diff --git a/docs/reference/api/typedoc/classes/DLDevice.html b/docs/reference/api/typedoc/classes/DLDevice.html
index e153243012f..44f5dd41632 100644
--- a/docs/reference/api/typedoc/classes/DLDevice.html
+++ b/docs/reference/api/typedoc/classes/DLDevice.html
@@ -1,10 +1,10 @@
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>DLDevice | tvmjs</title><meta name="description" content="Documentation for tvmjs"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icon [...]
-</div></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L344">runtime.ts:344</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><u [...]
+</div></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L344">runtime.ts:344</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><u [...]
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="#deviceid" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>device<wbr/>Id</span></a>
<a href="#devicetype" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>device<wbr/>Type</span></a>
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="#sync" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>sync</span></a>
<a href="#tostring" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>to<wbr/>String</span></a>
-</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#con [...]
-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L348">runtime.ts:348</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="devicetype"><span>device<wbr/>Type</span><a href="#devicetype" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a> [...]
-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L346">runtime.ts:346</a></li></ul></aside></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown">< [...]
-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L371">runtime.ts:371</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 [...]
+</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#con [...]
+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L348">runtime.ts:348</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="devicetype"><span>device<wbr/>Type</span><a href="#devicetype" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a> [...]
+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L346">runtime.ts:346</a></li></ul></aside></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown">< [...]
+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L371">runtime.ts:371</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 [...]
diff --git a/docs/reference/api/typedoc/classes/Instance.html b/docs/reference/api/typedoc/classes/Instance.html
index 90b7ab60681..d519f3f5ca2 100644
--- a/docs/reference/api/typedoc/classes/Instance.html
+++ b/docs/reference/api/typedoc/classes/Instance.html
@@ -12,7 +12,7 @@ are not tracked through JS native garbage collection mechanism.</p>
<li><a href="#attachtocurrentscope" class="tsd-kind-method">attachToCurrentScope</a></li>
<li><a href="#detachfromcurrentscope" class="tsd-kind-method">detachFromCurrentScope</a></li>
</ul>
-</div></section><section class="tsd-panel"><h4>Implements</h4><ul class="tsd-hierarchy"><li><a href="../interfaces/Disposable.html" class="tsd-signature-type tsd-kind-interface">Disposable</a></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L851">runtime.ts:851</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-pan [...]
+</div></section><section class="tsd-panel"><h4>Implements</h4><ul class="tsd-hierarchy"><li><a href="../interfaces/Disposable.html" class="tsd-signature-type tsd-kind-interface">Disposable</a></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L851">runtime.ts:851</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-pan [...]
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="#cachemetadata" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>cache<wbr/>Metadata</span></a>
<a href="#exports" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>exports</span></a>
<a href="#memory" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>memory</span></a>
@@ -75,25 +75,25 @@ a WASI object, or an object containing wasmLibraryProvider field.</p>
</div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">wasmInstance</span>: <span class="tsd-signature-type">Instance</span></span><div class="tsd-comment tsd-typography"><p>Additional wasm instance argument for deferred construction.</p>
</div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">env</span>: <a href="_internal_.Environment.html" class="tsd-signature-type tsd-kind-class">Environment</a></span><div class="tsd-comment tsd-typography"><p>Directly specified environment module.</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="" class="tsd-signature-type tsd-kind-class">Instance</a></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-see"><h4 class="tsd-anchor-link" id="see">See<a href="#see" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>Please use the async version <a href="../functions/instantiate.html" class="tsd-kin [...]
-</div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L884">runtime.ts:884</a></li></ul></aside></div></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icon [...]
+</div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L884">runtime.ts:884</a></li></ul></aside></div></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icon [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">logits</span>: <a href="Tensor.html" class="tsd-signature-type tsd-kind-class">Tensor</a></span><div class="tsd-comment tsd-typography"><p>The input logits before penalty.</p>
</div></li><li><span><span class="tsd-kind-parameter">token_ids</span>: <a href="Tensor.html" class="tsd-signature-type tsd-kind-class">Tensor</a></span><div class="tsd-comment tsd-typography"><p>The appeared token ids.</p>
</div></li><li><span><span class="tsd-kind-parameter">token_freqs</span>: <a href="Tensor.html" class="tsd-signature-type tsd-kind-class">Tensor</a></span><div class="tsd-comment tsd-typography"><p>The number of times each token has appeared since last PrefillStep.
token_freqs[i] is the frequency of token_ids[i], for all i. And all token_freqs should be >= 1.</p>
</div></li><li><span><span class="tsd-kind-parameter">presence_penalty</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The penalty factor.</p>
</div></li><li><span><span class="tsd-kind-parameter">frequency_penalty</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The penalty factor.</p>
-</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L1563">runtime.ts:1563</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="applyrepetitionpenalty"><span>apply<wbr/>Repetition<wbr/>Penalty</span><a href="#applyrepetiti [...]
+</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L1563">runtime.ts:1563</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="applyrepetitionpenalty"><span>apply<wbr/>Repetition<wbr/>Penalty</span><a href="#applyrepetiti [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">logits</span>: <a href="Tensor.html" class="tsd-signature-type tsd-kind-class">Tensor</a></span><div class="tsd-comment tsd-typography"><p>The input logits before penalty.</p>
</div></li><li><span><span class="tsd-kind-parameter">token_ids</span>: <a href="Tensor.html" class="tsd-signature-type tsd-kind-class">Tensor</a></span><div class="tsd-comment tsd-typography"><p>The appeared token ids.</p>
</div></li><li><span><span class="tsd-kind-parameter">penalty</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The penalty factor.</p>
-</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L1550">runtime.ts:1550</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="applysoftmaxwithtemperature"><span>apply<wbr/>Softmax<wbr/>With<wbr/>Temperature</span><a href [...]
+</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L1550">runtime.ts:1550</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="applysoftmaxwithtemperature"><span>apply<wbr/>Softmax<wbr/>With<wbr/>Temperature</span><a href [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">logits</span>: <a href="Tensor.html" class="tsd-signature-type tsd-kind-class">Tensor</a></span><div class="tsd-comment tsd-typography"><p>The input logits before softmax w/ temperature.</p>
</div></li><li><span><span class="tsd-kind-parameter">temperature</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The temperature factor.</p>
-</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L1580">runtime.ts:1580</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="asyncifyenabled"><span>asyncify<wbr/>Enabled</span><a href="#asyncifyenabled" aria-label="Perm [...]
+</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L1580">runtime.ts:1580</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="asyncifyenabled"><span>asyncify<wbr/>Enabled</span><a href="#asyncifyenabled" aria-label="Perm [...]
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>The asynctify mode toggle</p>
-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L952">runtime.ts:952</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="asyncloadwebgpupipelines"><span>async<wbr/>Load<wbr/>Web<wbr/>GPU<wbr/>Pipelines</span><a href="#asyncloadwebgpupipelines" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidd [...]
+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L952">runtime.ts:952</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="asyncloadwebgpupipelines"><span>async<wbr/>Load<wbr/>Web<wbr/>GPU<wbr/>Pipelines</span><a href="#asyncloadwebgpupipelines" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidd [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">mod</span>: <a href="Module.html" class="tsd-signature-type tsd-kind-class">Module</a></span><div class="tsd-comment tsd-typography"><p>The input module.</p>
-</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L1811">runtime.ts:1811</a></li></ul></aside></div></li></ul></section><section class="tsd-pane [...]
+</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L1811">runtime.ts:1811</a></li></ul></aside></div></li></ul></section><section class="tsd-pane [...]
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span id="attachtocurrentscopet"><span class="tsd-kind-type-parameter">T</span> <span class="tsd-signature-keyword">extends</span> <a href="../interfaces/Disposable.html" class="tsd-signature-type tsd-kind-interface">Disposable</a></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kin [...]
<ul>
<li>Note: Normally user do not need to call this function explicitly, as
@@ -101,8 +101,8 @@ all library call return values are explicitly attached to
the current scope. You only need to do so when you call
<a href="#detachfromcurrentscope" class="tsd-kind-method">detachFromCurrentScope</a> to create a detached object.</li>
</ul>
-</div></li></ul></div><h4 class="tsd-returns-title">Returns <a class="tsd-signature-type tsd-kind-type-parameter" href="#attachtocurrentscopet">T</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L1022">runtime.ts:1022</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="beginscope"><span>begin<wbr/>Scope</span><a href [...]
-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L981">runtime.ts:981</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="benchmark"><span>benchmark</span><a href="#benchmark" aria-label="Permalink" class="tsd-anchor-icon"><svg viewB [...]
+</div></li></ul></div><h4 class="tsd-returns-title">Returns <a class="tsd-signature-type tsd-kind-type-parameter" href="#attachtocurrentscopet">T</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L1022">runtime.ts:1022</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="beginscope"><span>begin<wbr/>Scope</span><a href [...]
+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L981">runtime.ts:981</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="benchmark"><span>benchmark</span><a href="#benchmark" aria-label="Permalink" class="tsd-anchor-icon"><svg viewB [...]
<ul>
<li></li>
</ul>
@@ -113,77 +113,77 @@ the current scope. You only need to do so when you call
</div></li><li><span><span class="tsd-kind-parameter">number</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 10</span></span><div class="tsd-comment tsd-typography"><p>The number of times to compute the average.
*</p>
</div></li><li><span><span class="tsd-kind-parameter">repeat</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 1</span></span><div class="tsd-comment tsd-typography"><p>The number of times to repeat the run.</p>
-</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L927">runtime.ts:927</a></li></ul></aside></div> [...]
+</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L927">runtime.ts:927</a></li></ul></aside></div> [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">canvas</span>: <span class="tsd-signature-type">HTMLCanvasElement</span></span><div class="tsd-comment tsd-typography"><p>The canvas.</p>
-</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L1588">runtime.ts:1588</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="clearcanvas"><span>clear<wbr/>Canvas</span><a href="#clearcanvas" aria-label="Permalink" clas [...]
-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L1619">runtime.ts:1619</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="concatembeddings"><span>concat<wbr/>Embeddings</span><a href="#concatembeddings" aria-label="Permalink" class [...]
+</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L1588">runtime.ts:1588</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="clearcanvas"><span>clear<wbr/>Canvas</span><a href="#clearcanvas" aria-label="Permalink" clas [...]
+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L1619">runtime.ts:1619</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="concatembeddings"><span>concat<wbr/>Embeddings</span><a href="#concatembeddings" aria-label="Permalink" class [...]
*</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">embeddings</span>: <a href="Tensor.html" class="tsd-signature-type tsd-kind-class">Tensor</a><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>A list of embeddings in Tensors, each array i has shape (m_i, hidden_size).</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="Tensor.html" class="tsd-signature-type tsd-kind-class">Tensor</a></h4><p>An Tensor of shape (\sum_{i} {m}, hidden_size)</p>
-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L1656">runtime.ts:1656</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="cpu"><span>cpu</span><a href="#cpu" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class= [...]
+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L1656">runtime.ts:1656</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="cpu"><span>cpu</span><a href="#cpu" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class= [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">deviceId</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></span><div class="tsd-comment tsd-typography"><p>The device index.</p>
-</div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="DLDevice.html" class="tsd-signature-type tsd-kind-class">DLDevice</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L1458">runtime.ts:1458</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="createvirtualmachine"><span>create<wbr/>Virtual<wbr/>Machin [...]
+</div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="DLDevice.html" class="tsd-signature-type tsd-kind-class">DLDevice</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L1458">runtime.ts:1458</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="createvirtualmachine"><span>create<wbr/>Virtual<wbr/>Machin [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">dev</span>: <a href="DLDevice.html" class="tsd-signature-type tsd-kind-class">DLDevice</a></span><div class="tsd-comment tsd-typography"><p>DLDevice the device.</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="VirtualMachine.html" class="tsd-signature-type tsd-kind-class">VirtualMachine</a></h4><p>The created virtual machime.</p>
-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L1173">runtime.ts:1173</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="detachfromcurrentscope"><span>detach<wbr/>From<wbr/>Current<wbr/>Scope</span><a href="#detachfromcurrentscope" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"> [...]
+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L1173">runtime.ts:1173</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="detachfromcurrentscope"><span>detach<wbr/>From<wbr/>Current<wbr/>Scope</span><a href="#detachfromcurrentscope" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"> [...]
so it won't be released via auto-release during endscope.</p>
<p>User needs to either explicitly call obj.dispose(), or
<a href="#attachtocurrentscope" class="tsd-kind-method">attachToCurrentScope</a> to re-attach to the current scope.</p>
<p>This function can be used to return values to the parent scope.</p>
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span id="detachfromcurrentscopet"><span class="tsd-kind-type-parameter">T</span> <span class="tsd-signature-keyword">extends</span> <a href="../interfaces/Disposable.html" class="tsd-signature-type tsd-kind-interface">Disposable</a></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-k [...]
-</div></li></ul></div><h4 class="tsd-returns-title">Returns <a class="tsd-signature-type tsd-kind-type-parameter" href="#detachfromcurrentscopet">T</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L1049">runtime.ts:1049</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="device"><span>device</span><a href="#device" a [...]
+</div></li></ul></div><h4 class="tsd-returns-title">Returns <a class="tsd-signature-type tsd-kind-type-parameter" href="#detachfromcurrentscopet">T</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L1049">runtime.ts:1049</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="device"><span>device</span><a href="#device" a [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">deviceType</span>: <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The device type.</p>
</div></li><li><span><span class="tsd-kind-parameter">deviceId</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></span><div class="tsd-comment tsd-typography"><p>The device index.</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="DLDevice.html" class="tsd-signature-type tsd-kind-class">DLDevice</a></h4><p>The created device.</p>
-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L1450">runtime.ts:1450</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="dispose"><span>dispose</span><a href="#dispose" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h [...]
+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L1450">runtime.ts:1450</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="dispose"><span>dispose</span><a href="#dispose" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h [...]
This function can be called multiple times,
only the first call will take effect.</p>
-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/Disposable.html">Disposable</a>.<a href="../interfaces/Disposable.html#dispose">dispose</a></p><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L956">runtime.ts:956</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 [...]
+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/Disposable.html">Disposable</a>.<a href="../interfaces/Disposable.html#dispose">dispose</a></p><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L956">runtime.ts:956</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">shape</span>: <span class="tsd-signature-type">number</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>The shape of the array.</p>
</div></li><li><span><span class="tsd-kind-parameter">dtype</span>: <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <a href="DLDataType.html" class="tsd-signature-type tsd-kind-class">DLDataType</a><span class="tsd-signature-symbol"> = "float32"</span></span><div class="tsd-comment tsd-typography"><p>The data type of the array.</p>
</div></li><li><span><span class="tsd-kind-parameter">dev</span>: <a href="DLDevice.html" class="tsd-signature-type tsd-kind-class">DLDevice</a><span class="tsd-signature-symbol"> = ...</span></span><div class="tsd-comment tsd-typography"><p>The device of the ndarray.</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="Tensor.html" class="tsd-signature-type tsd-kind-class">Tensor</a></h4><p>The created ndarray.</p>
-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L1478">runtime.ts:1478</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="endscope"><span>end<wbr/>Scope</span><a href="#endscope" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></sv [...]
+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L1478">runtime.ts:1478</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="endscope"><span>end<wbr/>Scope</span><a href="#endscope" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></sv [...]
under the current scope.</p>
<p>Exception: one can call <a href="#movetoparentscope" class="tsd-kind-method">moveToParentScope</a> to move
a value to parent scope.</p>
-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L992">runtime.ts:992</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="fetchtensorcache"><span>fetch<wbr/>Tensor<wbr/>Cache</span><a href="#fetchtensorcache" aria-label="Permalink" c [...]
+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L992">runtime.ts:992</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="fetchtensorcache"><span>fetch<wbr/>Tensor<wbr/>Cache</span><a href="#fetchtensorcache" aria-label="Permalink" c [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">tensorCacheUrl</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The cache url.</p>
</div></li><li><span><span class="tsd-kind-parameter">device</span>: <a href="DLDevice.html" class="tsd-signature-type tsd-kind-class">DLDevice</a></span><div class="tsd-comment tsd-typography"><p>The device to be fetched to.</p>
</div></li><li><span><span class="tsd-kind-parameter">cacheScope</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = "tvmjs"</span></span><div class="tsd-comment tsd-typography"><p>The scope identifier of the cache</p>
</div></li><li><span><span class="tsd-kind-parameter">cacheType</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = "cache"</span></span><div class="tsd-comment tsd-typography"><p>The type of the cache: "cache" or "indexedDB"</p>
</div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">signal</span>: <span class="tsd-signature-type">AbortSignal</span></span><div class="tsd-comment tsd-typography"><p>An optional AbortSignal to abort the fetch</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></h4><p>The meta data</p>
-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L1260">runtime.ts:1260</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getglobalfunc"><span>get<wbr/>Global<wbr/>Func</span><a href="#getglobalfunc" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#ic [...]
+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L1260">runtime.ts:1260</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getglobalfunc"><span>get<wbr/>Global<wbr/>Func</span><a href="#getglobalfunc" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#ic [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">name</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The name of the function.</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="../types/PackedFunc.html" class="tsd-signature-type tsd-kind-type-alias">PackedFunc</a></h4><p>The result function.</p>
-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L1112">runtime.ts:1112</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getparamsfromcache"><span>get<wbr/>Params<wbr/>From<wbr/>Cache</span><a href="#getparamsfromcache" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href=". [...]
+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L1112">runtime.ts:1112</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getparamsfromcache"><span>get<wbr/>Params<wbr/>From<wbr/>Cache</span><a href="#getparamsfromcache" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href=". [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">prefix</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The parameter prefix.</p>
</div></li><li><span><span class="tsd-kind-parameter">numParams</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>Number of parameters.</p>
-</div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="TVMObject.html" class="tsd-signature-type tsd-kind-class">TVMObject</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L1201">runtime.ts:1201</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getparamsfromcachebyname"><span>get<wbr/>Params<wbr/>From [...]
+</div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="TVMObject.html" class="tsd-signature-type tsd-kind-class">TVMObject</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L1201">runtime.ts:1201</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getparamsfromcachebyname"><span>get<wbr/>Params<wbr/>From [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">paramNames</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>Names of the parameters.</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="TVMObject.html" class="tsd-signature-type tsd-kind-class">TVMObject</a></h4><p>Parameters read.</p>
-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L1212">runtime.ts:1212</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="initwebgpu"><span>init<wbr/>Web<wbr/>GPU</span><a href="#initwebgpu" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor [...]
+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L1212">runtime.ts:1212</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="initwebgpu"><span>init<wbr/>Web<wbr/>GPU</span><a href="#initwebgpu" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">device</span>: <span class="tsd-signature-type">GPUDevice</span></span><div class="tsd-comment tsd-typography"><p>The given GPU device.</p>
-</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L1874">runtime.ts:1874</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="ispackedfunc"><span>is<wbr/>Packed<wbr/>Func</span><a href="#ispackedfunc" aria-label="Permal [...]
+</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L1874">runtime.ts:1874</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="ispackedfunc"><span>is<wbr/>Packed<wbr/>Func</span><a href="#ispackedfunc" aria-label="Permal [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">func</span>: <span class="tsd-signature-type">unknown</span></span><div class="tsd-comment tsd-typography"><p>The input.</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>The check result.</p>
-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L1146">runtime.ts:1146</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="listglobalfuncnames"><span>list<wbr/>Global<wbr/>Func<wbr/>Names</span><a href="#listglobalfuncnames" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href [...]
+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L1146">runtime.ts:1146</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="listglobalfuncnames"><span>list<wbr/>Global<wbr/>Func<wbr/>Names</span><a href="#listglobalfuncnames" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href [...]
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h4><p>The name list.</p>
-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L1065">runtime.ts:1065</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="makeshapetuple"><span>make<wbr/>Shape<wbr/>Tuple</span><a href="#makeshapetuple" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg [...]
+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L1065">runtime.ts:1065</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="makeshapetuple"><span>make<wbr/>Shape<wbr/>Tuple</span><a href="#makeshapetuple" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">shape</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>The shape .</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="TVMObject.html" class="tsd-signature-type tsd-kind-class">TVMObject</a></h4><p>The created shape tuple.</p>
-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L1680">runtime.ts:1680</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="maketvmarray"><span>make<wbr/>TVM<wbr/>Array</span><a href="#maketvmarray" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon- [...]
+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L1680">runtime.ts:1680</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="maketvmarray"><span>make<wbr/>TVM<wbr/>Array</span><a href="#maketvmarray" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon- [...]
<p>The input array can be passed to tvm runtime function
and needs to b explicitly disposed.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">inputs</span>: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>The input array</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="TVMArray.html" class="tsd-signature-type tsd-kind-class">TVMArray</a></h4><p>The result array.</p>
-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L1632">runtime.ts:1632</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="movetoparentscope"><span>move<wbr/>To<wbr/>Parent<wbr/>Scope</span><a href="#movetoparentscope" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../a [...]
+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L1632">runtime.ts:1632</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="movetoparentscope"><span>move<wbr/>To<wbr/>Parent<wbr/>Scope</span><a href="#movetoparentscope" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../a [...]
<p>This function is useful to make sure objects are still
alive when exit the current scope.</p>
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span id="movetoparentscopet"><span class="tsd-kind-type-parameter">T</span> <span class="tsd-signature-keyword">extends</span> <a href="../interfaces/Disposable.html" class="tsd-signature-type tsd-kind-interface">Disposable</a></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-p [...]
</div></li></ul></div><h4 class="tsd-returns-title">Returns <a class="tsd-signature-type tsd-kind-type-parameter" href="#movetoparentscopet">T</a></h4><p>The input obj.</p>
-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L1035">runtime.ts:1035</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="registerasyncifyfunc"><span>register<wbr/>Asyncify<wbr/>Func</span><a href="#registerasyncifyfunc" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href=". [...]
+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L1035">runtime.ts:1035</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="registerasyncifyfunc"><span>register<wbr/>Asyncify<wbr/>Func</span><a href="#registerasyncifyfunc" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href=". [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">name</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The name of the function.</p>
</div></li><li><span><span class="tsd-kind-parameter">func</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">Promise</span><span class="tsd-signat [...]
</div></li><li><span><span class="tsd-kind-parameter">override</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span><div class="tsd-comment tsd-typography"><p>Whether overwrite function in existing registry.</p>
@@ -191,7 +191,7 @@ alive when exit the current scope.</p>
<li>Note: This function is handled via asynctify mechanism.
The wasm needs to be compiled with Asynctify</li>
</ul>
-</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L1765">runtime.ts:1765</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="registerasyncserverfunc"><span>register<wbr/>Async<wbr/>Server<wbr/>Func</span><a href="#regi [...]
+</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L1765">runtime.ts:1765</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="registerasyncserverfunc"><span>register<wbr/>Async<wbr/>Server<wbr/>Func</span><a href="#regi [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">name</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The name of the function.</p>
</div></li><li><span><span class="tsd-kind-parameter">func</span>: <span class="tsd-signature-type">Function</span></span><div class="tsd-comment tsd-typography"><p>function to be registered.</p>
</div></li><li><span><span class="tsd-kind-parameter">override</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span><div class="tsd-comment tsd-typography"><p>Whether overwrite function in existing registry.</p>
@@ -199,32 +199,32 @@ The wasm needs to be compiled with Asynctify</li>
<li>Note: The async function will only be used for serving remote calls in the rpc.
These functions contains explicit continuation</li>
</ul>
-</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L1784">runtime.ts:1784</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="registerfunc"><span>register<wbr/>Func</span><a href="#registerfunc" aria-label="Permalink" c [...]
+</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L1784">runtime.ts:1784</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="registerfunc"><span>register<wbr/>Func</span><a href="#registerfunc" aria-label="Permalink" c [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">name</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The name of the function.
*</p>
</div></li><li><span><span class="tsd-kind-parameter">func</span>: <span class="tsd-signature-type">Function</span> <span class="tsd-signature-symbol">|</span> <a href="../types/PackedFunc.html" class="tsd-signature-type tsd-kind-type-alias">PackedFunc</a></span><div class="tsd-comment tsd-typography"><p>Function to be registered.</p>
</div></li><li><span><span class="tsd-kind-parameter">override</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span><div class="tsd-comment tsd-typography"><p>Whether overwrite function in existing registry.</p>
-</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L1082">runtime.ts:1082</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="registerinitprogresscallback"><span>register<wbr/>Init<wbr/>Progress<wbr/>Callback</span><a h [...]
+</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L1082">runtime.ts:1082</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="registerinitprogresscallback"><span>register<wbr/>Init<wbr/>Progress<wbr/>Callback</span><a h [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">cb</span>: <a href="../types/InitProgressCallback.html" class="tsd-signature-type tsd-kind-type-alias">InitProgressCallback</a></span><div class="tsd-comment tsd-typography"><p>the fetch progress callback.</p>
-</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L1190">runtime.ts:1190</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="registerobjectconstructor"><span>register<wbr/>Object<wbr/>Constructor</span><a href="#regist [...]
+</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L1190">runtime.ts:1190</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="registerobjectconstructor"><span>register<wbr/>Object<wbr/>Constructor</span><a href="#regist [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">typeKey</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The name of the function.</p>
</div></li><li><span><span class="tsd-kind-parameter">func</span>: <a href="../types/_internal_.FObjectConstructor.html" class="tsd-signature-type tsd-kind-type-alias">FObjectConstructor</a></span><div class="tsd-comment tsd-typography"><p>Function to be registered.</p>
</div></li><li><span><span class="tsd-kind-parameter">override</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span><div class="tsd-comment tsd-typography"><p>Whether overwrite function in existing registry.</p>
-</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L1721">runtime.ts:1721</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="runtimestatstext"><span>runtime<wbr/>Stats<wbr/>Text</span><a href="#runtimestatstext" aria-l [...]
-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L970">runtime.ts:970</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="sampletoppfromlogits"><span>sample<wbr/>Top<wbr/>P<wbr/>From<wbr/>Logits</span><a href="#sampletoppfromlogits [...]
+</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L1721">runtime.ts:1721</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="runtimestatstext"><span>runtime<wbr/>Stats<wbr/>Text</span><a href="#runtimestatstext" aria-l [...]
+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L970">runtime.ts:970</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="sampletoppfromlogits"><span>sample<wbr/>Top<wbr/>P<wbr/>From<wbr/>Logits</span><a href="#sampletoppfromlogits [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">logits</span>: <a href="Tensor.html" class="tsd-signature-type tsd-kind-class">Tensor</a></span><div class="tsd-comment tsd-typography"><p>The input logits before normalization.</p>
</div></li><li><span><span class="tsd-kind-parameter">temperature</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The temperature factor, will take argmax if temperature = 0.0</p>
</div></li><li><span><span class="tsd-kind-parameter">top_p</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The top_p</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><p>The sampled index.</p>
-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L1529">runtime.ts:1529</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="sampletoppfromprob"><span>sample<wbr/>Top<wbr/>P<wbr/>From<wbr/>Prob</span><a href="#sampletoppfromprob" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use h [...]
+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L1529">runtime.ts:1529</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="sampletoppfromprob"><span>sample<wbr/>Top<wbr/>P<wbr/>From<wbr/>Prob</span><a href="#sampletoppfromprob" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use h [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">prob</span>: <a href="Tensor.html" class="tsd-signature-type tsd-kind-class">Tensor</a></span><div class="tsd-comment tsd-typography"><p>The distribution, i.e. logits after <code>applySoftmaxWithTemperature()</code> is performed.</p>
</div></li><li><span><span class="tsd-kind-parameter">top_p</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The top_p</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><p>The sampled index.</p>
-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L1540">runtime.ts:1540</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="scalar"><span>scalar</span><a href="#scalar" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>< [...]
+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L1540">runtime.ts:1540</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="scalar"><span>scalar</span><a href="#scalar" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>< [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The number value.</p>
</div></li><li><span><span class="tsd-kind-parameter">dtype</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The dtype string.</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="Scalar.html" class="tsd-signature-type tsd-kind-class">Scalar</a></h4><p>The created scalar.</p>
-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L1440">runtime.ts:1440</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="setpackedarguments"><span>set<wbr/>Packed<wbr/>Arguments</span><a href="#setpackedarguments" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../asse [...]
+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L1440">runtime.ts:1440</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="setpackedarguments"><span>set<wbr/>Packed<wbr/>Arguments</span><a href="#setpackedarguments" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../asse [...]
Allocate new temporary space from the stack if necessary.</p>
<ul>
<li></li>
@@ -232,37 +232,37 @@ Allocate new temporary space from the stack if necessary.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">stack</span>: <a href="_internal_.CachedCallStack.html" class="tsd-signature-type tsd-kind-class">CachedCallStack</a></span><div class="tsd-comment tsd-typography"><p>The call stack.</p>
</div></li><li><span><span class="tsd-kind-parameter">args</span>: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>The input arguments.</p>
</div></li><li><span><span class="tsd-kind-parameter">packedArgs</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The offset of packedArgs.</p>
-</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L2023">runtime.ts:2023</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="setseed"><span>set<wbr/>Seed</span><a href="#setseed" aria-label="Permalink" class="tsd-ancho [...]
-</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">seed</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L1517">runtime.ts [...]
+</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L2023">runtime.ts:2023</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="setseed"><span>set<wbr/>Seed</span><a href="#setseed" aria-label="Permalink" class="tsd-ancho [...]
+</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">seed</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L1517">runtime.ts [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">dataRGBA</span>: <a href="Tensor.html" class="tsd-signature-type tsd-kind-class">Tensor</a></span><div class="tsd-comment tsd-typography"><p>Image array in height x width uint32 Tensor RGBA format on GPU.</p>
-</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L1597">runtime.ts:1597</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="systemlib"><span>system<wbr/>Lib</span><a href="#systemlib" aria-label="Permalink" class="tsd [...]
+</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L1597">runtime.ts:1597</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="systemlib"><span>system<wbr/>Lib</span><a href="#systemlib" aria-label="Permalink" class="tsd [...]
System lib is a global module that contains self register functions in startup.</p>
</div><h4 class="tsd-returns-title">Returns <a href="Module.html" class="tsd-signature-type tsd-kind-class">Module</a></h4><p>The system library module.</p>
-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L1058">runtime.ts:1058</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="tensorcacheclear"><span>tensor<wbr/>Cache<wbr/>Clear</span><a href="#tensorcacheclear" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/ico [...]
-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L1246">runtime.ts:1246</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="tensorcacheget"><span>tensor<wbr/>Cache<wbr/>Get</span><a href="#tensorcacheget" aria-label="Permalink" class [...]
+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L1058">runtime.ts:1058</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="tensorcacheclear"><span>tensor<wbr/>Cache<wbr/>Clear</span><a href="#tensorcacheclear" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/ico [...]
+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L1246">runtime.ts:1246</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="tensorcacheget"><span>tensor<wbr/>Cache<wbr/>Get</span><a href="#tensorcacheget" aria-label="Permalink" class [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">name</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The name of array.</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="Tensor.html" class="tsd-signature-type tsd-kind-class">Tensor</a></h4><p>The result.</p>
-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L1221">runtime.ts:1221</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="tensorcacheremove"><span>tensor<wbr/>Cache<wbr/>Remove</span><a href="#tensorcacheremove" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/ [...]
+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L1221">runtime.ts:1221</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="tensorcacheremove"><span>tensor<wbr/>Cache<wbr/>Remove</span><a href="#tensorcacheremove" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/ [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">name</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The name of array.</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="Tensor.html" class="tsd-signature-type tsd-kind-class">Tensor</a></h4><p>The result.</p>
-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L1230">runtime.ts:1230</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="tensorcacheupdate"><span>tensor<wbr/>Cache<wbr/>Update</span><a href="#tensorcacheupdate" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/ [...]
+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L1230">runtime.ts:1230</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="tensorcacheupdate"><span>tensor<wbr/>Cache<wbr/>Update</span><a href="#tensorcacheupdate" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/ [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">name</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The name of the array.</p>
</div></li><li><span><span class="tsd-kind-parameter">arr</span>: <a href="Tensor.html" class="tsd-signature-type tsd-kind-class">Tensor</a></span><div class="tsd-comment tsd-typography"><p>The content.</p>
-</div></li><li><span><span class="tsd-kind-parameter">override</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L1239">runtime.ts:1239</a></li></ul></aside></div></li></ul></se [...]
+</div></li><li><span><span class="tsd-kind-parameter">override</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L1239">runtime.ts:1239</a></li></ul></aside></div></li></ul></se [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">func</span>: <span class="tsd-signature-type">Function</span></span><div class="tsd-comment tsd-typography"><p>Input function.</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="../types/PackedFunc.html" class="tsd-signature-type tsd-kind-type-alias">PackedFunc</a></h4><p>The converted function.</p>
-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L1156">runtime.ts:1156</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="typekey2index"><span>type<wbr/>Key2<wbr/>Index</span><a href="#typekey2index" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#ic [...]
+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L1156">runtime.ts:1156</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="typekey2index"><span>type<wbr/>Key2<wbr/>Index</span><a href="#typekey2index" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#ic [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">typeKey</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The type key.</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><p>The corresponding type index.</p>
-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L1695">runtime.ts:1695</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="uniform"><span>uniform</span><a href="#uniform" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h [...]
+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L1695">runtime.ts:1695</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="uniform"><span>uniform</span><a href="#uniform" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">shape</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>The shape of the array.</p>
</div></li><li><span><span class="tsd-kind-parameter">low</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The low value.</p>
</div></li><li><span><span class="tsd-kind-parameter">high</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The high value.</p>
</div></li><li><span><span class="tsd-kind-parameter">dev</span>: <a href="DLDevice.html" class="tsd-signature-type tsd-kind-class">DLDevice</a></span><div class="tsd-comment tsd-typography"><p>The device of the ndarray.</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="Tensor.html" class="tsd-signature-type tsd-kind-class">Tensor</a></h4><p>The created ndarray.</p>
-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L1496">runtime.ts:1496</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="webgpu"><span>webgpu</span><a href="#webgpu" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>< [...]
+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L1496">runtime.ts:1496</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="webgpu"><span>webgpu</span><a href="#webgpu" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>< [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">deviceId</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></span><div class="tsd-comment tsd-typography"><p>The device index.</p>
-</div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="DLDevice.html" class="tsd-signature-type tsd-kind-class">DLDevice</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L1466">runtime.ts:1466</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="withnewscope"><span>with<wbr/>New<wbr/>Scope</span><a href= [...]
+</div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="DLDevice.html" class="tsd-signature-type tsd-kind-class">DLDevice</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L1466">runtime.ts:1466</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="withnewscope"><span>with<wbr/>New<wbr/>Scope</span><a href= [...]
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span id="withnewscopet"><span class="tsd-kind-type-parameter">T</span></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">action</span>: <span class="tsd-signature-symbol">()</span> <span class="tsd-signature-symbol">=></span> <a class="tsd-signature-type tsd-kind-t [...]
</div></li></ul></div><h4 class="tsd-returns-title">Returns <a class="tsd-signature-type tsd-kind-type-parameter" href="#withnewscopet">T</a></h4><p>The result value.</p>
<ul>
@@ -270,7 +270,7 @@ System lib is a global module that contains self register functions in startup.<
we will need to call <a href="#movetoparentscope" class="tsd-kind-method">moveToParentScope</a>
for the objects that are created in the scope.</li>
</ul>
-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L1006">runtime.ts:1006</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="wrapasyncifypackedfunc"><span>wrap<wbr/>Asyncify<wbr/>Packed<wbr/>Func</span><a href="#wrapasyncifypackedfunc" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"> [...]
+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L1006">runtime.ts:1006</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="wrapasyncifypackedfunc"><span>wrap<wbr/>Asyncify<wbr/>Packed<wbr/>Func</span><a href="#wrapasyncifypackedfunc" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"> [...]
through the asyncify mechanism</p>
<p>You only need to call it if the function may contain callback into async
JS function via asynctify. A common one can be GPU synchronize.</p>
@@ -278,4 +278,4 @@ JS function via asynctify. A common one can be GPU synchronize.</p>
to make sure you use await when calling the funciton.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">func</span>: <a href="../types/PackedFunc.html" class="tsd-signature-type tsd-kind-type-alias">PackedFunc</a></span><div class="tsd-comment tsd-typography"><p>The PackedFunc.</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="../types/_internal_.AsyncPackedFunc.html" class="tsd-signature-type tsd-kind-type-alias">AsyncPackedFunc</a></h4><p>The wrapped AsyncPackedFunc</p>
-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L1748">runtime.ts:1748</a></li></ul></aside></div></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href=". [...]
+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L1748">runtime.ts:1748</a></li></ul></aside></div></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href=". [...]
diff --git a/docs/reference/api/typedoc/classes/LRUCache.html b/docs/reference/api/typedoc/classes/LRUCache.html
index 7d551f7ee03..270e13ebfa6 100644
--- a/docs/reference/api/typedoc/classes/LRUCache.html
+++ b/docs/reference/api/typedoc/classes/LRUCache.html
@@ -3,7 +3,7 @@
Uses a Map to maintain insertion order for O(1) LRU eviction.</p>
</div></section><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span id="k"><span class="tsd-kind-type-parameter">K</span></span><div class="tsd-comment tsd-typography"><p>Cache key type.</p>
</div></li><li><span id="v"><span class="tsd-kind-type-parameter">V</span></span><div class="tsd-comment tsd-typography"><p>Cache value type.</p>
-</div></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/cache_state.ts#L37">cache_state.ts:37</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria- [...]
+</div></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/cache_state.ts#L37">cache_state.ts:37</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria- [...]
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Accessors</h3><div class="tsd-index-list"><a href="#size" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>size</span></a>
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="#get" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get</span></a>
<a href="#invalidate" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>invalidate</span></a>
@@ -11,8 +11,8 @@ Uses a Map to maintain insertion order for O(1) LRU eviction.</p>
<a href="#values" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>values</span></a>
</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#con [...]
</div></li><li><span id="constructorlrucachev"><span class="tsd-kind-type-parameter">V</span></span><div class="tsd-comment tsd-typography"><p>Cache value type.</p>
-</div></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">maxSize</span>: <span class="tsd-signature-type">number</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">onEvict</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">key</span><span class="tsd-signature-symbol">:</span> <a class="tsd-si [...]
-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/cache_state.ts#L108">cache_state.ts:108</a></li></ul></aside></div></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" [...]
+</div></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">maxSize</span>: <span class="tsd-signature-type">number</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">onEvict</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">key</span><span class="tsd-signature-symbol">:</span> <a class="tsd-si [...]
+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/cache_state.ts#L108">cache_state.ts:108</a></li></ul></aside></div></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" [...]
<p>On hit: moves the entry to most-recently-used position and returns it.
On miss: calls <code>constructor()</code> to create the value, inserts it, and
returns it. If the cache is full, the least-recently-used entry is
@@ -20,13 +20,13 @@ evicted first.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">key</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="#k">K</a></span><div class="tsd-comment tsd-typography"><p>The cache key.</p>
</div></li><li><span><span class="tsd-kind-parameter">constructor</span>: <span class="tsd-signature-symbol">()</span> <span class="tsd-signature-symbol">=></span> <a class="tsd-signature-type tsd-kind-type-parameter" href="#v">V</a></span><div class="tsd-comment tsd-typography"><p>Factory function called on cache miss to produce the value.</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <a class="tsd-signature-type tsd-kind-type-parameter" href="#v">V</a></h4><p>The cached or newly constructed value.</p>
-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/cache_state.ts#L60">cache_state.ts:60</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="invalidate"><span>invalidate</span><a href="#invalidate" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use> [...]
+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/cache_state.ts#L60">cache_state.ts:60</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="invalidate"><span>invalidate</span><a href="#invalidate" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use> [...]
<p>Does not dispose values — the caller is responsible for cleanup
(e.g. destroying GPU buffers) before calling invalidate.</p>
-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/cache_state.ts#L103">cache_state.ts:103</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="needeviction"><span>need<wbr/>Eviction</span><a href="#needeviction" aria-label="Permalink" class="tsd- [...]
+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/cache_state.ts#L103">cache_state.ts:103</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="needeviction"><span>need<wbr/>Eviction</span><a href="#needeviction" aria-label="Permalink" class="tsd- [...]
<p>Useful when the caller needs to perform side effects before eviction
(e.g. flushing pending GPU commands before destroying an evicted buffer).</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">key</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="#k">K</a></span><div class="tsd-comment tsd-typography"><p>The key to check.</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>true if inserting <code>key</code> would trigger eviction of another entry.</p>
-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/cache_state.ts#L92">cache_state.ts:92</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="values"><span>values</span><a href="#values" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></ [...]
-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">IterableIterator</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="#v">V</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/cache_state.ts#L113">cache_state.ts:113</a></li></ul></aside></div></li></ul></section> [...]
+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/cache_state.ts#L92">cache_state.ts:92</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="values"><span>values</span><a href="#values" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></ [...]
+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">IterableIterator</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="#v">V</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/cache_state.ts#L113">cache_state.ts:113</a></li></ul></aside></div></li></ul></section> [...]
diff --git a/docs/reference/api/typedoc/classes/LinearCongruentialGenerator.html b/docs/reference/api/typedoc/classes/LinearCongruentialGenerator.html
index e12ad188f1e..36aa56eafd0 100644
--- a/docs/reference/api/typedoc/classes/LinearCongruentialGenerator.html
+++ b/docs/reference/api/typedoc/classes/LinearCongruentialGenerator.html
@@ -2,7 +2,7 @@
<p>Follows the implementation of <code>include/tvm/support/random_engine.h</code>, which follows the
sepcification in <a href="https://en.cppreference.com/w/cpp/numeric/random/linear_congruential_engine">https://en.cppreference.com/w/cpp/numeric/random/linear_congruential_engine</a>.</p>
<p>Note <code>Number.MAX_SAFE_INTEGER = 2^53 - 1</code>, and our intermediates are strictly less than 2^48.</p>
-</div></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/support.ts#L88">support.ts:88</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use [...]
+</div></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/support.ts#L88">support.ts:88</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use [...]
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="#increment" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>increment</span></a>
<a href="#modulus" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>modulus</span></a>
<a href="#multiplier" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>multiplier</span></a>
@@ -10,11 +10,11 @@ sepcification in <a href="https://en.cppreference.com/w/cpp/numeric/random/linea
<a href="#randomfloat" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>random<wbr/>Float</span></a>
<a href="#setseed" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Seed</span></a>
</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#con [...]
-</div><h4 class="tsd-returns-title">Returns <a href="" class="tsd-signature-type tsd-kind-class">LinearCongruentialGenerator</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/support.ts#L98">support.ts:98</a></li></ul></aside></div></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="secti [...]
+</div><h4 class="tsd-returns-title">Returns <a href="" class="tsd-signature-type tsd-kind-class">LinearCongruentialGenerator</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/support.ts#L98">support.ts:98</a></li></ul></aside></div></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="secti [...]
<p>Postcondition: pass <code>checkRandState()</code>, i.e. rand_state > 0 and is an integer.</p>
-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/support.ts#L127">support.ts:127</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="randomfloat"><span>random<wbr/>Float</span><a href="#randomfloat" aria-label="Permalink" class="tsd-anchor-ic [...]
+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/support.ts#L127">support.ts:127</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="randomfloat"><span>random<wbr/>Float</span><a href="#randomfloat" aria-label="Permalink" class="tsd-anchor-ic [...]
<p>Postcondition: pass <code>checkRandState()</code>, i.e. rand_state > 0 and is an integer.</p>
-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/support.ts#L141">support.ts:141</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="setseed"><span>set<wbr/>Seed</span><a href="#setseed" aria-label="Permalink" class="tsd-anchor-icon"><svg vie [...]
+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/support.ts#L141">support.ts:141</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="setseed"><span>set<wbr/>Seed</span><a href="#setseed" aria-label="Permalink" class="tsd-anchor-icon"><svg vie [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">seed</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>Any integer. Used to set <code>rand_state</code> after normalized with <code>modulus</code>.</p>
<p>Postcondition: pass <code>checkRandState()</code>, i.e. rand_state > 0 and is an integer.</p>
-</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/support.ts#L111">support.ts:111</a></li></ul></aside></div></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-acc [...]
+</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/support.ts#L111">support.ts:111</a></li></ul></aside></div></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-acc [...]
diff --git a/docs/reference/api/typedoc/classes/Module.html b/docs/reference/api/typedoc/classes/Module.html
index d73ded3f10f..957c31156eb 100644
--- a/docs/reference/api/typedoc/classes/Module.html
+++ b/docs/reference/api/typedoc/classes/Module.html
@@ -1,23 +1,23 @@
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Module | tvmjs</title><meta name="description" content="Documentation for tvmjs"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons. [...]
-</div></section><section class="tsd-panel tsd-hierarchy" data-refl="40"><h4>Hierarchy (<a href="../hierarchy.html#Module">View Summary</a>)</h4><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><a href="TVMObject.html" class="tsd-signature-type tsd-kind-class">TVMObject</a><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><span class="tsd-hierarchy-target">Module</span></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/ap [...]
+</div></section><section class="tsd-panel tsd-hierarchy" data-refl="40"><h4>Hierarchy (<a href="../hierarchy.html#Module">View Summary</a>)</h4><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><a href="TVMObject.html" class="tsd-signature-type tsd-kind-class">TVMObject</a><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><span class="tsd-hierarchy-target">Module</span></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/ap [...]
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="#dispose" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>dispose</span></a>
<a href="#getfunction" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Function</span></a>
<a href="#gethandle" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Handle</span></a>
<a href="#importmodule" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>import<wbr/>Module</span></a>
<a href="#typeindex" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>type<wbr/>Index</span></a>
<a href="#typekey" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>type<wbr/>Key</span></a>
-</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#con [...]
+</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#con [...]
This function can be called multiple times,
only the first call will take effect.</p>
-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="TVMObject.html">TVMObject</a>.<a href="TVMObject.html#dispose">dispose</a></p><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L450">runtime.ts:450</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getfun [...]
+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="TVMObject.html">TVMObject</a>.<a href="TVMObject.html#dispose">dispose</a></p><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L450">runtime.ts:450</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getfun [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">name</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The name of the function.</p>
</div></li><li><span><span class="tsd-kind-parameter">queryImports</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span><div class="tsd-comment tsd-typography"><p>Whether to also query imports</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="../types/PackedFunc.html" class="tsd-signature-type tsd-kind-type-alias">PackedFunc</a></h4><p>The result function.</p>
-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L722">runtime.ts:722</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="gethandle"><span>get<wbr/>Handle</span><a href="#gethandle" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon- [...]
+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L722">runtime.ts:722</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="gethandle"><span>get<wbr/>Handle</span><a href="#gethandle" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon- [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">requireNotNull</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span><div class="tsd-comment tsd-typography"><p>require handle is not null.</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><p>The handle.</p>
-<aside class="tsd-sources"><p>Inherited from <a href="TVMObject.html">TVMObject</a>.<a href="TVMObject.html#gethandle">getHandle</a></p><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L465">runtime.ts:465</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="importmodule"><span>import<wbr/>Module</span><a href="#importmodule" aria-label="Permalink" cla [...]
+<aside class="tsd-sources"><p>Inherited from <a href="TVMObject.html">TVMObject</a>.<a href="TVMObject.html#gethandle">getHandle</a></p><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L465">runtime.ts:465</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="importmodule"><span>import<wbr/>Module</span><a href="#importmodule" aria-label="Permalink" cla [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">mod</span>: <a href="" class="tsd-signature-type tsd-kind-class">Module</a></span><div class="tsd-comment tsd-typography"><p>The module to be imported.</p>
-</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L730">runtime.ts:730</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="typeindex"><span>type<wbr/>Index</span><a href="#typeindex" aria-label="Permal [...]
-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources"><p>Inherited from <a href="TVMObject.html">TVMObject</a>.<a href="TVMObject.html#typeindex">typeIndex</a></p><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L473">runtime.ts:473</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd- [...]
-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources"><p>Inherited from <a href="TVMObject.html">TVMObject</a>.<a href="TVMObject.html#typekey">typeKey</a></p><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L481">runtime.ts:481</a></li></ul></aside></div></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"> [...]
+</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L730">runtime.ts:730</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="typeindex"><span>type<wbr/>Index</span><a href="#typeindex" aria-label="Permal [...]
+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources"><p>Inherited from <a href="TVMObject.html">TVMObject</a>.<a href="TVMObject.html#typeindex">typeIndex</a></p><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L473">runtime.ts:473</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd- [...]
+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources"><p>Inherited from <a href="TVMObject.html">TVMObject</a>.<a href="TVMObject.html#typekey">typeKey</a></p><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L481">runtime.ts:481</a></li></ul></aside></div></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"> [...]
diff --git a/docs/reference/api/typedoc/classes/RPCServer.html b/docs/reference/api/typedoc/classes/RPCServer.html
index 753d82914f3..7c732c6849e 100644
--- a/docs/reference/api/typedoc/classes/RPCServer.html
+++ b/docs/reference/api/typedoc/classes/RPCServer.html
@@ -1,9 +1,9 @@
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>RPCServer | tvmjs</title><meta name="description" content="Documentation for tvmjs"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/ico [...]
-</div></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/rpc_server.ts#L77">rpc_server.ts:77</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true [...]
+</div></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/rpc_server.ts#L77">rpc_server.ts:77</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true [...]
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="#getimports" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>get<wbr/>Imports</span></a>
<a href="#key" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>key</span></a>
<a href="#logger" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>logger</span></a>
<a href="#socket" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>socket</span></a>
<a href="#state" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>state</span></a>
<a href="#url" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>url</span></a>
-</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#con [...]
+</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#con [...]
diff --git a/docs/reference/api/typedoc/classes/Scalar.html b/docs/reference/api/typedoc/classes/Scalar.html
index 2a4d67f3b58..54df96e2055 100644
--- a/docs/reference/api/typedoc/classes/Scalar.html
+++ b/docs/reference/api/typedoc/classes/Scalar.html
@@ -1,8 +1,8 @@
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Scalar | tvmjs</title><meta name="description" content="Documentation for tvmjs"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons. [...]
argument to PackedFunc calls.</p>
-</div></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L311">runtime.ts:311</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><u [...]
+</div></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L311">runtime.ts:311</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><u [...]
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="#dtype" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>dtype</span></a>
<a href="#value" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>value</span></a>
-</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#con [...]
-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L315">runtime.ts:315</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="value"><span>value</span><a href="#value" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd- [...]
-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L313">runtime.ts:313</a></li></ul></aside></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/ico [...]
+</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#con [...]
+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L315">runtime.ts:315</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="value"><span>value</span><a href="#value" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd- [...]
+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L313">runtime.ts:313</a></li></ul></aside></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/ico [...]
diff --git a/docs/reference/api/typedoc/classes/TVMArray.html b/docs/reference/api/typedoc/classes/TVMArray.html
index c52ed3a569e..84f99dbdfc7 100644
--- a/docs/reference/api/typedoc/classes/TVMArray.html
+++ b/docs/reference/api/typedoc/classes/TVMArray.html
@@ -1,21 +1,21 @@
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>TVMArray | tvmjs</title><meta name="description" content="Documentation for tvmjs"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icon [...]
-</div></section><section class="tsd-panel tsd-hierarchy" data-refl="112"><h4>Hierarchy (<a href="../hierarchy.html#TVMArray">View Summary</a>)</h4><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><a href="TVMObject.html" class="tsd-signature-type tsd-kind-class">TVMObject</a><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><span class="tsd-hierarchy-target">TVMArray</span></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.c [...]
+</div></section><section class="tsd-panel tsd-hierarchy" data-refl="112"><h4>Hierarchy (<a href="../hierarchy.html#TVMArray">View Summary</a>)</h4><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><a href="TVMObject.html" class="tsd-signature-type tsd-kind-class">TVMObject</a><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><span class="tsd-hierarchy-target">TVMArray</span></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.c [...]
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="#dispose" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>dispose</span></a>
<a href="#get" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get</span></a>
<a href="#gethandle" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Handle</span></a>
<a href="#size" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>size</span></a>
<a href="#typeindex" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>type<wbr/>Index</span></a>
<a href="#typekey" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>type<wbr/>Key</span></a>
-</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#con [...]
+</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#con [...]
This function can be called multiple times,
only the first call will take effect.</p>
-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="TVMObject.html">TVMObject</a>.<a href="TVMObject.html#dispose">dispose</a></p><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L450">runtime.ts:450</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="get">< [...]
+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="TVMObject.html">TVMObject</a>.<a href="TVMObject.html#dispose">dispose</a></p><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L450">runtime.ts:450</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="get">< [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">index</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>the array index.</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="../types/_internal_.TVMObjectBase.html" class="tsd-signature-type tsd-kind-type-alias">TVMObjectBase</a></h4><p>The element.</p>
-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L763">runtime.ts:763</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="gethandle"><span>get<wbr/>Handle</span><a href="#gethandle" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon- [...]
+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L763">runtime.ts:763</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="gethandle"><span>get<wbr/>Handle</span><a href="#gethandle" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon- [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">requireNotNull</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span><div class="tsd-comment tsd-typography"><p>require handle is not null.</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><p>The handle.</p>
-<aside class="tsd-sources"><p>Inherited from <a href="TVMObject.html">TVMObject</a>.<a href="TVMObject.html#gethandle">getHandle</a></p><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L465">runtime.ts:465</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="size"><span>size</span><a href="#size" aria-label="Permalink" class="tsd-anchor-icon"><svg view [...]
-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L755">runtime.ts:755</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="typeindex"><span>type<wbr/>Index</span><a href="#typeindex" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon- [...]
-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources"><p>Inherited from <a href="TVMObject.html">TVMObject</a>.<a href="TVMObject.html#typeindex">typeIndex</a></p><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L473">runtime.ts:473</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd- [...]
-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources"><p>Inherited from <a href="TVMObject.html">TVMObject</a>.<a href="TVMObject.html#typekey">typeKey</a></p><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L481">runtime.ts:481</a></li></ul></aside></div></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"> [...]
+<aside class="tsd-sources"><p>Inherited from <a href="TVMObject.html">TVMObject</a>.<a href="TVMObject.html#gethandle">getHandle</a></p><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L465">runtime.ts:465</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="size"><span>size</span><a href="#size" aria-label="Permalink" class="tsd-anchor-icon"><svg view [...]
+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L755">runtime.ts:755</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="typeindex"><span>type<wbr/>Index</span><a href="#typeindex" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon- [...]
+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources"><p>Inherited from <a href="TVMObject.html">TVMObject</a>.<a href="TVMObject.html#typeindex">typeIndex</a></p><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L473">runtime.ts:473</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd- [...]
+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources"><p>Inherited from <a href="TVMObject.html">TVMObject</a>.<a href="TVMObject.html#typekey">typeKey</a></p><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L481">runtime.ts:481</a></li></ul></aside></div></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"> [...]
diff --git a/docs/reference/api/typedoc/classes/TVMObject.html b/docs/reference/api/typedoc/classes/TVMObject.html
index d270a62c975..375d188dd1e 100644
--- a/docs/reference/api/typedoc/classes/TVMObject.html
+++ b/docs/reference/api/typedoc/classes/TVMObject.html
@@ -1,15 +1,15 @@
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>TVMObject | tvmjs</title><meta name="description" content="Documentation for tvmjs"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/ico [...]
-</div></section><section class="tsd-panel tsd-hierarchy" data-refl="135"><h4>Hierarchy (<a href="../hierarchy.html#TVMObject">View Summary</a>)</h4><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><span class="tsd-hierarchy-target">TVMObject</span><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><a href="Module.html" class="tsd-signature-type tsd-kind-class">Module</a></li><li class="tsd-hierarchy-item"><a href="Tensor.html" class="tsd-signature-type tsd-kind-class">Tenso [...]
+</div></section><section class="tsd-panel tsd-hierarchy" data-refl="135"><h4>Hierarchy (<a href="../hierarchy.html#TVMObject">View Summary</a>)</h4><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><span class="tsd-hierarchy-target">TVMObject</span><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><a href="Module.html" class="tsd-signature-type tsd-kind-class">Module</a></li><li class="tsd-hierarchy-item"><a href="Tensor.html" class="tsd-signature-type tsd-kind-class">Tenso [...]
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="#dispose" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>dispose</span></a>
<a href="#gethandle" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Handle</span></a>
<a href="#typeindex" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>type<wbr/>Index</span></a>
<a href="#typekey" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>type<wbr/>Key</span></a>
-</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#con [...]
+</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#con [...]
This function can be called multiple times,
only the first call will take effect.</p>
-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/Disposable.html">Disposable</a>.<a href="../interfaces/Disposable.html#dispose">dispose</a></p><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L450">runtime.ts:450</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 [...]
+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/Disposable.html">Disposable</a>.<a href="../interfaces/Disposable.html#dispose">dispose</a></p><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L450">runtime.ts:450</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">requireNotNull</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span><div class="tsd-comment tsd-typography"><p>require handle is not null.</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><p>The handle.</p>
-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L465">runtime.ts:465</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="typeindex"><span>type<wbr/>Index</span><a href="#typeindex" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></s [...]
-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L473">runtime.ts:473</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="typekey"><span>type<wbr/>Key</span><a href="#typekey" aria-label="Permalink" class="tsd-anchor-icon"><svg vie [...]
-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L481">runtime.ts:481</a></li></ul></aside></div></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary [...]
+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L465">runtime.ts:465</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="typeindex"><span>type<wbr/>Index</span><a href="#typeindex" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></s [...]
+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L473">runtime.ts:473</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="typekey"><span>type<wbr/>Key</span><a href="#typekey" aria-label="Permalink" class="tsd-anchor-icon"><svg vie [...]
+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L481">runtime.ts:481</a></li></ul></aside></div></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary [...]
diff --git a/docs/reference/api/typedoc/classes/Tensor.html b/docs/reference/api/typedoc/classes/Tensor.html
index 007a5649a52..5a445f8d4bb 100644
--- a/docs/reference/api/typedoc/classes/Tensor.html
+++ b/docs/reference/api/typedoc/classes/Tensor.html
@@ -1,5 +1,5 @@
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Tensor | tvmjs</title><meta name="description" content="Documentation for tvmjs"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons. [...]
-</div></section><section class="tsd-panel tsd-hierarchy" data-refl="65"><h4>Hierarchy (<a href="../hierarchy.html#Tensor">View Summary</a>)</h4><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><a href="TVMObject.html" class="tsd-signature-type tsd-kind-class">TVMObject</a><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><span class="tsd-hierarchy-target">Tensor</span></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/ap [...]
+</div></section><section class="tsd-panel tsd-hierarchy" data-refl="65"><h4>Hierarchy (<a href="../hierarchy.html#Tensor">View Summary</a>)</h4><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><a href="TVMObject.html" class="tsd-signature-type tsd-kind-class">TVMObject</a><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><span class="tsd-hierarchy-target">Tensor</span></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/ap [...]
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="#device" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>device</span></a>
<a href="#dtype" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>dtype</span></a>
<a href="#isview" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>is<wbr/>View</span></a>
@@ -15,35 +15,35 @@
<a href="#typeindex" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>type<wbr/>Index</span></a>
<a href="#typekey" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>type<wbr/>Key</span></a>
<a href="#view" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>view</span></a>
-</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#con [...]
-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L511">runtime.ts:511</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="dtype"><span>dtype</span><a href="#dtype" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd- [...]
-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L507">runtime.ts:507</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="isview"><span>is<wbr/>View</span><a href="#isview" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div cl [...]
-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L513">runtime.ts:513</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="ndim"><span>ndim</span><a href="#ndim" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-sig [...]
-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L505">runtime.ts:505</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="shape"><span>shape</span><a href="#shape" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd- [...]
-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L509">runtime.ts:509</a></li></ul></aside></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown">< [...]
+</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#con [...]
+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L511">runtime.ts:511</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="dtype"><span>dtype</span><a href="#dtype" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd- [...]
+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L507">runtime.ts:507</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="isview"><span>is<wbr/>View</span><a href="#isview" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div cl [...]
+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L513">runtime.ts:513</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="ndim"><span>ndim</span><a href="#ndim" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-sig [...]
+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L505">runtime.ts:505</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="shape"><span>shape</span><a href="#shape" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd- [...]
+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L509">runtime.ts:509</a></li></ul></aside></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown">< [...]
The number of elements must match.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">data</span>: <br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type [...]
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p>this</p>
-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L606">runtime.ts:606</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="copyfromrawbytes"><span>copy<wbr/>From<wbr/>Raw<wbr/>Bytes</span><a href="#copyfromrawbytes" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets [...]
+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L606">runtime.ts:606</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="copyfromrawbytes"><span>copy<wbr/>From<wbr/>Raw<wbr/>Bytes</span><a href="#copyfromrawbytes" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">data</span>: <span class="tsd-signature-type">Uint8Array</span></span><div class="tsd-comment tsd-typography"><p>Uint8Array of bytes.</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p>this</p>
-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L649">runtime.ts:649</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="dispose"><span>dispose</span><a href="#dispose" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></us [...]
+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L649">runtime.ts:649</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="dispose"><span>dispose</span><a href="#dispose" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></us [...]
This function can be called multiple times,
only the first call will take effect.</p>
-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="TVMObject.html">TVMObject</a>.<a href="TVMObject.html#dispose">dispose</a></p><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L450">runtime.ts:450</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getdat [...]
+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="TVMObject.html">TVMObject</a>.<a href="TVMObject.html#dispose">dispose</a></p><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L450">runtime.ts:450</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getdat [...]
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><p>The handle.</p>
-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L592">runtime.ts:592</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="gethandle"><span>get<wbr/>Handle</span><a href="#gethandle" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon- [...]
+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L592">runtime.ts:592</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="gethandle"><span>get<wbr/>Handle</span><a href="#gethandle" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon- [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">requireNotNull</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span><div class="tsd-comment tsd-typography"><p>require handle is not null.</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><p>The handle.</p>
-<aside class="tsd-sources"><p>Inherited from <a href="TVMObject.html">TVMObject</a>.<a href="TVMObject.html#gethandle">getHandle</a></p><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L465">runtime.ts:465</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="toarray"><span>to<wbr/>Array</span><a href="#toarray" aria-label="Permalink" class="tsd-anchor- [...]
+<aside class="tsd-sources"><p>Inherited from <a href="TVMObject.html">TVMObject</a>.<a href="TVMObject.html#gethandle">getHandle</a></p><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L465">runtime.ts:465</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="toarray"><span>to<wbr/>Array</span><a href="#toarray" aria-label="Permalink" class="tsd-anchor- [...]
the dtype of the Tensor.</p>
</div><h4 class="tsd-returns-title">Returns <br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ArrayBufferLike</span><span class="tsd-signature-symbol">></span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">Int32Array</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ArrayBufferLike< [...]
-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L682">runtime.ts:682</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="torawbytes"><span>to<wbr/>Raw<wbr/>Bytes</span><a href="#torawbytes" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"> [...]
+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L682">runtime.ts:682</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="torawbytes"><span>to<wbr/>Raw<wbr/>Bytes</span><a href="#torawbytes" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"> [...]
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Uint8Array</span></h4><p>The result array.</p>
-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L670">runtime.ts:670</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="typeindex"><span>type<wbr/>Index</span><a href="#typeindex" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon- [...]
-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources"><p>Inherited from <a href="TVMObject.html">TVMObject</a>.<a href="TVMObject.html#typeindex">typeIndex</a></p><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L473">runtime.ts:473</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd- [...]
-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources"><p>Inherited from <a href="TVMObject.html">TVMObject</a>.<a href="TVMObject.html#typekey">typeKey</a></p><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L481">runtime.ts:481</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="view [...]
+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L670">runtime.ts:670</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="typeindex"><span>type<wbr/>Index</span><a href="#typeindex" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon- [...]
+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources"><p>Inherited from <a href="TVMObject.html">TVMObject</a>.<a href="TVMObject.html#typeindex">typeIndex</a></p><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L473">runtime.ts:473</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd- [...]
+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources"><p>Inherited from <a href="TVMObject.html">TVMObject</a>.<a href="TVMObject.html#typekey">typeKey</a></p><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L481">runtime.ts:481</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="view [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">shape</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>The shape of the view.</p>
</div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">dtype</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The data type of the new array.</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="" class="tsd-signature-type tsd-kind-class">Tensor</a></h4><p>The new sliced ndarray.</p>
-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L575">runtime.ts:575</a></li></ul></aside></div></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../ [...]
+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L575">runtime.ts:575</a></li></ul></aside></div></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../ [...]
diff --git a/docs/reference/api/typedoc/classes/VirtualMachine.html b/docs/reference/api/typedoc/classes/VirtualMachine.html
index 1e7cbe6ae27..1c843572ea3 100644
--- a/docs/reference/api/typedoc/classes/VirtualMachine.html
+++ b/docs/reference/api/typedoc/classes/VirtualMachine.html
@@ -2,18 +2,18 @@
<p>This is a thin wrapper of the underlying TVM module.
you can also directly call set_input, run, and get_output
of underlying module functions</p>
-</div></section><section class="tsd-panel"><h4>Implements</h4><ul class="tsd-hierarchy"><li><a href="../interfaces/Disposable.html" class="tsd-signature-type tsd-kind-interface">Disposable</a></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L780">runtime.ts:780</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-pan [...]
+</div></section><section class="tsd-panel"><h4>Implements</h4><ul class="tsd-hierarchy"><li><a href="../interfaces/Disposable.html" class="tsd-signature-type tsd-kind-interface">Disposable</a></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L780">runtime.ts:780</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-pan [...]
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="#dispose" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>dispose</span></a>
<a href="#getfunction" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Function</span></a>
<a href="#getinternalmodule" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Internal<wbr/>Module</span></a>
</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#con [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">mod</span>: <a href="Module.html" class="tsd-signature-type tsd-kind-class">Module</a></span><div class="tsd-comment tsd-typography"><p>The underlying module, need to be detached.</p>
</div></li><li><span><span class="tsd-kind-parameter">device</span>: <a href="DLDevice.html" class="tsd-signature-type tsd-kind-class">DLDevice</a></span><div class="tsd-comment tsd-typography"><p>The main device ro run VM on.</p>
-</div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="" class="tsd-signature-type tsd-kind-class">VirtualMachine</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L787">runtime.ts:787</a></li></ul></aside></div></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key=" [...]
+</div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="" class="tsd-signature-type tsd-kind-class">VirtualMachine</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L787">runtime.ts:787</a></li></ul></aside></div></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key=" [...]
This function can be called multiple times,
only the first call will take effect.</p>
-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/Disposable.html">Disposable</a>.<a href="../interfaces/Disposable.html#dispose">dispose</a></p><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L800">runtime.ts:800</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 [...]
+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/Disposable.html">Disposable</a>.<a href="../interfaces/Disposable.html#dispose">dispose</a></p><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L800">runtime.ts:800</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">name</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The name of the function.</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="../types/PackedFunc.html" class="tsd-signature-type tsd-kind-type-alias">PackedFunc</a></h4><p>The result function.</p>
-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L808">runtime.ts:808</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getinternalmodule"><span>get<wbr/>Internal<wbr/>Module</span><a href="#getinternalmodule" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/ic [...]
-</div><h4 class="tsd-returns-title">Returns <a href="Module.html" class="tsd-signature-type tsd-kind-class">Module</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L815">runtime.ts:815</a></li></ul></aside></div></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary [...]
+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L808">runtime.ts:808</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getinternalmodule"><span>get<wbr/>Internal<wbr/>Module</span><a href="#getinternalmodule" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/ic [...]
+</div><h4 class="tsd-returns-title">Returns <a href="Module.html" class="tsd-signature-type tsd-kind-class">Module</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L815">runtime.ts:815</a></li></ul></aside></div></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary [...]
diff --git a/docs/reference/api/typedoc/classes/_internal_.AsyncifyHandler.html b/docs/reference/api/typedoc/classes/_internal_.AsyncifyHandler.html
index 8ab08a2a46c..15faaa48f18 100644
--- a/docs/reference/api/typedoc/classes/_internal_.AsyncifyHandler.html
+++ b/docs/reference/api/typedoc/classes/_internal_.AsyncifyHandler.html
@@ -1,20 +1,20 @@
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>AsyncifyHandler | tvmjs</title><meta name="description" content="Documentation for tvmjs"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../asse [...]
-</div></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/asyncify.ts#L44">asyncify.ts:44</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><u [...]
+</div></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/asyncify.ts#L44">asyncify.ts:44</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><u [...]
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="#enabled" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>enabled</span></a>
<a href="#getstate" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>State</span></a>
<a href="#isnormalstackstate" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Normal<wbr/>Stack<wbr/>State</span></a>
<a href="#wrapexport" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>wrap<wbr/>Export</span></a>
<a href="#wrapimport" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>wrap<wbr/>Import</span></a>
-</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#con [...]
+</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#con [...]
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>Whether the wasm enables asynctify</p>
-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/asyncify.ts#L69">asyncify.ts:69</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getstate"><span>get<wbr/>State</span><a href="#getstate" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg> [...]
+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/asyncify.ts#L69">asyncify.ts:69</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getstate"><span>get<wbr/>State</span><a href="#getstate" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg> [...]
</div><h4 class="tsd-returns-title">Returns <a href="../enums/_internal_.AsyncifyStateKind.html" class="tsd-signature-type tsd-kind-enum">AsyncifyStateKind</a></h4><p>The current asynctify state</p>
-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/asyncify.ts#L87">asyncify.ts:87</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="isnormalstackstate"><span>is<wbr/>Normal<wbr/>Stack<wbr/>State</span><a href="#isnormalstackstate" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../ [...]
+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/asyncify.ts#L87">asyncify.ts:87</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="isnormalstackstate"><span>is<wbr/>Normal<wbr/>Stack<wbr/>State</span><a href="#isnormalstackstate" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../ [...]
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>The current asynctify state</p>
-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/asyncify.ts#L78">asyncify.ts:78</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="wrapexport"><span>wrap<wbr/>Export</span><a href="#wrapexport" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use> [...]
+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/asyncify.ts#L78">asyncify.ts:78</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="wrapexport"><span>wrap<wbr/>Export</span><a href="#wrapexport" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use> [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">func</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span> <span class="tsd [...]
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-sym [...]
-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/asyncify.ts#L149">asyncify.ts:149</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="wrapimport"><span>wrap<wbr/>Import</span><a href="#wrapimport" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></us [...]
+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/asyncify.ts#L149">asyncify.ts:149</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="wrapimport"><span>wrap<wbr/>Import</span><a href="#wrapimport" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></us [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">func</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span> <span class="tsd [...]
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">any</span></h4><p>The wrapped function that [...]
-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/asyncify.ts#L97">asyncify.ts:97</a></li></ul></aside></div></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../ [...]
+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/asyncify.ts#L97">asyncify.ts:97</a></li></ul></aside></div></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../ [...]
diff --git a/docs/reference/api/typedoc/classes/_internal_.CachedCallStack.html b/docs/reference/api/typedoc/classes/_internal_.CachedCallStack.html
index 65b2244bcad..66eac8d4839 100644
--- a/docs/reference/api/typedoc/classes/_internal_.CachedCallStack.html
+++ b/docs/reference/api/typedoc/classes/_internal_.CachedCallStack.html
@@ -7,7 +7,7 @@ can still call into storeXX</li>
<li>Calls into commitToWasmMemory once.</li>
<li>reset.</li>
</ul>
-</div></section><section class="tsd-panel"><h4>Implements</h4><ul class="tsd-hierarchy"><li><a href="../interfaces/Disposable.html" class="tsd-signature-type tsd-kind-interface">Disposable</a></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/memory.ts#L279">memory.ts:279</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel [...]
+</div></section><section class="tsd-panel"><h4>Implements</h4><ul class="tsd-hierarchy"><li><a href="../interfaces/Disposable.html" class="tsd-signature-type tsd-kind-interface">Disposable</a></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/memory.ts#L279">memory.ts:279</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel [...]
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="#tempargs" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>temp<wbr/>Args</span></a>
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="#allocbytearrayforstring" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>alloc<wbr/>Byte<wbr/>Array<wbr/>For<wbr/>String</span></a>
<a href="#allocptrarray" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>alloc<wbr/>Ptr<wbr/>Array</span></a>
@@ -25,37 +25,37 @@ can still call into storeXX</li>
<a href="#storerawbytes" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>store<wbr/>Raw<wbr/>Bytes</span></a>
<a href="#storeu32" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>store<wbr/>U32</span></a>
<a href="#storeusize" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>store<wbr/>U<wbr/>Size</span></a>
-</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#con [...]
-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/memory.ts#L281">memory.ts:281</a></li></ul></aside></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></u [...]
+</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#con [...]
+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/memory.ts#L281">memory.ts:281</a></li></ul></aside></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></u [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">data</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The string to allocate.</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><p>The offset of the byte array.</p>
-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/memory.ts#L446">memory.ts:446</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="allocptrarray"><span>alloc<wbr/>Ptr<wbr/>Array</span><a href="#allocptrarray" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-a [...]
+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/memory.ts#L446">memory.ts:446</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="allocptrarray"><span>alloc<wbr/>Ptr<wbr/>Array</span><a href="#allocptrarray" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-a [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">count</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>Number of pointers.</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><p>The allocated pointer array.</p>
-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/memory.ts#L385">memory.ts:385</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="allocrawbytes"><span>alloc<wbr/>Raw<wbr/>Bytes</span><a href="#allocrawbytes" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-a [...]
+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/memory.ts#L385">memory.ts:385</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="allocrawbytes"><span>alloc<wbr/>Raw<wbr/>Bytes</span><a href="#allocrawbytes" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-a [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">nbytes</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>Number of bytes.</p>
<ul>
<li>Note: This function always allocate space that aligns to 64bit.</li>
</ul>
-</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/memory.ts#L357">memory.ts:357</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="allocthensetargbytes"><span>alloc<wbr/>Then<wbr/>Set<wbr/>Arg<wbr/>Bytes</span><a href="#alloct [...]
+</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/memory.ts#L357">memory.ts:357</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="allocthensetargbytes"><span>alloc<wbr/>Then<wbr/>Set<wbr/>Arg<wbr/>Bytes</span><a href="#alloct [...]
Allocate new temporary space for bytes.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">offset</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The offset to set ot data pointer.</p>
</div></li><li><span><span class="tsd-kind-parameter">data</span>: <span class="tsd-signature-type">Uint8Array</span></span><div class="tsd-comment tsd-typography"><p>The string content.</p>
-</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/memory.ts#L478">memory.ts:478</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="allocthensetargstring"><span>alloc<wbr/>Then<wbr/>Set<wbr/>Arg<wbr/>String</span><a href="#alloct [...]
+</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/memory.ts#L478">memory.ts:478</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="allocthensetargstring"><span>alloc<wbr/>Then<wbr/>Set<wbr/>Arg<wbr/>String</span><a href="#alloct [...]
This function will call into allocBytes to allocate necessary data.
The address won't be set immediately(because the possible change of basePtr)
and will be filled when we commit the data.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">offset</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The offset to set ot data pointer.</p>
</div></li><li><span><span class="tsd-kind-parameter">data</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The string content.</p>
-</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/memory.ts#L465">memory.ts:465</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="committowasmmemory"><span>commit<wbr/>To<wbr/>Wasm<wbr/>Memory</span><a href="#committowasmmemory [...]
+</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/memory.ts#L465">memory.ts:465</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="committowasmmemory"><span>commit<wbr/>To<wbr/>Wasm<wbr/>Memory</span><a href="#committowasmmemory [...]
This function can only be called once.
No further store function should be called.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">nbytes</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = ...</span></span><div class="tsd-comment tsd-typography"><p>Number of bytes to be stored.</p>
-</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/memory.ts#L340">memory.ts:340</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="dispose"><span>dispose</span><a href="#dispose" aria-label="Permalink" class="tsd-anchor-icon"><s [...]
+</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/memory.ts#L340">memory.ts:340</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="dispose"><span>dispose</span><a href="#dispose" aria-label="Permalink" class="tsd-anchor-icon"><s [...]
This function can be called multiple times,
only the first call will take effect.</p>
-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/Disposable.html">Disposable</a>.<a href="../interfaces/Disposable.html#dispose">dispose</a></p><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/memory.ts#L316">memory.ts:316</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 cl [...]
+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/Disposable.html">Disposable</a>.<a href="../interfaces/Disposable.html#dispose">dispose</a></p><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/memory.ts#L316">memory.ts:316</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 cl [...]
Note that the returned value becomes obsolete if alloc is called on the stack.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">offset</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The allocated offset.</p>
-</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/memory.ts#L394">memory.ts:394</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="reset"><span>reset</span><a href="#reset" aria-label="Permalink" class="tsd-anchor-icon"><svg v [...]
-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/memory.ts#L325">memory.ts:325</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="storef64"><span>store<wbr/>F64</span><a href="#storef64" aria-label="Permalink" class="tsd-anchor-icon"><svg view [...]
+</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/memory.ts#L394">memory.ts:394</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="reset"><span>reset</span><a href="#reset" aria-label="Permalink" class="tsd-anchor-icon"><svg v [...]
+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/memory.ts#L325">memory.ts:325</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="storef64"><span>store<wbr/>F64</span><a href="#storef64" aria-label="Permalink" class="tsd-anchor-icon"><svg view [...]
diff --git a/docs/reference/api/typedoc/classes/_internal_.CanvasRenderManager.html b/docs/reference/api/typedoc/classes/_internal_.CanvasRenderManager.html
index 17d992a5c4b..09a3cc19ce2 100644
--- a/docs/reference/api/typedoc/classes/_internal_.CanvasRenderManager.html
+++ b/docs/reference/api/typedoc/classes/_internal_.CanvasRenderManager.html
@@ -1,10 +1,10 @@
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>CanvasRenderManager | tvmjs</title><meta name="description" content="Documentation for tvmjs"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../ [...]
which needs to be explicitly disposed.</p>
-</div></section><section class="tsd-panel"><h4>Implements</h4><ul class="tsd-hierarchy"><li><a href="../interfaces/Disposable.html" class="tsd-signature-type tsd-kind-interface">Disposable</a></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/webgpu.ts#L221">webgpu.ts:221</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel [...]
+</div></section><section class="tsd-panel"><h4>Implements</h4><ul class="tsd-hierarchy"><li><a href="../interfaces/Disposable.html" class="tsd-signature-type tsd-kind-interface">Disposable</a></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/webgpu.ts#L221">webgpu.ts:221</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel [...]
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="#clear" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>clear</span></a>
<a href="#dispose" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>dispose</span></a>
<a href="#draw" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>draw</span></a>
-</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#con [...]
+</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#con [...]
This function can be called multiple times,
only the first call will take effect.</p>
-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/Disposable.html">Disposable</a>.<a href="../interfaces/Disposable.html#dispose">dispose</a></p><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/webgpu.ts#L380">webgpu.ts:380</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 cl [...]
+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/Disposable.html">Disposable</a>.<a href="../interfaces/Disposable.html#dispose">dispose</a></p><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/webgpu.ts#L380">webgpu.ts:380</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 cl [...]
diff --git a/docs/reference/api/typedoc/classes/_internal_.Environment.html b/docs/reference/api/typedoc/classes/_internal_.Environment.html
index b0f1d5673bc..e0edaf9686d 100644
--- a/docs/reference/api/typedoc/classes/_internal_.Environment.html
+++ b/docs/reference/api/typedoc/classes/_internal_.Environment.html
@@ -1,15 +1,15 @@
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Environment | tvmjs</title><meta name="description" content="Documentation for tvmjs"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/i [...]
-</div></section><section class="tsd-panel"><h4>Implements</h4><ul class="tsd-hierarchy"><li><a href="../interfaces/LibraryProvider.html" class="tsd-signature-type tsd-kind-interface">LibraryProvider</a></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/environment.ts#L68">environment.ts:68</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-pan [...]
+</div></section><section class="tsd-panel"><h4>Implements</h4><ul class="tsd-hierarchy"><li><a href="../interfaces/LibraryProvider.html" class="tsd-signature-type tsd-kind-interface">LibraryProvider</a></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/environment.ts#L68">environment.ts:68</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-pan [...]
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="#imports" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>imports</span></a>
<a href="#logger" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>logger</span></a>
<a href="#packedcfunctable" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>packed<wbr/>C<wbr/>Func<wbr/>Table</span></a>
<a href="#packedcfunctablefreeid" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>packed<wbr/>C<wbr/>Func<wbr/>Table<wbr/>Free<wbr/>Id</span></a>
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="#start" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>start</span></a>
-</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#con [...]
-</div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/LibraryProvider.html">LibraryProvider</a>.<a href="../interfaces/LibraryProvider.html#imports">imports</a></p><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/environment.ts#L70">environment.ts:70</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="logger"><span>logger</span><a href="#logger" aria-labe [...]
+</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#con [...]
+</div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/LibraryProvider.html">LibraryProvider</a>.<a href="../interfaces/LibraryProvider.html#imports">imports</a></p><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/environment.ts#L70">environment.ts:70</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="logger"><span>logger</span><a href="#logger" aria-labe [...]
can call via TVMWasmPackedCFunc.</p>
<p>We maintain a separate table so that we can have un-limited amount
of functions that do not maps to the address space.</p>
-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/environment.ts#L78">environment.ts:78</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="packedcfunctablefreeid"><span>packed<wbr/>C<wbr/>Func<wbr/>Table<wbr/>Free<wbr/>Id</span><a href="#packedcfunctablefreeid" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden=" [...]
-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/environment.ts#L84">environment.ts:84</a></li></ul></aside></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronD [...]
-</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">inst</span>: <span class="tsd-signature-type">Instance</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/LibraryProvider.html">LibraryProvider</a>.<a href="../interfaces/LibraryProvider.html#start">s [...]
+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/environment.ts#L78">environment.ts:78</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="packedcfunctablefreeid"><span>packed<wbr/>C<wbr/>Func<wbr/>Table<wbr/>Free<wbr/>Id</span><a href="#packedcfunctablefreeid" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden=" [...]
+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/environment.ts#L84">environment.ts:84</a></li></ul></aside></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronD [...]
+</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">inst</span>: <span class="tsd-signature-type">Instance</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/LibraryProvider.html">LibraryProvider</a>.<a href="../interfaces/LibraryProvider.html#start">s [...]
diff --git a/docs/reference/api/typedoc/classes/_internal_.FFILibrary.html b/docs/reference/api/typedoc/classes/_internal_.FFILibrary.html
index ce85212fe00..7c7b5904993 100644
--- a/docs/reference/api/typedoc/classes/_internal_.FFILibrary.html
+++ b/docs/reference/api/typedoc/classes/_internal_.FFILibrary.html
@@ -1,5 +1,5 @@
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>FFILibrary | tvmjs</title><meta name="description" content="Documentation for tvmjs"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/ic [...]
-</div></section><section class="tsd-panel"><h4>Implements</h4><ul class="tsd-hierarchy"><li><a href="../interfaces/Disposable.html" class="tsd-signature-type tsd-kind-interface">Disposable</a></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L57">runtime.ts:57</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel [...]
+</div></section><section class="tsd-panel"><h4>Implements</h4><ul class="tsd-hierarchy"><li><a href="../interfaces/Disposable.html" class="tsd-signature-type tsd-kind-interface">Disposable</a></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L57">runtime.ts:57</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel [...]
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="#exports" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>exports</span></a>
<a href="#memory" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>memory</span></a>
<a href="#wasm32" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>wasm32</span></a>
@@ -9,7 +9,7 @@
<a href="#getoralloccallstack" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Or<wbr/>Alloc<wbr/>Call<wbr/>Stack</span></a>
<a href="#recyclecallstack" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>recycle<wbr/>Call<wbr/>Stack</span></a>
<a href="#sizeofptr" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>sizeof<wbr/>Ptr</span></a>
-</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#con [...]
+</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#con [...]
This function can be called multiple times,
only the first call will take effect.</p>
-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/Disposable.html">Disposable</a>.<a href="../interfaces/Disposable.html#dispose">dispose</a></p><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L80">runtime.ts:80</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 cl [...]
+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/Disposable.html">Disposable</a>.<a href="../interfaces/Disposable.html#dispose">dispose</a></p><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L80">runtime.ts:80</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 cl [...]
diff --git a/docs/reference/api/typedoc/classes/_internal_.Memory.html b/docs/reference/api/typedoc/classes/_internal_.Memory.html
index f06b2086544..06c09471da3 100644
--- a/docs/reference/api/typedoc/classes/_internal_.Memory.html
+++ b/docs/reference/api/typedoc/classes/_internal_.Memory.html
@@ -1,5 +1,5 @@
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Memory | tvmjs</title><meta name="description" content="Documentation for tvmjs"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons. [...]
-</div></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/memory.ts#L31">memory.ts:31</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use h [...]
+</div></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/memory.ts#L31">memory.ts:31</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use h [...]
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="#memory" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>memory</span></a>
<a href="#wasm32" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>wasm32</span></a>
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="#loadbytearrayasbytes" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>load<wbr/>Byte<wbr/>Array<wbr/>As<wbr/>Bytes</span></a>
@@ -21,26 +21,26 @@
<a href="#loadusize" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>load<wbr/>U<wbr/>Size</span></a>
<a href="#sizeofptr" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>sizeof<wbr/>Ptr</span></a>
<a href="#storerawbytes" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>store<wbr/>Raw<wbr/>Bytes</span></a>
-</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#con [...]
+</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#con [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">byteArrayPtr</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The head address of the bytearray.</p>
-</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Uint8Array</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/memory.ts#L244">memory.ts:244</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="loadbytearrayasstring"><span>load<wbr/>Byte<wbr/>Array<wbr/>As<wbr/>String</span><a href="# [...]
+</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Uint8Array</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/memory.ts#L244">memory.ts:244</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="loadbytearrayasstring"><span>load<wbr/>Byte<wbr/>Array<wbr/>As<wbr/>String</span><a href="# [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">byteArrayPtr</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The head address of the bytearray.</p>
-</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/memory.ts#L227">memory.ts:227</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="loadcstring"><span>load<wbr/>C<wbr/>String</span><a href="#loadcstring" aria-label="Permalink" [...]
+</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/memory.ts#L227">memory.ts:227</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="loadcstring"><span>load<wbr/>C<wbr/>String</span><a href="#loadcstring" aria-label="Permalink" [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">ptr</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The head address</p>
-</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/memory.ts#L144">memory.ts:144</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="loadf32"><span>load<wbr/>F32</span><a href="#loadf32" aria-label="Permalink" class="tsd-anchor- [...]
+</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/memory.ts#L144">memory.ts:144</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="loadf32"><span>load<wbr/>F32</span><a href="#loadf32" aria-label="Permalink" class="tsd-anchor- [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">objectHandle</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The handle of the object.</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><p>The object type index.</p>
-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/memory.ts#L177">memory.ts:177</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="loadpointer"><span>load<wbr/>Pointer</span><a href="#loadpointer" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use [...]
+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/memory.ts#L177">memory.ts:177</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="loadpointer"><span>load<wbr/>Pointer</span><a href="#loadpointer" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">ptr</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The head address</p>
</div></li><li><span><span class="tsd-kind-parameter">numBytes</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The number</p>
-</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Uint8Array</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/memory.ts#L132">memory.ts:132</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="loadsmallbytes"><span>load<wbr/>Small<wbr/>Bytes</span><a href="#loadsmallbytes" aria-label [...]
-</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">ffiAnyPtr</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Uint8Array</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/memory.ts#L212">m [...]
+</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Uint8Array</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/memory.ts#L132">memory.ts:132</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="loadsmallbytes"><span>load<wbr/>Small<wbr/>Bytes</span><a href="#loadsmallbytes" aria-label [...]
+</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">ffiAnyPtr</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Uint8Array</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/memory.ts#L212">m [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">ffiAnyPtr</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The pointer to the value.</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><p>The small string.</p>
-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/memory.ts#L195">memory.ts:195</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="loadtypeinfotypekey"><span>load<wbr/>Type<wbr/>Info<wbr/>Type<wbr/>Key</span><a href="#loadtypeinfotypekey" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use hr [...]
+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/memory.ts#L195">memory.ts:195</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="loadtypeinfotypekey"><span>load<wbr/>Type<wbr/>Info<wbr/>Type<wbr/>Key</span><a href="#loadtypeinfotypekey" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use hr [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">typeInfoPtr</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The pointer to the type info.</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><p>The type key.</p>
-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/memory.ts#L186">memory.ts:186</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="loadu16"><span>load<wbr/>U16</span><a href="#loadu16" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a>< [...]
+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/memory.ts#L186">memory.ts:186</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="loadu16"><span>load<wbr/>U16</span><a href="#loadu16" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a>< [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">ptr</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The head address.</p>
</div></li><li><span><span class="tsd-kind-parameter">bytes</span>: <span class="tsd-signature-type">Uint8Array</span></span><div class="tsd-comment tsd-typography"><p>The bytes content.</p>
-</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/memory.ts#L165">memory.ts:165</a></li></ul></aside></div></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accor [...]
+</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/memory.ts#L165">memory.ts:165</a></li></ul></aside></div></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accor [...]
diff --git a/docs/reference/api/typedoc/classes/_internal_.PackedFuncCell.html b/docs/reference/api/typedoc/classes/_internal_.PackedFuncCell.html
index 84fcd4a7939..4319ffbb743 100644
--- a/docs/reference/api/typedoc/classes/_internal_.PackedFuncCell.html
+++ b/docs/reference/api/typedoc/classes/_internal_.PackedFuncCell.html
@@ -1,15 +1,15 @@
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>PackedFuncCell | tvmjs</title><meta name="description" content="Documentation for tvmjs"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../asset [...]
-</div></section><section class="tsd-panel tsd-hierarchy" data-refl="732"><h4>Hierarchy (<a href="../hierarchy.html#<internal>.PackedFuncCell">View Summary</a>)</h4><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><a href="TVMObject.html" class="tsd-signature-type tsd-kind-class">TVMObject</a><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><span class="tsd-hierarchy-target">PackedFuncCell</span></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a [...]
+</div></section><section class="tsd-panel tsd-hierarchy" data-refl="732"><h4>Hierarchy (<a href="../hierarchy.html#<internal>.PackedFuncCell">View Summary</a>)</h4><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><a href="TVMObject.html" class="tsd-signature-type tsd-kind-class">TVMObject</a><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><span class="tsd-hierarchy-target">PackedFuncCell</span></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a [...]
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="#dispose" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>dispose</span></a>
<a href="#gethandle" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Handle</span></a>
<a href="#typeindex" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>type<wbr/>Index</span></a>
<a href="#typekey" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>type<wbr/>Key</span></a>
-</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#con [...]
+</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#con [...]
This function can be called multiple times,
only the first call will take effect.</p>
-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="TVMObject.html">TVMObject</a>.<a href="TVMObject.html#dispose">dispose</a></p><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L450">runtime.ts:450</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor [...]
+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="TVMObject.html">TVMObject</a>.<a href="TVMObject.html#dispose">dispose</a></p><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L450">runtime.ts:450</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">requireNotNull</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span><div class="tsd-comment tsd-typography"><p>require handle is not null.</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><p>The handle.</p>
-<aside class="tsd-sources"><p>Inherited from <a href="TVMObject.html">TVMObject</a>.<a href="TVMObject.html#gethandle">getHandle</a></p><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L465">runtime.ts:465</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="typeindex"><span>type<wbr/>Index</span><a href="#typeindex" aria-label="Permal [...]
-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources"><p>Inherited from <a href="TVMObject.html">TVMObject</a>.<a href="TVMObject.html#typeindex">typeIndex</a></p><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L473">runtime.ts:473</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd- [...]
-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources"><p>Inherited from <a href="TVMObject.html">TVMObject</a>.<a href="TVMObject.html#typekey">typeKey</a></p><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L481">runtime.ts:481</a></li></ul></aside></div></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"> [...]
+<aside class="tsd-sources"><p>Inherited from <a href="TVMObject.html">TVMObject</a>.<a href="TVMObject.html#gethandle">getHandle</a></p><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L465">runtime.ts:465</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="typeindex"><span>type<wbr/>Index</span><a href="#typeindex" aria-label="Permal [...]
+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources"><p>Inherited from <a href="TVMObject.html">TVMObject</a>.<a href="TVMObject.html#typeindex">typeIndex</a></p><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L473">runtime.ts:473</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd- [...]
+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources"><p>Inherited from <a href="TVMObject.html">TVMObject</a>.<a href="TVMObject.html#typekey">typeKey</a></p><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L481">runtime.ts:481</a></li></ul></aside></div></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"> [...]
diff --git a/docs/reference/api/typedoc/classes/_internal_.RuntimeContext.html b/docs/reference/api/typedoc/classes/_internal_.RuntimeContext.html
index f6ddebe0cdd..190c9d449d6 100644
--- a/docs/reference/api/typedoc/classes/_internal_.RuntimeContext.html
+++ b/docs/reference/api/typedoc/classes/_internal_.RuntimeContext.html
@@ -1,5 +1,5 @@
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>RuntimeContext | tvmjs</title><meta name="description" content="Documentation for tvmjs"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../asset [...]
-</div></section><section class="tsd-panel"><h4>Implements</h4><ul class="tsd-hierarchy"><li><a href="../interfaces/Disposable.html" class="tsd-signature-type tsd-kind-interface">Disposable</a></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L156">runtime.ts:156</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-pan [...]
+</div></section><section class="tsd-panel"><h4>Implements</h4><ul class="tsd-hierarchy"><li><a href="../interfaces/Disposable.html" class="tsd-signature-type tsd-kind-interface">Disposable</a></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L156">runtime.ts:156</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-pan [...]
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="#applypresenceandfrequencypenalty" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>apply<wbr/>Presence<wbr/>And<wbr/>Frequency<wbr/>Penalty</span></a>
<a href="#applyrepetitionpenalty" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>apply<wbr/>Repetition<wbr/>Penalty</span></a>
<a href="#applysoftmaxwithtemperature" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>apply<wbr/>Softmax<wbr/>With<wbr/>Temperature</span></a>
@@ -34,14 +34,14 @@
<a href="#dispose" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>dispose</span></a>
<a href="#endscope" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>end<wbr/>Scope</span></a>
<a href="#movetoparentscope" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>move<wbr/>To<wbr/>Parent<wbr/>Scope</span></a>
-</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#con [...]
+</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#con [...]
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span id="attachtocurrentscopet"><span class="tsd-kind-type-parameter">T</span> <span class="tsd-signature-keyword">extends</span> <a href="../interfaces/Disposable.html" class="tsd-signature-type tsd-kind-interface">Disposable</a></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kin [...]
</div></li></ul></div><h4 class="tsd-returns-title">Returns <a class="tsd-signature-type tsd-kind-type-parameter" href="#attachtocurrentscopet">T</a></h4><p>the same object.</p>
<ul>
<li>Note: This function only needs to be called for raw system C API values.
The return value of PackedFunc will be automatically tracked.</li>
</ul>
-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L269">runtime.ts:269</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="beginscope"><span>begin<wbr/>Scope</span><a href="#beginscope" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use> [...]
+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L269">runtime.ts:269</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="beginscope"><span>begin<wbr/>Scope</span><a href="#beginscope" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use> [...]
This function can be called multiple times,
only the first call will take effect.</p>
-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/Disposable.html">Disposable</a>.<a href="../interfaces/Disposable.html#dispose">dispose</a></p><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L221">runtime.ts:221</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 [...]
+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/Disposable.html">Disposable</a>.<a href="../interfaces/Disposable.html#dispose">dispose</a></p><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L221">runtime.ts:221</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 [...]
diff --git a/docs/reference/api/typedoc/classes/_internal_.WebGPUContext.html b/docs/reference/api/typedoc/classes/_internal_.WebGPUContext.html
index e7b3001a84e..4e255cfd669 100644
--- a/docs/reference/api/typedoc/classes/_internal_.WebGPUContext.html
+++ b/docs/reference/api/typedoc/classes/_internal_.WebGPUContext.html
@@ -1,6 +1,6 @@
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>WebGPUContext | tvmjs</title><meta name="description" content="Documentation for tvmjs"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets [...]
Manages all the webgpu resources here.</p>
-</div></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/webgpu.ts#L398">webgpu.ts:398</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use [...]
+</div></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/webgpu.ts#L398">webgpu.ts:398</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use [...]
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="#device" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>device</span></a>
<a href="#memory" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>memory</span></a>
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="#bindcanvas" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>bind<wbr/>Canvas</span></a>
@@ -14,15 +14,15 @@ Manages all the webgpu resources here.</p>
<a href="#getdeviceapi" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Device<wbr/>API</span></a>
<a href="#runtimestatstext" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>runtime<wbr/>Stats<wbr/>Text</span></a>
<a href="#sync" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>sync</span></a>
-</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#con [...]
+</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#con [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">canvas</span>: <span class="tsd-signature-type">HTMLCanvasElement</span></span><div class="tsd-comment tsd-typography"><p>The HTML canvas/</p>
-</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/webgpu.ts#L560">webgpu.ts:560</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="clearcanvas"><span>clear<wbr/>Canvas</span><a href="#clearcanvas" aria-label="Permalink" class="t [...]
-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/webgpu.ts#L552">webgpu.ts:552</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="copyrawbytestobuffer"><span>copy<wbr/>Raw<wbr/>Bytes<wbr/>To<wbr/>Buffer</span><a href="#copyrawbytestobuffer" ar [...]
+</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/webgpu.ts#L560">webgpu.ts:560</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="clearcanvas"><span>clear<wbr/>Canvas</span><a href="#clearcanvas" aria-label="Permalink" class="t [...]
+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/webgpu.ts#L552">webgpu.ts:552</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="copyrawbytestobuffer"><span>copy<wbr/>Raw<wbr/>Bytes<wbr/>To<wbr/>Buffer</span><a href="#copyrawbytestobuffer" ar [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">rawBytes</span>: <span class="tsd-signature-type">Uint8Array</span></span><div class="tsd-comment tsd-typography"><p>The raw bytes</p>
</div></li><li><span><span class="tsd-kind-parameter">toPtr</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The target gpu buffer ptr</p>
</div></li><li><span><span class="tsd-kind-parameter">toOffset</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The beginning offset</p>
</div></li><li><span><span class="tsd-kind-parameter">nbytes</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>Number of bytes</p>
-</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/webgpu.ts#L533">webgpu.ts:533</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="createshader"><span>create<wbr/>Shader</span><a href="#createshader" aria-label="Permalink" class [...]
+</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/webgpu.ts#L533">webgpu.ts:533</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="createshader"><span>create<wbr/>Shader</span><a href="#createshader" aria-label="Permalink" class [...]
via createComputePipeline</p>
<ul>
<li></li>
@@ -30,7 +30,7 @@ via createComputePipeline</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">finfo</span>: <a href="../interfaces/_internal_.FunctionInfo.html" class="tsd-signature-type tsd-kind-interface">FunctionInfo</a></span><div class="tsd-comment tsd-typography"><p>The function information already parsed as a record.</p>
</div></li><li><span><span class="tsd-kind-parameter">code</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The shader data(in WGSL)</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Function</span></h4><p>The shader</p>
-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/webgpu.ts#L572">webgpu.ts:572</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="createshaderasync"><span>create<wbr/>Shader<wbr/>Async</span><a href="#createshaderasync" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icon [...]
+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/webgpu.ts#L572">webgpu.ts:572</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="createshaderasync"><span>create<wbr/>Shader<wbr/>Async</span><a href="#createshaderasync" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icon [...]
via createComputePipelineAsync</p>
<ul>
<li></li>
@@ -38,12 +38,12 @@ via createComputePipelineAsync</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">finfo</span>: <a href="../interfaces/_internal_.FunctionInfo.html" class="tsd-signature-type tsd-kind-interface">FunctionInfo</a></span><div class="tsd-comment tsd-typography"><p>The function information already parsed as a record.</p>
</div></li><li><span><span class="tsd-kind-parameter">code</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The shader data(in WGSL)</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">></span></h4><p>The shader</p>
-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/webgpu.ts#L584">webgpu.ts:584</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="dispose"><span>dispose</span><a href="#dispose" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><u [...]
-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/webgpu.ts#L468">webgpu.ts:468</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="drawimagefrombuffer"><span>draw<wbr/>Image<wbr/>From<wbr/>Buffer</span><a href="#drawimagefrombuffer" aria-label= [...]
+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/webgpu.ts#L584">webgpu.ts:584</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="dispose"><span>dispose</span><a href="#dispose" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><u [...]
+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/webgpu.ts#L468">webgpu.ts:468</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="drawimagefrombuffer"><span>draw<wbr/>Image<wbr/>From<wbr/>Buffer</span><a href="#drawimagefrombuffer" aria-label= [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">ptr</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The GPU ptr</p>
</div></li><li><span><span class="tsd-kind-parameter">height</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The height of the image.</p>
</div></li><li><span><span class="tsd-kind-parameter">width</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The width of the image.</p>
-</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/webgpu.ts#L518">webgpu.ts:518</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="flushcommands"><span>flush<wbr/>Commands</span><a href="#flushcommands" aria-label="Permalink" cl [...]
+</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/webgpu.ts#L518">webgpu.ts:518</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="flushcommands"><span>flush<wbr/>Commands</span><a href="#flushcommands" aria-label="Permalink" cl [...]
accumulated command encoder.</p>
<p>Must be called before:</p>
<ul>
@@ -53,10 +53,10 @@ accumulated command encoder.</p>
<li>Buffer deallocation (deviceFreeDataSpace)</li>
<li>Queue sync (sync)</li>
</ul>
-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/webgpu.ts#L454">webgpu.ts:454</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getdeviceapi"><span>get<wbr/>Device<wbr/>API</span><a href="#getdeviceapi" aria-label="Permalink" class="tsd-anch [...]
+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/webgpu.ts#L454">webgpu.ts:454</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getdeviceapi"><span>get<wbr/>Device<wbr/>API</span><a href="#getdeviceapi" aria-label="Permalink" class="tsd-anch [...]
*</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">name</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The name of the API.</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Function</span></h4><p>The corresponding device api.</p>
-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/webgpu.ts#L849">webgpu.ts:849</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="runtimestatstext"><span>runtime<wbr/>Stats<wbr/>Text</span><a href="#runtimestatstext" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.s [...]
-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/webgpu.ts#L505">webgpu.ts:505</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="sync"><span>sync</span><a href="#sync" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" [...]
-</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/webgpu.ts#L490">webgpu.ts:490</a></li></ul></aside></div></li></ul></section></section></details></div><div class="col-si [...]
+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/webgpu.ts#L849">webgpu.ts:849</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="runtimestatstext"><span>runtime<wbr/>Stats<wbr/>Text</span><a href="#runtimestatstext" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.s [...]
+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/webgpu.ts#L505">webgpu.ts:505</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="sync"><span>sync</span><a href="#sync" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" [...]
+</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/webgpu.ts#L490">webgpu.ts:490</a></li></ul></aside></div></li></ul></section></section></details></div><div class="col-si [...]
diff --git a/docs/reference/api/typedoc/enums/_internal_.AsyncifyStateKind.html b/docs/reference/api/typedoc/enums/_internal_.AsyncifyStateKind.html
index 713cef13718..a7c7e4c03b9 100644
--- a/docs/reference/api/typedoc/enums/_internal_.AsyncifyStateKind.html
+++ b/docs/reference/api/typedoc/enums/_internal_.AsyncifyStateKind.html
@@ -1,5 +1,5 @@
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>AsyncifyStateKind | tvmjs</title><meta name="description" content="Documentation for tvmjs"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../as [...]
-</div></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/asyncify.ts#L30">asyncify.ts:30</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><u [...]
+</div></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/asyncify.ts#L30">asyncify.ts:30</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><u [...]
<a href="#rewinding" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Enumeration Member"><use href="../assets/icons.svg#icon-16"></use></svg><span>Rewinding</span></a>
<a href="#unwinding" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Enumeration Member"><use href="../assets/icons.svg#icon-16"></use></svg><span>Unwinding</span></a>
-</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Enumeration Members"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Enumeration Members</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="none"><span>None</span><a href="#non [...]
+</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Enumeration Members"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Enumeration Members</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="none"><span>None</span><a href="#non [...]
diff --git a/docs/reference/api/typedoc/enums/_internal_.RPCServerState.html b/docs/reference/api/typedoc/enums/_internal_.RPCServerState.html
index 88dbf0d809c..e303785da94 100644
--- a/docs/reference/api/typedoc/enums/_internal_.RPCServerState.html
+++ b/docs/reference/api/typedoc/enums/_internal_.RPCServerState.html
@@ -1,7 +1,7 @@
-<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>RPCServerState | tvmjs</title><meta name="description" content="Documentation for tvmjs"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../asset [...]
+<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>RPCServerState | tvmjs</title><meta name="description" content="Documentation for tvmjs"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../asset [...]
<a href="#initheaderkey" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Enumeration Member"><use href="../assets/icons.svg#icon-16"></use></svg><span>Init<wbr/>Header<wbr/>Key</span></a>
<a href="#initserver" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Enumeration Member"><use href="../assets/icons.svg#icon-16"></use></svg><span>Init<wbr/>Server</span></a>
<a href="#receivepacketbody" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Enumeration Member"><use href="../assets/icons.svg#icon-16"></use></svg><span>Receive<wbr/>Packet<wbr/>Body</span></a>
<a href="#receivepacketheader" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Enumeration Member"><use href="../assets/icons.svg#icon-16"></use></svg><span>Receive<wbr/>Packet<wbr/>Header</span></a>
<a href="#waitforcallback" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Enumeration Member"><use href="../assets/icons.svg#icon-16"></use></svg><span>Wait<wbr/>For<wbr/>Callback</span></a>
-</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Enumeration Members"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Enumeration Members</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="initheader"><span>Init<wbr/>Header</ [...]
+</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Enumeration Members"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Enumeration Members</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="initheader"><span>Init<wbr/>Header</ [...]
diff --git a/docs/reference/api/typedoc/functions/assert.html b/docs/reference/api/typedoc/functions/assert.html
index 0362ccb660b..b6fc45f8e60 100644
--- a/docs/reference/api/typedoc/functions/assert.html
+++ b/docs/reference/api/typedoc/functions/assert.html
@@ -1,4 +1,4 @@
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>assert | tvmjs</title><meta name="description" content="Documentation for tvmjs"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons. [...]
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">condition</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>The condition to fail.</p>
</div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">msg</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The message.</p>
-</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-keyword">asserts</span> <span class="tsd-kind-parameter">condition</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/support.ts#L65">support.ts:65</a></li></ul></aside></div></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd- [...]
+</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-keyword">asserts</span> <span class="tsd-kind-parameter">condition</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/support.ts#L65">support.ts:65</a></li></ul></aside></div></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd- [...]
diff --git a/docs/reference/api/typedoc/functions/createPolyfillWASI.html b/docs/reference/api/typedoc/functions/createPolyfillWASI.html
index 5a18ab8110d..a891a203996 100644
--- a/docs/reference/api/typedoc/functions/createPolyfillWASI.html
+++ b/docs/reference/api/typedoc/functions/createPolyfillWASI.html
@@ -1,3 +1,3 @@
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>createPolyfillWASI | tvmjs</title><meta name="description" content="Documentation for tvmjs"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../a [...]
</div><h4 class="tsd-returns-title">Returns <a href="../interfaces/LibraryProvider.html" class="tsd-signature-type tsd-kind-interface">LibraryProvider</a></h4><p>A wasi that can run on broswer or local.</p>
-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/compact.ts#L53">compact.ts:53</a></li></ul></aside></div></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon- [...]
+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/compact.ts#L53">compact.ts:53</a></li></ul></aside></div></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon- [...]
diff --git a/docs/reference/api/typedoc/functions/deleteTensorCache.html b/docs/reference/api/typedoc/functions/deleteTensorCache.html
index cfb9dad6c28..3d206193db5 100644
--- a/docs/reference/api/typedoc/functions/deleteTensorCache.html
+++ b/docs/reference/api/typedoc/functions/deleteTensorCache.html
@@ -2,4 +2,4 @@
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">cacheUrl</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The cacheUrl for the items</p>
</div></li><li><span><span class="tsd-kind-parameter">cacheScope</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = "tvmjs"</span></span><div class="tsd-comment tsd-typography"><p>The scope identifier of the cache</p>
</div></li><li><span><span class="tsd-kind-parameter">cacheType</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = "cache"</span></span><div class="tsd-comment tsd-typography"><p>The type of the cache: "cache" or "indexedDB"</p>
-</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/artifact_cache.ts#L396">artifact_cache.ts:396</a></li></ul></aside></div></li></ul></section></div><div c [...]
+</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/artifact_cache.ts#L396">artifact_cache.ts:396</a></li></ul></aside></div></li></ul></section></div><div c [...]
diff --git a/docs/reference/api/typedoc/functions/detectGPUDevice.html b/docs/reference/api/typedoc/functions/detectGPUDevice.html
index a3ac97fe877..9eb586ec81b 100644
--- a/docs/reference/api/typedoc/functions/detectGPUDevice.html
+++ b/docs/reference/api/typedoc/functions/detectGPUDevice.html
@@ -1,2 +1,2 @@
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>detectGPUDevice | tvmjs</title><meta name="description" content="Documentation for tvmjs"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../asse [...]
-</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">powerPreference</span>: <span class="tsd-signature-type">"low-power"</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"high-performance"</span><span class="tsd-signature-symbol"> = "high-performance"</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <spa [...]
+</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">powerPreference</span>: <span class="tsd-signature-type">"low-power"</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"high-performance"</span><span class="tsd-signature-symbol"> = "high-performance"</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <spa [...]
diff --git a/docs/reference/api/typedoc/functions/hasTensorInCache.html b/docs/reference/api/typedoc/functions/hasTensorInCache.html
index 6f2210db533..442299555b8 100644
--- a/docs/reference/api/typedoc/functions/hasTensorInCache.html
+++ b/docs/reference/api/typedoc/functions/hasTensorInCache.html
@@ -3,4 +3,4 @@
</div></li><li><span><span class="tsd-kind-parameter">cacheScope</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = "tvmjs"</span></span><div class="tsd-comment tsd-typography"><p>The scope identifier of the cache</p>
</div></li><li><span><span class="tsd-kind-parameter">cacheType</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = "cache"</span></span><div class="tsd-comment tsd-typography"><p>The type of the cache: "cache" or "indexedDB"</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span></h4><p>the result if the cache has Tensor</p>
-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/artifact_cache.ts#L364">artifact_cache.ts:364</a></li></ul></aside></div></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets [...]
+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/artifact_cache.ts#L364">artifact_cache.ts:364</a></li></ul></aside></div></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets [...]
diff --git a/docs/reference/api/typedoc/functions/instantiate.html b/docs/reference/api/typedoc/functions/instantiate.html
index a680f39d2f9..559a4cdff05 100644
--- a/docs/reference/api/typedoc/functions/instantiate.html
+++ b/docs/reference/api/typedoc/functions/instantiate.html
@@ -6,4 +6,4 @@ by passing its generated js Module as the imports.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">bufferSource</span>: <span class="tsd-signature-type">ArrayBuffer</span></span><div class="tsd-comment tsd-typography"><p>The source to be compiled.</p>
</div></li><li><span><span class="tsd-kind-parameter">importObject</span>: <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = {}</span></span><div class="tsd-comment tsd-typography"><p>The import objects.</p>
</div></li><li><span><span class="tsd-kind-parameter">logger</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">msg</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol"> = console.log</span></span><div class="tsd-comment tsd-typography"><p>The s [...]
-</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../classes/Instance.html" class="tsd-signature-type tsd-kind-class">Instance</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L2326">runtime.ts:2326</a></li></ul></aside></div [...]
+</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../classes/Instance.html" class="tsd-signature-type tsd-kind-class">Instance</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L2326">runtime.ts:2326</a></li></ul></aside></div [...]
diff --git a/docs/reference/api/typedoc/functions/wasmPath.html b/docs/reference/api/typedoc/functions/wasmPath.html
index 7ee205e8782..606a1851265 100644
--- a/docs/reference/api/typedoc/functions/wasmPath.html
+++ b/docs/reference/api/typedoc/functions/wasmPath.html
@@ -1,3 +1,3 @@
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>wasmPath | tvmjs</title><meta name="description" content="Documentation for tvmjs"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icon [...]
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><p>The wasm path.</p>
-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/support.ts#L75">support.ts:75</a></li></ul></aside></div></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon- [...]
+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/support.ts#L75">support.ts:75</a></li></ul></aside></div></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon- [...]
diff --git a/docs/reference/api/typedoc/interfaces/ArtifactCacheTemplate.html b/docs/reference/api/typedoc/interfaces/ArtifactCacheTemplate.html
index 43bfd690de5..474bf35b3eb 100644
--- a/docs/reference/api/typedoc/interfaces/ArtifactCacheTemplate.html
+++ b/docs/reference/api/typedoc/interfaces/ArtifactCacheTemplate.html
@@ -1,5 +1,5 @@
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>ArtifactCacheTemplate | tvmjs</title><meta name="description" content="Documentation for tvmjs"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src=". [...]
-</div></section><div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">ArtifactCacheTemplate</span> <span class="tsd-signature-symbol">{</span><br/> <a class="tsd-kind-call-signature" href="#addtocache-1">addToCache</a><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">url</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signat [...]
+</div></section><div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">ArtifactCacheTemplate</span> <span class="tsd-signature-symbol">{</span><br/> <a class="tsd-kind-call-signature" href="#addtocache-1">addToCache</a><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">url</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signat [...]
<a href="#deleteincache" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>delete<wbr/>In<wbr/>Cache</span></a>
<a href="#fetchwithcache" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>fetch<wbr/>With<wbr/>Cache</span></a>
<a href="#hasallkeys" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>has<wbr/>All<wbr/>Keys</span></a>
@@ -20,11 +20,11 @@ data rather than a request, we specify <code>storagetype</code>. There are two o
<ul>
<li>Note: This is an async function.</li>
</ul>
-</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/artifact_cache.ts#L69">artifact_cache.ts:69</a></li></ul></aside></div></li></ul></section><section class [...]
+</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/artifact_cache.ts#L69">artifact_cache.ts:69</a></li></ul></aside></div></li></ul></section><section class [...]
<ul>
<li>Note: This is an async function.</li>
</ul>
-</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">url</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><u [...]
+</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">url</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><u [...]
cache, fetch the data and then add to cache.</p>
<ul>
<li></li>
@@ -46,8 +46,8 @@ return the actual data object rather than the request. There are two options:</p
<ul>
<li>Note: This is an async function.</li>
</ul>
-<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/artifact_cache.ts#L55">artifact_cache.ts:55</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="hasallkeys"><span>has<wbr/>All<wbr/>Keys</span><a href="#hasallkeys" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#i [...]
+<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/artifact_cache.ts#L55">artifact_cache.ts:55</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="hasallkeys"><span>has<wbr/>All<wbr/>Keys</span><a href="#hasallkeys" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#i [...]
<ul>
<li>Note: This is an async function.</li>
</ul>
-</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">keys</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbo [...]
+</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">keys</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbo [...]
diff --git a/docs/reference/api/typedoc/interfaces/Disposable.html b/docs/reference/api/typedoc/interfaces/Disposable.html
index ca0594cb6d9..f1e732e35aa 100644
--- a/docs/reference/api/typedoc/interfaces/Disposable.html
+++ b/docs/reference/api/typedoc/interfaces/Disposable.html
@@ -1,7 +1,7 @@
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Disposable | tvmjs</title><meta name="description" content="Documentation for tvmjs"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/ic [...]
which needs to be explicitly disposed.</p>
-</div></section><div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">Disposable</span> <span class="tsd-signature-symbol">{</span><br/> <a class="tsd-kind-property" href="#dispose">dispose</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">()</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">;</span><br/><span cl [...]
+</div></section><div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">Disposable</span> <span class="tsd-signature-symbol">{</span><br/> <a class="tsd-kind-property" href="#dispose">dispose</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">()</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">;</span><br/><span cl [...]
</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="dispose"><span>dispose</span><a href="#dispose" aria-l [...]
This function can be called multiple times,
only the first call will take effect.</p>
-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/types.ts#L52">types.ts:52</a></li></ul></aside></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg [...]
+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/types.ts#L52">types.ts:52</a></li></ul></aside></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg [...]
diff --git a/docs/reference/api/typedoc/interfaces/GPUDeviceDetectOutput.html b/docs/reference/api/typedoc/interfaces/GPUDeviceDetectOutput.html
index d94ec745a83..595289d1583 100644
--- a/docs/reference/api/typedoc/interfaces/GPUDeviceDetectOutput.html
+++ b/docs/reference/api/typedoc/interfaces/GPUDeviceDetectOutput.html
@@ -1,4 +1,4 @@
-<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>GPUDeviceDetectOutput | tvmjs</title><meta name="description" content="Documentation for tvmjs"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src=". [...]
+<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>GPUDeviceDetectOutput | tvmjs</title><meta name="description" content="Documentation for tvmjs"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src=". [...]
<a href="#adapterinfo" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>adapter<wbr/>Info</span></a>
<a href="#device" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>device</span></a>
-</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="adapter"><span>adapter</span><a href="#adapter" aria-l [...]
+</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="adapter"><span>adapter</span><a href="#adapter" aria-l [...]
diff --git a/docs/reference/api/typedoc/interfaces/InitProgressReport.html b/docs/reference/api/typedoc/interfaces/InitProgressReport.html
index ba9677ea440..1c56e72d215 100644
--- a/docs/reference/api/typedoc/interfaces/InitProgressReport.html
+++ b/docs/reference/api/typedoc/interfaces/InitProgressReport.html
@@ -1,4 +1,4 @@
-<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>InitProgressReport | tvmjs</title><meta name="description" content="Documentation for tvmjs"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../a [...]
+<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>InitProgressReport | tvmjs</title><meta name="description" content="Documentation for tvmjs"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../a [...]
<a href="#text" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>text</span></a>
<a href="#timeelapsed" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>time<wbr/>Elapsed</span></a>
-</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="progress"><span>progress</span><a href="#progress" ari [...]
+</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="progress"><span>progress</span><a href="#progress" ari [...]
diff --git a/docs/reference/api/typedoc/interfaces/LibraryProvider.html b/docs/reference/api/typedoc/interfaces/LibraryProvider.html
index da49b72123e..9299f0302eb 100644
--- a/docs/reference/api/typedoc/interfaces/LibraryProvider.html
+++ b/docs/reference/api/typedoc/interfaces/LibraryProvider.html
@@ -4,9 +4,9 @@ syslibs(e.g. libs provided by WASI and beyond) for the Wasm runtime.</p>
<p>The <a href="#start" class="tsd-kind-property">LibraryProvider.start</a> callback will be called
to allow the library provider to initialize related resources during startup time.</p>
<p>We can use Emscripten generated js Module as a { wasmLibraryProvider: LibraryProvider }.</p>
-</div></section><div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">LibraryProvider</span> <span class="tsd-signature-symbol">{</span><br/> <a class="tsd-kind-property" href="#imports">imports</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span> <span [...]
+</div></section><div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">LibraryProvider</span> <span class="tsd-signature-symbol">{</span><br/> <a class="tsd-kind-property" href="#imports">imports</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span> <span [...]
<a href="#start" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>start</span></a>
</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="imports"><span>imports</span><a href="#imports" aria-l [...]
-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/types.ts#L34">types.ts:34</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="start"><span>start</span><a href="#start" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signat [...]
+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/types.ts#L34">types.ts:34</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="start"><span>start</span><a href="#start" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signat [...]
</div><div class="tsd-type-declaration"><h4>Type Declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">inst</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Instance</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span>< [...]
-</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/types.ts#L39">types.ts:39</a></li></ul></aside></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd [...]
+</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/types.ts#L39">types.ts:39</a></li></ul></aside></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd [...]
diff --git a/docs/reference/api/typedoc/interfaces/_internal_.FunctionInfo.html b/docs/reference/api/typedoc/interfaces/_internal_.FunctionInfo.html
index 8564b67008e..1b00806aba8 100644
--- a/docs/reference/api/typedoc/interfaces/_internal_.FunctionInfo.html
+++ b/docs/reference/api/typedoc/interfaces/_internal_.FunctionInfo.html
@@ -1,5 +1,5 @@
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>FunctionInfo | tvmjs</title><meta name="description" content="Documentation for tvmjs"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/ [...]
-</div></section><div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">FunctionInfo</span> <span class="tsd-signature-symbol">{</span><br/> <a class="tsd-kind-property" href="#arg_types">arg_types</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#launch_pa [...]
+</div></section><div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">FunctionInfo</span> <span class="tsd-signature-symbol">{</span><br/> <a class="tsd-kind-property" href="#arg_types">arg_types</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#launch_pa [...]
<a href="#launch_param_tags" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>launch_<wbr/>param_<wbr/>tags</span></a>
<a href="#name" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>name</span></a>
-</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="arg_types"><span>arg_<wbr/>types</span><a href="#arg_t [...]
+</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="arg_types"><span>arg_<wbr/>types</span><a href="#arg_t [...]
diff --git a/docs/reference/api/typedoc/interfaces/_internal_.TensorCacheEntry.html b/docs/reference/api/typedoc/interfaces/_internal_.TensorCacheEntry.html
index 2b4d54f531d..dc181156aea 100644
--- a/docs/reference/api/typedoc/interfaces/_internal_.TensorCacheEntry.html
+++ b/docs/reference/api/typedoc/interfaces/_internal_.TensorCacheEntry.html
@@ -1,7 +1,7 @@
-<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>TensorCacheEntry | tvmjs</title><meta name="description" content="Documentation for tvmjs"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../ass [...]
+<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>TensorCacheEntry | tvmjs</title><meta name="description" content="Documentation for tvmjs"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../ass [...]
<a href="#dtype" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>dtype</span></a>
<a href="#format" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>format</span></a>
<a href="#name" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>name</span></a>
<a href="#nbytes" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>nbytes</span></a>
<a href="#shape" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>shape</span></a>
-</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="byteoffset"><span>byte<wbr/>Offset</span><a href="#byt [...]
+</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="byteoffset"><span>byte<wbr/>Offset</span><a href="#byt [...]
diff --git a/docs/reference/api/typedoc/interfaces/_internal_.TensorShardEntry.html b/docs/reference/api/typedoc/interfaces/_internal_.TensorShardEntry.html
index 53e1ad39310..904010c70b8 100644
--- a/docs/reference/api/typedoc/interfaces/_internal_.TensorShardEntry.html
+++ b/docs/reference/api/typedoc/interfaces/_internal_.TensorShardEntry.html
@@ -1,5 +1,5 @@
-<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>TensorShardEntry | tvmjs</title><meta name="description" content="Documentation for tvmjs"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../ass [...]
+<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>TensorShardEntry | tvmjs</title><meta name="description" content="Documentation for tvmjs"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../ass [...]
<a href="#format" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>format</span></a>
<a href="#nbytes" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>nbytes</span></a>
<a href="#records" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>records</span></a>
-</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="datapath"><span>data<wbr/>Path</span><a href="#datapat [...]
+</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="datapath"><span>data<wbr/>Path</span><a href="#datapat [...]
diff --git a/docs/reference/api/typedoc/types/InitProgressCallback.html b/docs/reference/api/typedoc/types/InitProgressCallback.html
index 117614930db..89e70031eca 100644
--- a/docs/reference/api/typedoc/types/InitProgressCallback.html
+++ b/docs/reference/api/typedoc/types/InitProgressCallback.html
@@ -1 +1 @@
-<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>InitProgressCallback | tvmjs</title><meta name="description" content="Documentation for tvmjs"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src=".. [...]
+<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>InitProgressCallback | tvmjs</title><meta name="description" content="Documentation for tvmjs"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src=".. [...]
diff --git a/docs/reference/api/typedoc/types/PackedFunc.html b/docs/reference/api/typedoc/types/PackedFunc.html
index fcc62ba26c9..fd2b6726108 100644
--- a/docs/reference/api/typedoc/types/PackedFunc.html
+++ b/docs/reference/api/typedoc/types/PackedFunc.html
@@ -1,2 +1,2 @@
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>PackedFunc | tvmjs</title><meta name="description" content="Documentation for tvmjs"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/ic [...]
-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L43">runtime.ts:43</a></li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use>< [...]
+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L43">runtime.ts:43</a></li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use>< [...]
diff --git a/docs/reference/api/typedoc/types/_internal_.AsyncPackedFunc.html b/docs/reference/api/typedoc/types/_internal_.AsyncPackedFunc.html
index 3659b19d19d..8d4f18dbbd1 100644
--- a/docs/reference/api/typedoc/types/_internal_.AsyncPackedFunc.html
+++ b/docs/reference/api/typedoc/types/_internal_.AsyncPackedFunc.html
@@ -1,3 +1,3 @@
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>AsyncPackedFunc | tvmjs</title><meta name="description" content="Documentation for tvmjs"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../asse [...]
possibly may contain stack unwinding through Asynctify</p>
-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L50">runtime.ts:50</a></li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use>< [...]
+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L50">runtime.ts:50</a></li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use>< [...]
diff --git a/docs/reference/api/typedoc/types/_internal_.FObjectConstructor.html b/docs/reference/api/typedoc/types/_internal_.FObjectConstructor.html
index 4161e1cdc3e..478420e872e 100644
--- a/docs/reference/api/typedoc/types/_internal_.FObjectConstructor.html
+++ b/docs/reference/api/typedoc/types/_internal_.FObjectConstructor.html
@@ -1,2 +1,2 @@
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>FObjectConstructor | tvmjs</title><meta name="description" content="Documentation for tvmjs"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../a [...]
-</div><div class="tsd-type-declaration"><h4>Type Declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature" id="__type"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">handle</span><span class="tsd-signature-symbol">:</span> <a href="_internal_.Pointer.html" class="tsd-signature-type tsd-kind-type-alias">Pointer</a><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-paramete [...]
+</div><div class="tsd-type-declaration"><h4>Type Declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature" id="__type"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">handle</span><span class="tsd-signature-symbol">:</span> <a href="_internal_.Pointer.html" class="tsd-signature-type tsd-kind-type-alias">Pointer</a><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-paramete [...]
diff --git a/docs/reference/api/typedoc/types/_internal_.FTVMFFIWasmSafeCallType.html b/docs/reference/api/typedoc/types/_internal_.FTVMFFIWasmSafeCallType.html
index 76075276278..0479f7b9df1 100644
--- a/docs/reference/api/typedoc/types/_internal_.FTVMFFIWasmSafeCallType.html
+++ b/docs/reference/api/typedoc/types/_internal_.FTVMFFIWasmSafeCallType.html
@@ -1,3 +1,3 @@
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>FTVMFFIWasmSafeCallType | tvmjs</title><meta name="description" content="Documentation for tvmjs"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src= [...]
int32_t num_args, TVMFFIAny* result);</p>
-</div><div class="tsd-type-declaration"><h4>Type Declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature" id="__type"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">self</span><span class="tsd-signature-symbol">:</span> <a href="_internal_.Pointer.html" class="tsd-signature-type tsd-kind-type-alias">Pointer</a><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter" [...]
+</div><div class="tsd-type-declaration"><h4>Type Declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature" id="__type"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">self</span><span class="tsd-signature-symbol">:</span> <a href="_internal_.Pointer.html" class="tsd-signature-type tsd-kind-type-alias">Pointer</a><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter" [...]
diff --git a/docs/reference/api/typedoc/types/_internal_.FTVMWasmAllocSpace.html b/docs/reference/api/typedoc/types/_internal_.FTVMWasmAllocSpace.html
index d8b1fb94f0b..81f2fe6f09a 100644
--- a/docs/reference/api/typedoc/types/_internal_.FTVMWasmAllocSpace.html
+++ b/docs/reference/api/typedoc/types/_internal_.FTVMWasmAllocSpace.html
@@ -1,2 +1,2 @@
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>FTVMWasmAllocSpace | tvmjs</title><meta name="description" content="Documentation for tvmjs"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../a [...]
-</div><div class="tsd-type-declaration"><h4>Type Declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature" id="__type"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">size</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="_internal_.Pointer.html" c [...]
+</div><div class="tsd-type-declaration"><h4>Type Declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature" id="__type"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">size</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="_internal_.Pointer.html" c [...]
diff --git a/docs/reference/api/typedoc/types/_internal_.FTVMWasmFreeSpace.html b/docs/reference/api/typedoc/types/_internal_.FTVMWasmFreeSpace.html
index b993cc25da8..33c1bba948c 100644
--- a/docs/reference/api/typedoc/types/_internal_.FTVMWasmFreeSpace.html
+++ b/docs/reference/api/typedoc/types/_internal_.FTVMWasmFreeSpace.html
@@ -1,2 +1,2 @@
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>FTVMWasmFreeSpace | tvmjs</title><meta name="description" content="Documentation for tvmjs"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../as [...]
-</div><div class="tsd-type-declaration"><h4>Type Declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature" id="__type"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">ptr</span><span class="tsd-signature-symbol">:</span> <a href="_internal_.Pointer.html" class="tsd-signature-type tsd-kind-type-alias">Pointer</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol" [...]
+</div><div class="tsd-type-declaration"><h4>Type Declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature" id="__type"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">ptr</span><span class="tsd-signature-symbol">:</span> <a href="_internal_.Pointer.html" class="tsd-signature-type tsd-kind-type-alias">Pointer</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol" [...]
diff --git a/docs/reference/api/typedoc/types/_internal_.Pointer.html b/docs/reference/api/typedoc/types/_internal_.Pointer.html
index 44c4a76f062..d306b97c503 100644
--- a/docs/reference/api/typedoc/types/_internal_.Pointer.html
+++ b/docs/reference/api/typedoc/types/_internal_.Pointer.html
@@ -1,2 +1,2 @@
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Pointer | tvmjs</title><meta name="description" content="Documentation for tvmjs"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons [...]
-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/ctypes.ts#L25">ctypes.ts:25</a></li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></s [...]
+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/ctypes.ts#L25">ctypes.ts:25</a></li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></s [...]
diff --git a/docs/reference/api/typedoc/types/_internal_.TVMObjectBase.html b/docs/reference/api/typedoc/types/_internal_.TVMObjectBase.html
index 89d27551d8d..8e502fc5f69 100644
--- a/docs/reference/api/typedoc/types/_internal_.TVMObjectBase.html
+++ b/docs/reference/api/typedoc/types/_internal_.TVMObjectBase.html
@@ -1,2 +1,2 @@
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>TVMObjectBase | tvmjs</title><meta name="description" content="Documentation for tvmjs"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets [...]
-</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/c0a305dfeb0848ccd06763753eb11ace8d72e7e6/web/src/runtime.ts#L740">runtime.ts:740</a></li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use [...]
+</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/apache/tvm/blob/9dfa116c942180e90092505d679b422ff3073410/web/src/runtime.ts#L740">runtime.ts:740</a></li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use [...]
diff --git a/docs/searchindex.js b/docs/searchindex.js
index da3304badf2..40c36be55f0 100644
--- a/docs/searchindex.js
+++ b/docs/searchindex.js
@@ -1 +1 @@
-Search.setIndex({"alltitles": {"1. Cross Compile TVM Runtime": [[40, "cross-compile-tvm-runtime"]], "1. The lack of numpy on device machine caused the RPC server can\u2019t be launched.": [[40, "the-lack-of-numpy-on-device-machine-caused-the-rpc-server-can-t-be-launched"]], "2. Pack and Deploy to Device Machine": [[40, "pack-and-deploy-to-device-machine"]], "2. The lack of cloudpickle on device machine caused the RPC server can\u2019t be launched.": [[40, "the-lack-of-cloudpickle-on-devi [...]
\ No newline at end of file
+Search.setIndex({"alltitles": {"1. Cross Compile TVM Runtime": [[40, "cross-compile-tvm-runtime"]], "1. The lack of numpy on device machine caused the RPC server can\u2019t be launched.": [[40, "the-lack-of-numpy-on-device-machine-caused-the-rpc-server-can-t-be-launched"]], "2. Pack and Deploy to Device Machine": [[40, "pack-and-deploy-to-device-machine"]], "2. The lack of cloudpickle on device machine caused the RPC server can\u2019t be launched.": [[40, "the-lack-of-cloudpickle-on-devi [...]
\ No newline at end of file
diff --git a/docs/sg_execution_times.html b/docs/sg_execution_times.html
index ca46a4b0aca..cc48bd75387 100644
--- a/docs/sg_execution_times.html
+++ b/docs/sg_execution_times.html
@@ -294,7 +294,7 @@
<section id="computation-times">
<span id="sphx-glr-sg-execution-times"></span><h1>Computation times<a class="headerlink" href="#computation-times" title="Link to this heading"></a></h1>
-<p><strong>00:40.727</strong> total execution time for 11 files <strong>from all galleries</strong>:</p>
+<p><strong>00:37.563</strong> total execution time for 11 files <strong>from all galleries</strong>:</p>
<div class="docutils container">
<style scoped>
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/5.3.0/css/bootstrap.min.css" rel="stylesheet" />
@@ -316,31 +316,31 @@ $(document).ready( function () {
</thead>
<tbody>
<tr class="row-even"><td><p><a class="reference internal" href="how_to/tutorials/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">../how_to/tutorials/optimize_llm.py</span></code>)</p></td>
-<td><p>00:28.466</p></td>
+<td><p>00:28.125</p></td>
<td><p>0.0</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="get_started/tutorials/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">../get_started/tutorials/ir_module.py</span></code>)</p></td>
-<td><p>00:09.568</p></td>
+<td><p>00:06.962</p></td>
<td><p>0.0</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="how_to/tutorials/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">../how_to/tutorials/e2e_opt_model.py</span></code>)</p></td>
-<td><p>00:00.816</p></td>
+<td><p>00:00.699</p></td>
<td><p>0.0</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="how_to/tutorials/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">../how_to/tutorials/customize_opt.py</span></code>)</p></td>
-<td><p>00:00.629</p></td>
+<td><p>00:00.553</p></td>
<td><p>0.0</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="how_to/tutorials/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">../how_to/tutorials/cross_compilation_and_rpc.py</span></code>)</p></td>
-<td><p>00:00.491</p></td>
+<td><p>00:00.478</p></td>
<td><p>0.0</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="deep_dive/tensor_ir/tutorials/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">../deep_dive/tensor_ir/tutorials/tir_transformation.py</span></code>)</p></td>
-<td><p>00:00.270</p></td>
+<td><p>00:00.265</p></td>
<td><p>0.0</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="deep_dive/tensor_ir/tutorials/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">../deep_dive/tensor_ir/tutorials/tir_creation.py</span></code>)</p></td>
-<td><p>00:00.170</p></td>
+<td><p>00:00.168</p></td>
<td><p>0.0</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="get_started/tutorials/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">../get_started/tutorials/quick_start.py</span></code>)</p></td>
@@ -348,11 +348,11 @@ $(document).ready( function () {
<td><p>0.0</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="deep_dive/relax/tutorials/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">../deep_dive/relax/tutorials/relax_creation.py</span></code>)</p></td>
-<td><p>00:00.105</p></td>
+<td><p>00:00.102</p></td>
<td><p>0.0</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="deep_dive/relax/tutorials/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">../deep_dive/relax/tutorials/relax_transformation.py</span></code>)</p></td>
-<td><p>00:00.054</p></td>
+<td><p>00:00.053</p></td>
<td><p>0.0</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="how_to/tutorials/export_and_load_executable.html#sphx-glr-how-to-tutorials-export-and-load-executable-py"><span class="std std-ref">Export and Load Relax Executables</span></a> (<code class="docutils literal notranslate"><span class="pre">../how_to/tutorials/export_and_load_executable.py</span></code>)</p></td>