| /third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/gpu/optimizer/ |
| D | clip_by_norm_fission.cc | 89 … const ShapeVector &shape_vec, const TypeId &type_id) const { in CreateSquareNode() argument 98 … const AnfNodePtr &clip_by_norm, const ShapeVector &shape_vec, in CreateReduceSumNode() 147 … const ShapeVector &shape_vec, const TypeId &type_id, in CreateConstantNode() 175 … const ShapeVector &shape_vec, const TypeId &type_id) const { in CreateSelectNode() argument 205 … const AnfNodePtr &clip_norm, const ShapeVector &shape_vec, in CreateMulNode() 221 const AnfNodePtr &divisor, const ShapeVector &shape_vec, in CreateDivNode() 231 … const ShapeVector &shape_vec, const TypeId &src_type_id, in CreateCastNode() 272 auto shape_vec = GetOutputInferShape(clip_by_norm); in Process() local
|
| /third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/ascend/optimizer/ir_fission/ |
| D | ascend_clip_by_norm_fission.cc | 88 … const ShapeVector &shape_vec, const TypeId &type_id) const { in CreateSquareNode() argument 97 … const AnfNodePtr &clip_by_norm, const ShapeVector &shape_vec, in CreateReduceSumNode() 143 … const ShapeVector &shape_vec, const TypeId &type_id, in CreateConstantNode() 171 … const ShapeVector &shape_vec, const TypeId &type_id) const { in CreateSelectNode() argument 201 … const AnfNodePtr &clip_norm, const ShapeVector &shape_vec, in CreateMulNode() 217 … const AnfNodePtr &divisor, const ShapeVector &shape_vec, in CreateDivNode() 227 … const ShapeVector &shape_vec, const TypeId &src_type_id, in CreateCastNode() 271 auto shape_vec = GetOutputInferShape(clip_by_norm); in Process() local
|
| /third_party/mindspore/mindspore-src/source/mindspore/ccsrc/c_api/src/ |
| D | utils.cc | 119 ShapeVector shape_vec(shape, shape + out_dims[0]); in BuildShape() local 125 ShapeVector shape_vec(shape, shape + out_dims[i]); in BuildShape() local 161 auto shape_vec = shape->shape(); in BuildAbstract() local 186 ShapeVector shape_vec{}; in GetAbstract() local 196 ShapeVector shape_vec{}; in GetAbstract() local 199 ShapeVector shape_vec(shape, shape + shape_size); in GetAbstract() local
|
| D | tensor.cc | 50 ShapeVector shape_vec(shape, shape + shape_size); in MSNewTensor() local 67 ShapeVector shape_vec(shape, shape + shape_size); in MSNewTensorFromFile() local 104 ShapeVector shape_vec(shape, shape + shape_size); in MSNewTensorWithSrcType() local 273 ShapeVector shape_vec(shape, shape + dim); in MSTensorSetShape() local
|
| /third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/ascend/optimizer/mindir/ |
| D | clip_by_norm_fission.cc | 139 … const ShapeVector &shape_vec, const TypeId &type_id) const { in CreateSquareNode() argument 148 … const AnfNodePtr &clip_by_norm, const ShapeVector &shape_vec, in CreateReduceSumNode() 205 … const ShapeVector &shape_vec, const TypeId &type_id, in CreateConstantNode() 231 … const ShapeVector &shape_vec, const TypeId &type_id) const { in CreateSelectNode() argument 266 … const AnfNodePtr &clip_norm, const ShapeVector &shape_vec, in CreateMulNode() 283 const AnfNodePtr &divisor, const ShapeVector &shape_vec, in CreateDivNode() 294 … const ShapeVector &shape_vec, const TypeId &src_type_id, in CreateCastNode() 346 auto shape_vec = GetOutputInferShape(clip_by_norm); in Process() local
|
| /third_party/mindspore/mindspore-src/source/mindspore/core/ops/ |
| D | non_zero_with_value.cc | 56 auto shape_vec = x_shape->GetShapeVector(); in NonZeroWithValueInfer() local 87 auto shape_vec = x_shape->GetShapeVector(); in InferShape() local
|
| D | make_csrtensor.cc | 73 auto shape_vec = GetShapeValue(primitive, shape); in MakeCSRTensorInfer() local
|
| D | map_tensor_get_keys.cc | 39 ShapeVector shape_vec = {abstract::Shape::kShapeDimAny}; in MapTensorGetKeysInferShape() local
|
| D | map_tensor_get_values.cc | 45 ShapeVector shape_vec = {abstract::Shape::kShapeDimAny}; in MapTensorGetValuesInferShape() local
|
| D | map_tensor_get.cc | 48 auto shape_vec = key_tensor_shape->shape(); in MapTensorGetInferShape() local
|
| /third_party/mindspore/mindspore-src/source/mindspore/core/ops/ops_frontend_func_impl/ |
| D | ones_like.cc | 31 auto shape_vec = shape->shape(); in InferValue() local
|
| /third_party/mindspore/mindspore-src/source/mindspore/ccsrc/backend/common/pass/add_attr_to_node/ |
| D | squeeze_axis.cc | 37 auto shape_vec = common::AnfAlgo::GetOutputInferShape(squeeze_cnode->input(kIndex1), 0); in SqueezeAxis() local
|
| /third_party/mindspore/mindspore-src/source/mindspore/lite/tools/converter/adapter/acl/mapper/ |
| D | argmax_fusion_mapper.cc | 51 std::vector<int64_t> shape_vec = {}; in Mapper() local
|
| D | topk_fusion_mapper.cc | 87 std::vector<int64_t> shape_vec = {}; in Mapper() local
|
| /third_party/mindspore/mindspore-src/source/mindspore/ccsrc/frontend/parallel/graph_util/ |
| D | graph_utils.cc | 275 inline bool IsSameRank(const Shape &shape_vec, const Shape &targe_shape_vec) { in IsSameRank() 279 bool HasAssebledDynamicDim(const Shape &shape_vec, const AssembledDynamicDimsMapping &dyn_dims_mapp… in HasAssebledDynamicDim() 301 void MatchingAccordingToPrime(const Shape &shape_vec, const AssembledDynamicDimsMapping &dyn_dims_m… in MatchingAccordingToPrime() 352 void MatchingAccordingToIndex(const Shape &shape_vec, const AssembledDynamicDimsMapping &dyn_dims_m… in MatchingAccordingToIndex() 432 std::vector<int64_t> shape_vec = GetValue<std::vector<int64_t>>(param.first.second); in ConvertConstParamToDynamic() local 532 Shape shape_vec = GetValue<Shape>(param.first.second); in ConvertStridedSliceInputs() local 548 bool WhetherMatchingIsNeededForReshape(const Shape &shape_vec, const TensorRedistributionPtr &tenso… in WhetherMatchingIsNeededForReshape() 566 inline bool HasOnlyOneDynamicAxis(const Shape &shape_vec, in HasOnlyOneDynamicAxis() 576 …icAxisToNegOne(const TensorRedistributionPtr &tensor_redistribution_from_cnode, Shape *shape_vec) { in ReplaceDynamicAxisToNegOne() 607 Shape shape_vec = GetValue<Shape>(shape_param.first.second); in ConvertReshapeInputs() local
|
| /third_party/mindspore/mindspore-src/source/mindspore/core/ops/ops_func_impl/ |
| D | normal_float_float.cc | 59 std::vector<int64_t> shape_vec = shape_array.ToVector(); in InferShape() local
|
| D | dropout_ext.cc | 25 int64_t CalMaskShape(const PrimitivePtr &primitive, const ShapeVector &shape_vec) { in CalMaskShape()
|
| D | reshape.cc | 47 std::vector<int64_t> shape_vec = shape_array.ToVector(); in InferShape() local
|
| D | matmul_fusion_utils.cc | 29 std::vector<int64_t> shape_vec = shape_array.ToVector(); in InferenceMultiMatmulInferShape() local
|
| D | addn.cc | 82 ShapeVector shape_vec; in InferShape() local
|
| /third_party/mindspore/mindspore-src/source/mindspore/lite/tools/converter/quantizer/ |
| D | split_shared_bias.cc | 46 ShapeVector shape_vec(data_info.shape_.begin(), data_info.shape_.end()); in CloneParameterNode() local
|
| /third_party/mindspore/mindspore-src/source/tests/ut/cpp/core/utils/ |
| D | check_convert_utils_test.cc | 28 AbstractBasePtr MakeTensorAbstract(const ShapeVector &shape_vec, const TypePtr &elem_type) { in MakeTensorAbstract()
|
| /third_party/mindspore/mindspore-src/source/tests/ut/cpp/ops/ |
| D | test_ops_cmp_utils.h | 43 std::vector<abstract::BaseShapePtr> shape_vec; in MakeOutputTupleShapeAndType() local
|
| /third_party/mindspore/mindspore-src/source/mindspore/lite/tools/optimizer/graph/ |
| D | core_infershape_pass.cc | 275 ShapeVector shape_vec = {-1}; in SetSubGraphInput() local 295 ShapeVector shape_vec(data_info.shape_.begin(), data_info.shape_.end()); in SetSubGraphInput() local
|
| /third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/ascend/kernel/aicpu/aicpu_ops/customize/op_proto/utils/ |
| D | op_util.cc | 45 std::vector<int64_t> shape_vec(shape_size, 0); in ToVector() local
|