forked from mindspore-Ecosystem/mindspore
fix cpu argmax register
This commit is contained in:
parent
ee27718176
commit
9d5502a4b6
|
@ -37,7 +37,7 @@ class ArgmaxCPUKernel : public CPUKernel {
|
|||
size_t batch_size_{0};
|
||||
};
|
||||
|
||||
MS_REG_CPU_KERNEL(Argmax, KernelAttr().AddInputAttr(kNumberTypeFloat32).AddOutputAttr(kNumberTypeFloat32),
|
||||
MS_REG_CPU_KERNEL(Argmax, KernelAttr().AddInputAttr(kNumberTypeFloat32).AddOutputAttr(kNumberTypeInt32),
|
||||
ArgmaxCPUKernel);
|
||||
} // namespace kernel
|
||||
} // namespace mindspore
|
||||
|
|
Loading…
Reference in New Issue