!46846 fix mirrorpad coredump on pynative

Merge pull request !46846 from 范吉斌/fix_pad
This commit is contained in:
i-robot 2022-12-16 03:27:02 +00:00 committed by Gitee
commit b3f30e573b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 0 deletions

View File

@ -212,6 +212,7 @@ PrimShapeDependMap &GetHostDependsMap() {
{kSparseSegmentSqrtnWithNumSegments, ShapeSet{3}},
{kSparseMatrixTranspose, ShapeSet{0}},
{kParameterizedTruncatedNormal, ShapeSet{0}},
{prim::kPrimMirrorPadGrad->name(), ShapeSet{1}},
{kSparseToDense, ShapeSet{2}}};
return host_depends;
}