Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
Signed-off-by: Liqun Fu <[email protected]>
  • Loading branch information
liqunfu committed Oct 25, 2023
1 parent 05aaf33 commit c1288a3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions onnxruntime/core/providers/cpu/tensor/grid_sample.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,12 @@ namespace onnxruntime {
.TypeConstraint("T2", DataTypeImpl::GetTensorType<T>()), \
GridSample<T>);

#define REGISTER_KERNEL_TYPED20(T) \
#define REGISTER_KERNEL_TYPED20(T) \
ONNX_OPERATOR_TYPED_KERNEL_EX(GridSample, kOnnxDomain, 20, T, kCpuExecutionProvider, \
KernelDefBuilder() \
.TypeConstraint("T1", DataTypeImpl::GetTensorType<T>()) \
.TypeConstraint("T2", DataTypeImpl::GetTensorType<T>()),
.TypeConstraint("T2", DataTypeImpl::GetTensorType<T>()), \
GridSample<T>);

REGISTER_KERNEL_TYPED(float)
REGISTER_KERNEL_TYPED20(float)
Expand Down

0 comments on commit c1288a3

Please sign in to comment.