Browse Source

initial commit

tags/v1.1.0
Peilin Wang 5 years ago
parent
commit
95a6ee754d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mindspore/ops/operations/array_ops.py

+ 1
- 1
mindspore/ops/operations/array_ops.py View File

@@ -797,7 +797,7 @@ class GatherV2(PrimitiveWithCheck):
def __check__(self, params, indices, axis):
validator.check_subclass("params", params['dtype'], mstype.tensor, self.name)
validator.check_tensor_dtype_valid("indices", indices['dtype'], mstype.int_type, self.name)
validator.check_subclass("axis", axis['dtype'], [mstype.tensor, mstype.int_], self.name)
validator.check_subclass("axis", axis['dtype'], [mstype.int_], self.name)


class SparseGatherV2(GatherV2):


Loading…
Cancel
Save