Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions onnxruntime/core/providers/cpu/tensor/pad.cc
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,7 @@ ONNX_CPU_OPERATOR_KERNEL(
.TypeConstraint(
"T",
BuildKernelDefConstraintsFromTypeList<Pad13Types>(),
BuildKernelDefConstraintsFromTypeList<EnabledPad13Types>())
.FixedTypeConstraintForHash(
"T",
BuildKernelDefConstraintsFromTypeList<Pad11Types>()),
BuildKernelDefConstraintsFromTypeList<EnabledPad13Types>()),
Pad);

// This is the general padding method to n-dimensionally do edge or reflection padding (based on the inputDelta values)
Expand Down
2 changes: 1 addition & 1 deletion onnxruntime/test/testdata/kernel_def_hashes/onnx.cpu.json
Original file line number Diff line number Diff line change
Expand Up @@ -1461,7 +1461,7 @@
],
[
"Pad ai.onnx CPUExecutionProvider",
9596174091174553032
12904240253005862936
],
[
"Pad ai.onnx CPUExecutionProvider",
Expand Down