You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by "mshr-h (via GitHub)" <gi...@apache.org> on 2025/05/26 12:51:08 UTC

[PR] [Relax][ONNX] Replace deprecated `mapping.TENSOR_TYPE_TO_NP_TYPE` usage [tvm]

mshr-h opened a new pull request, #18016:
URL: https://github.com/apache/tvm/pull/18016

   Replace `mapping.TENSOR_TYPE_TO_NP_TYPE` with `helper.tensor_dtype_to_np_dtype()`
   
   ```
   tvm/python/tvm/relax/frontend/onnx/onnx_frontend.py:69: DeprecationWarning: `mapping.TENSOR_TYPE_TO_NP_TYPE` is now deprecated and will be removed in a future release.To silence this warning, please use `helper.tensor_dtype_to_np_dtype` instead.
       return str(TENSOR_TYPE_TO_NP_TYPE[elem_type])
   ```
   
   ref: https://github.com/onnx/onnx/issues/4554


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Relax][ONNX] Replace deprecated `mapping.TENSOR_TYPE_TO_NP_TYPE` usage [tvm]

Posted by "tqchen (via GitHub)" <gi...@apache.org>.
tqchen merged PR #18016:
URL: https://github.com/apache/tvm/pull/18016


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org