Searched refs:NoShape (Results 1 – 11 of 11) sorted by relevance
/third_party/mindspore/tests/ut/cpp/abstract/ |
D | dshape_test.cc | 34 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/ |
D | dshape.h | 56 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>();
|
D | abstract_value.h | 278 if (shape->isa<NoShape>()) { in AbstractBase() 296 if (shape->isa<NoShape>()) { in AbstractBase()
|
D | utils.cc | 414 } else if (base_shape->isa<NoShape>() && type->isa<TypeNone>()) { in MakeAbstract()
|
D | abstract_value.cc | 526 if (shape->isa<NoShape>()) { in set_shape()
|
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/ad/ |
D | pynative_dfunctor.cc | 70 } 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/ |
D | dtype.cc | 47 return abstract::MakeAbstract(std::make_shared<abstract::NoShape>(), type); in DTypeInfer()
|
/third_party/mindspore/tests/ut/cpp/pipeline/static_analysis/ |
D | data_test.cc | 105 ASSERT_TRUE(NoShape() == *s1->BuildShape()); in TEST_F() 108 ASSERT_TRUE(NoShape() == *f1->BuildShape()); in TEST_F()
|
/third_party/mindspore/mindspore/ccsrc/backend/session/ |
D | anf_runtime_algorithm.cc | 829 } 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/ |
D | op_adapter.cc | 473 auto no_shape_ptr = dyn_cast<abstract::NoShape>(shp); in updateOutputDesc()
|
D | convert.cc | 955 …} else if (auto no_shape_ptr = dyn_cast<abstract::NoShape>(node->Shape()); no_shape_ptr != nullptr… in UpdateDataOpDesc()
|