Home
last modified time | relevance | path

Searched refs:kPrimShape (Results 1 – 7 of 7) sorted by relevance

/third_party/mindspore/mindspore/core/ops/
Dshape.h34 Shape() : PrimitiveC(prim::kPrimShape->name()) {} in Shape()
Dshape.cc62 REGISTER_PRIMITIVE_EVAL_IMPL(Shape, prim::kPrimShape, ShapeInfer, ShapeInferValue, false);
/third_party/mindspore/mindspore/lite/tools/converter/parser/
Dtf_bidirection_gru_cf_fusion.cc86 auto fw_shape1 = VectorRef({GetPrim(prim::kPrimShape), input}); in DefineBidirectionRnnPattern()
109 auto fw_shape = VectorRef({GetPrim(prim::kPrimShape), input}); in DefineBidirectionRnnPattern()
/third_party/mindspore/mindspore/lite/tools/optimizer/fusion/
Dconstant_folding_fusion.cc63 CheckPrimitiveType(cnode, prim::kPrimShape)) { in GetCNodeInputTensors()
Dtf_bidirection_gru_fusion.cc138 auto is_shape = std::make_shared<CondVar>(std::bind(IsOpType, p1, prim::kPrimShape)); in DefineFowardPattern()
208 auto is_shape = std::make_shared<CondVar>(std::bind(IsOpType, p1, prim::kPrimShape)); in DefinebackwardPattern()
/third_party/mindspore/mindspore/lite/tools/converter/quantizer/
Dquantize_util.cc126 …if (opt::CheckPrimitiveType(cnode, prim::kPrimShape) || opt::CheckPrimitiveType(cnode, prim::kPrim… in CanOpFullQuantized()
/third_party/mindspore/mindspore/core/base/
Dcore_ops.h184 inline const PrimitivePtr kPrimShape = std::make_shared<Primitive>("Shape"); variable