forked from mindspore-Ecosystem/mindspore
fix sub input not match
This commit is contained in:
parent
2ad211df97
commit
92744f1301
|
@ -36,7 +36,9 @@ class SubCPUKernel : public CPUKernel {
|
|||
int offset_;
|
||||
};
|
||||
|
||||
MS_REG_CPU_KERNEL(Sub, KernelAttr().AddInputAttr(kNumberTypeInt32).AddOutputAttr(kNumberTypeInt32), SubCPUKernel);
|
||||
MS_REG_CPU_KERNEL(
|
||||
Sub, KernelAttr().AddInputAttr(kNumberTypeInt32).AddInputAttr(kNumberTypeInt32).AddOutputAttr(kNumberTypeInt32),
|
||||
SubCPUKernel);
|
||||
} // namespace kernel
|
||||
} // namespace mindspore
|
||||
|
||||
|
|
Loading…
Reference in New Issue