wangxiang2713 opened a new pull request #9072:
URL: https://github.com/apache/tvm/pull/9072


   Hi, i just run a tensorflow model with TVM. My model has 317 inputs so i 
find create NDArray inputs for model is time consuming. 
   
   Code:
   ```
   dtype = DataType(dtype)
   ```
   is used in function NDArray.empty when create NDArray. If dtype is 
numpy.dtype, function DataType will convert it to str, and i find this convert 
is time consuming, about 0.83ms for my model. 
   
   So i use a table to avoid convert numpy.dtype to str.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to