You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I was using ortvalue_from_numpy_with_onnx_type, it occurred to me that the input dtypes are already known by the inference session which could simply reinterpret cast any 16-bit input (like uint16) into the desired onnx type. I wonder why we need to specify the types again in ortvalue_from_numpy_with_onnx_type?