From ea3b4e1f8da7949fc90a6dbe07c6759ec4369a9b Mon Sep 17 00:00:00 2001 From: Hariharan Seshadri Date: Mon, 17 Aug 2020 01:16:01 -0700 Subject: [PATCH] Fix bug in DispatchOnTensorType macro (#4808) --- include/onnxruntime/core/framework/data_types_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/onnxruntime/core/framework/data_types_internal.h b/include/onnxruntime/core/framework/data_types_internal.h index 00d818b65e..1f154fc53e 100644 --- a/include/onnxruntime/core/framework/data_types_internal.h +++ b/include/onnxruntime/core/framework/data_types_internal.h @@ -112,7 +112,7 @@ constexpr ONNX_NAMESPACE::TensorProto_DataType ToTensorProtoElementType(__VA_ARGS__); \ break; \ case ONNX_NAMESPACE::TensorProto_DataType_UINT8: \ - function(__VA_ARGS__); \ + function(__VA_ARGS__); \ break; \ case ONNX_NAMESPACE::TensorProto_DataType_INT16: \ function(__VA_ARGS__); \