forked from mindspore-Ecosystem/mindspore
fix CPU StridedSliceGrad
This commit is contained in:
parent
9cf07ea45d
commit
0c9343acec
|
@ -73,6 +73,8 @@ MS_REG_CPU_KERNEL(
|
|||
SliceGrad, KernelAttr().AddInputAttr(kNumberTypeBool).AddInputAttr(kNumberTypeBool).AddOutputAttr(kNumberTypeBool),
|
||||
SliceGradCPUKernel);
|
||||
|
||||
MS_REG_CPU_KERNEL(StridedSliceGrad, KernelAttr().AddInputAttr(kNumberTypeFloat32).AddOutputAttr(kNumberTypeFloat32),
|
||||
SliceGradCPUKernel);
|
||||
MS_REG_CPU_KERNEL(StridedSliceGrad, KernelAttr().AddInputAttr(kNumberTypeInt32).AddOutputAttr(kNumberTypeInt32),
|
||||
SliceGradCPUKernel);
|
||||
MS_REG_CPU_KERNEL(StridedSliceGrad, KernelAttr().AddInputAttr(kNumberTypeFloat64).AddOutputAttr(kNumberTypeFloat64),
|
||||
|
|
|
@ -46,9 +46,6 @@ class StridedSliceGradCPUKernel : public CPUKernel {
|
|||
StridedSliceParameter *param_{nullptr};
|
||||
};
|
||||
|
||||
MS_REG_CPU_KERNEL(StridedSliceGrad, KernelAttr().AddInputAttr(kNumberTypeFloat32).AddOutputAttr(kNumberTypeFloat32),
|
||||
StridedSliceGradCPUKernel);
|
||||
|
||||
} // namespace kernel
|
||||
} // namespace mindspore
|
||||
|
||||
|
|
Loading…
Reference in New Issue