Home
last modified time | relevance | path

Searched refs:shape_map (Results 1 – 18 of 18) sorted by relevance

/third_party/mindspore/mindspore/core/ops/
Dlog_softmax.cc41 auto shape_map = CheckAndConvertUtils::ConvertShapePtrToShapeMap(input_args[0]->BuildShape()); in LogSoftmaxInferShape() local
42 if (shape_map.empty()) { in LogSoftmaxInferShape()
46 auto in_shape = shape_map[kShape]; in LogSoftmaxInferShape()
47 auto min_shape = shape_map[kMinShape]; in LogSoftmaxInferShape()
48 auto max_shape = shape_map[kMaxShape]; in LogSoftmaxInferShape()
Dlog1p.cc31 auto shape_map = CheckAndConvertUtils::ConvertShapePtrToShapeMap(input_args[0]->BuildShape()); in Log1pInferShape() local
32 auto in_shape = shape_map[kShape]; in Log1pInferShape()
33 auto min_shape = shape_map[kMinShape]; in Log1pInferShape()
34 auto max_shape = shape_map[kMaxShape]; in Log1pInferShape()
Dsoftplus.cc31 auto shape_map = CheckAndConvertUtils::ConvertShapePtrToShapeMap(input_args[0]->BuildShape()); in SoftplusInferShape() local
32 auto in_shape = shape_map[kShape]; in SoftplusInferShape()
33 auto min_shape = shape_map[kMinShape]; in SoftplusInferShape()
34 auto max_shape = shape_map[kMaxShape]; in SoftplusInferShape()
Dsoftmax.cc53 auto shape_map = CheckAndConvertUtils::ConvertShapePtrToShapeMap(input_args[0]->BuildShape()); in SoftMaxInferShape() local
54 if (shape_map.empty()) { in SoftMaxInferShape()
58 auto in_shape = shape_map[kShape]; in SoftMaxInferShape()
59 auto min_shape = shape_map[kMinShape]; in SoftMaxInferShape()
60 auto max_shape = shape_map[kMaxShape]; in SoftMaxInferShape()
Dgelu.cc35 auto shape_map = CheckAndConvertUtils::ConvertShapePtrToShapeMap(input_args[0]->BuildShape()); in InferShape() local
36 auto in_shape = shape_map[kShape]; in InferShape()
37 auto min_shape = shape_map[kMinShape]; in InferShape()
38 auto max_shape = shape_map[kMaxShape]; in InferShape()
Dshape.cc36 auto shape_map = CheckAndConvertUtils::ConvertShapePtrToShapeMap(input_args[0]->BuildShape()); in ShapeInfer() local
37 auto in_shape = shape_map[kShape]; in ShapeInfer()
57 auto shape_map = CheckAndConvertUtils::ConvertShapePtrToShapeMap(input_args[0]->BuildShape()); in ShapeInferValue() local
58 auto inshape = shape_map[kShape]; in ShapeInferValue()
Dlog.cc37 auto shape_map = CheckAndConvertUtils::ConvertShapePtrToShapeMap(input_args[0]->BuildShape()); in InferShape() local
38 auto in_shape = shape_map[kShape]; in InferShape()
39 auto min_shape = shape_map[kMinShape]; in InferShape()
40 auto max_shape = shape_map[kMaxShape]; in InferShape()
Dexp.cc37 auto shape_map = CheckAndConvertUtils::ConvertShapePtrToShapeMap(input_args[0]->BuildShape()); in InferShape() local
38 auto in_shape = shape_map[kShape]; in InferShape()
39 auto min_shape = shape_map[kMinShape]; in InferShape()
40 auto max_shape = shape_map[kMaxShape]; in InferShape()
Dneg.cc37 auto shape_map = CheckAndConvertUtils::ConvertShapePtrToShapeMap(input_args[0]->BuildShape()); in InferShape() local
38 auto in_shape = shape_map[kShape]; in InferShape()
39 auto min_shape = shape_map[kMinShape]; in InferShape()
40 auto max_shape = shape_map[kMaxShape]; in InferShape()
Dreciprocal.cc37 auto shape_map = CheckAndConvertUtils::ConvertShapePtrToShapeMap(input_args[0]->BuildShape()); in InferShape() local
38 auto in_shape = shape_map[kShape]; in InferShape()
39 auto min_shape = shape_map[kMinShape]; in InferShape()
40 auto max_shape = shape_map[kMaxShape]; in InferShape()
Dtile.cc60 auto shape_map = CheckAndConvertUtils::ConvertShapePtrToShapeMap(input_args[0]->BuildShape()); in TileInferShape() local
61 auto input_shape = shape_map[kShape]; in TileInferShape()
62 auto min_shape = shape_map[kMinShape]; in TileInferShape()
63 auto max_shape = shape_map[kMaxShape]; in TileInferShape()
Done_hot.cc34 auto shape_map = CheckAndConvertUtils::ConvertShapePtrToShapeMap(input_args[0]->BuildShape()); in OneHotInferShape() local
35 auto in_shape = shape_map[kShape]; in OneHotInferShape()
36 auto min_shape = shape_map[kMinShape]; in OneHotInferShape()
37 auto max_shape = shape_map[kMaxShape]; in OneHotInferShape()
Dsquare.cc37 …auto shape_map = CheckAndConvertUtils::ConvertShapePtrToShapeMap(input_args[kInputIndex0]->BuildSh… in SquareInferShape() local
38 auto in_shape = shape_map[kShape]; in SquareInferShape()
39 auto min_shape = shape_map[kMinShape]; in SquareInferShape()
40 auto max_shape = shape_map[kMaxShape]; in SquareInferShape()
Dreluv2.cc63 auto shape_map = CheckAndConvertUtils::ConvertShapePtrToShapeMap(input_args[0]->BuildShape()); in InferShape() local
64 auto input_shape = shape_map[kShape]; in InferShape()
65 auto min_shape = shape_map[kMinShape]; in InferShape()
66 auto max_shape = shape_map[kMaxShape]; in InferShape()
Dbias_add.cc40 auto shape_map = CheckAndConvertUtils::ConvertShapePtrToShapeMap(input_args[0]->BuildShape()); in InferShape() local
41 auto input_shape = shape_map[kShape]; in InferShape()
42 auto min_shape = shape_map[kMinShape]; in InferShape()
43 auto max_shape = shape_map[kMaxShape]; in InferShape()
Derfinv.cc36 auto shape_map = CheckAndConvertUtils::ConvertShapePtrToShapeMap(input_args[0]->BuildShape()); in ErfinvInferShape() local
37 auto in_shape = shape_map[kShape]; in ErfinvInferShape()
/third_party/mindspore/mindspore/core/ops/grad/
Dbias_add_grad.cc48 auto shape_map = CheckAndConvertUtils::ConvertShapePtrToShapeMap(input_args[0]->BuildShape()); in InferShape() local
49 auto input_shape = shape_map[kShape]; in InferShape()
50 auto min_shape = shape_map[kMinShape]; in InferShape()
51 auto max_shape = shape_map[kMaxShape]; in InferShape()
/third_party/mindspore/mindspore/core/utils/
Dcheck_convert_utils.cc410 ShapeMap shape_map; in ConvertShapePtrToShapeMap() local
411 shape_map[kShape] = shape_element->shape(); in ConvertShapePtrToShapeMap()
412 shape_map[kMinShape] = shape_element->min_shape(); in ConvertShapePtrToShapeMap()
413 shape_map[kMaxShape] = shape_element->max_shape(); in ConvertShapePtrToShapeMap()
414 return shape_map; in ConvertShapePtrToShapeMap()