mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-31 23:27:43 +00:00
Fix bug in DispatchOnTensorType macro (#4808)
This commit is contained in:
parent
5899c1197a
commit
ea3b4e1f8d
1 changed files with 1 additions and 1 deletions
|
|
@ -112,7 +112,7 @@ constexpr ONNX_NAMESPACE::TensorProto_DataType ToTensorProtoElementType<BFloat16
|
|||
function<int8_t>(__VA_ARGS__); \
|
||||
break; \
|
||||
case ONNX_NAMESPACE::TensorProto_DataType_UINT8: \
|
||||
function<uint32_t>(__VA_ARGS__); \
|
||||
function<uint8_t>(__VA_ARGS__); \
|
||||
break; \
|
||||
case ONNX_NAMESPACE::TensorProto_DataType_INT16: \
|
||||
function<int16_t>(__VA_ARGS__); \
|
||||
|
|
|
|||
Loading…
Reference in a new issue