Skip to content

Commit

Permalink
Add uint8_t support for DepthToSpace 11
Browse files Browse the repository at this point in the history
  • Loading branch information
yihonglyu committed Dec 12, 2024
1 parent e00b426 commit cd6ec1b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion onnxruntime/core/providers/cpu/tensor/space_depth_ops.cc
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ ONNX_CPU_OPERATOR_VERSIONED_KERNEL(
12,
KernelDefBuilder()
.TypeConstraint("T", {DataTypeImpl::GetTensorType<float>(),
DataTypeImpl::GetTensorType<double>()}),
DataTypeImpl::GetTensorType<double>(),
DataTypeImpl::GetTensorType<uint8_t>()}),
DepthToSpace);

ONNX_CPU_OPERATOR_KERNEL(
Expand Down

0 comments on commit cd6ec1b

Please sign in to comment.