From cd6ec1b79f69345ebe8a1392c4433745d84374fd Mon Sep 17 00:00:00 2001 From: Yi-Hong Lyu Date: Thu, 12 Dec 2024 15:05:25 +0000 Subject: [PATCH] Add uint8_t support for DepthToSpace 11 --- onnxruntime/core/providers/cpu/tensor/space_depth_ops.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/onnxruntime/core/providers/cpu/tensor/space_depth_ops.cc b/onnxruntime/core/providers/cpu/tensor/space_depth_ops.cc index edddc837ad49b..3dba04c895c1f 100644 --- a/onnxruntime/core/providers/cpu/tensor/space_depth_ops.cc +++ b/onnxruntime/core/providers/cpu/tensor/space_depth_ops.cc @@ -43,7 +43,8 @@ ONNX_CPU_OPERATOR_VERSIONED_KERNEL( 12, KernelDefBuilder() .TypeConstraint("T", {DataTypeImpl::GetTensorType(), - DataTypeImpl::GetTensorType()}), + DataTypeImpl::GetTensorType(), + DataTypeImpl::GetTensorType()}), DepthToSpace); ONNX_CPU_OPERATOR_KERNEL(