Home
last modified time | relevance | path

Searched refs:NoShape (Results 1 – 11 of 11) sorted by relevance

/third_party/mindspore/tests/ut/cpp/abstract/
Ddshape_test.cc34 NoShape shp_noshp_1;
35 NoShape shp_noshp_2;
51 shp_tuple_1({NoShape().Clone(), Shape({1, 1}).Clone()}),
52 shp_tuple_2({NoShape().Clone(), Shape({1, 1, 1}).Clone()}),
53 shp_tuple_3({NoShape().Clone(), Shape({1, 2, 1}).Clone()}),
54 shp_tuple_4({NoShape().Clone()}) {}
/third_party/mindspore/mindspore/core/abstract/
Ddshape.h56 class MS_CORE_API NoShape : public BaseShape {
58 MS_DECLARE_PARENT(NoShape, BaseShape) in MS_DECLARE_PARENT() argument
59 BaseShapePtr Clone() const override { return std::make_shared<NoShape>(); } in MS_DECLARE_PARENT()
64 inline const std::shared_ptr<NoShape> kNoShape = std::make_shared<NoShape>();
Dabstract_value.h278 if (shape->isa<NoShape>()) { in AbstractBase()
296 if (shape->isa<NoShape>()) { in AbstractBase()
Dutils.cc414 } else if (base_shape->isa<NoShape>() && type->isa<TypeNone>()) { in MakeAbstract()
Dabstract_value.cc526 if (shape->isa<NoShape>()) { in set_shape()
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/ad/
Dpynative_dfunctor.cc70 } else if (cnode_shape->isa<abstract::NoShape>()) { in GenNewTensor()
71 ShapeVector NoShape; in GenNewTensor() local
72 return NewValueNode(std::make_shared<tensor::Tensor>(cnode_type->type_id(), NoShape)); in GenNewTensor()
/third_party/mindspore/mindspore/core/ops/
Ddtype.cc47 return abstract::MakeAbstract(std::make_shared<abstract::NoShape>(), type); in DTypeInfer()
/third_party/mindspore/tests/ut/cpp/pipeline/static_analysis/
Ddata_test.cc105 ASSERT_TRUE(NoShape() == *s1->BuildShape()); in TEST_F()
108 ASSERT_TRUE(NoShape() == *f1->BuildShape()); in TEST_F()
/third_party/mindspore/mindspore/ccsrc/backend/session/
Danf_runtime_algorithm.cc829 } else if (b_shp->isa<abstract::NoShape>()) { in GetOutputInferShape()
837 } else if (base_shape->isa<abstract::NoShape>()) { in GetOutputInferShape()
1184 if (b_shp->isa<abstract::Shape>() || b_shp->isa<abstract::NoShape>()) { in GetOutputDetailShape()
1192 } else if (base_shape->isa<abstract::NoShape>()) { in GetOutputDetailShape()
2044 } else if (shape->isa<abstract::NoShape>()) { in GetOutputMaxShape()
2062 } else if (shape->isa<abstract::NoShape>()) { in GetOutputMinShape()
/third_party/mindspore/mindspore/ccsrc/transform/graph_ir/
Dop_adapter.cc473 auto no_shape_ptr = dyn_cast<abstract::NoShape>(shp); in updateOutputDesc()
Dconvert.cc955 …} else if (auto no_shape_ptr = dyn_cast<abstract::NoShape>(node->Shape()); no_shape_ptr != nullptr… in UpdateDataOpDesc()