Home
last modified time | relevance | path

Searched refs:kPrimIf (Results 1 – 10 of 10) sorted by relevance

/third_party/mindspore/mindspore/lite/tools/optimizer/format/
Ddelete_redundant_transpose.cc35 if (CheckPrimitiveType(cnode, prim::kPrimIf) || CheckPrimitiveType(cnode, prim::kPrimWhile)) { in DeleteNot4DTranspose()
96 if (CheckPrimitiveType(cnode, prim::kPrimIf) || CheckPrimitiveType(cnode, prim::kPrimWhile)) { in TransTransFusion()
Dto_format_base.cc301 …if (opt::CheckPrimitiveType(node, prim::kPrimIf) || opt::CheckPrimitiveType(node, prim::kPrimWhile… in BasicProcess()
347 if (CheckPrimitiveType(node, prim::kPrimIf) || CheckPrimitiveType(node, prim::kPrimWhile)) { in ConvWeightFormatTrans()
/third_party/mindspore/mindspore/lite/tools/optimizer/graph/
Dinfershape_pass.cc140 if (CheckPrimitiveType(node, prim::kPrimIf) || CheckPrimitiveType(node, prim::kPrimWhile)) { in JudgeAllOpsCanInfer()
181 …if (opt::CheckPrimitiveType(node, prim::kPrimIf) || opt::CheckPrimitiveType(node, prim::kPrimWhile… in InferProcess()
Ddecrease_transpose_algo.cc663 if (CheckPrimitiveType(node, prim::kPrimIf) || CheckPrimitiveType(node, prim::kPrimWhile)) { in DecreaseTransposeForSingleOp()
743 if (CheckPrimitiveType(node, prim::kPrimIf) || CheckPrimitiveType(node, prim::kPrimWhile)) { in DecreaseTransposeForMultiOp()
798 if (CheckPrimitiveType(cnode, prim::kPrimIf) || CheckPrimitiveType(cnode, prim::kPrimWhile)) { in DoFixFormat()
Dcontrol_flow_pass.cc154 (CheckPrimitiveType(node, prim::kPrimWhile) || CheckPrimitiveType(node, prim::kPrimIf))) { in SplitGraph()
772 if (CheckPrimitiveType(control_flow_node, prim::kPrimIf)) { in ProcessControlOp()
Dredundant_op_remove_pass.cc392 if (CheckPrimitiveType(node, prim::kPrimIf) || CheckPrimitiveType(node, prim::kPrimWhile)) { in Run()
/third_party/mindspore/mindspore/lite/tools/converter/parser/
Dunify_format.cc348 …if (opt::CheckPrimitiveType(node, prim::kPrimIf) || opt::CheckPrimitiveType(node, prim::kPrimWhile… in ProcessResizeAndFormat()
/third_party/mindspore/mindspore/lite/tools/converter/parser/tflite/
Dtflite_model_parser.cc559 } else if (opt::CheckPrimitiveType(control_flow_node, prim::kPrimIf)) { in BuildSubFuncGraphMap()
/third_party/mindspore/mindspore/lite/tools/converter/parser/tf/
Dtf_model_parser.cc702 if (opt::CheckPrimitiveType(cnode, prim::kPrimIf)) { in UpdateMap()
/third_party/mindspore/mindspore/core/base/
Dcore_ops.h666 inline const PrimitivePtr kPrimIf = std::make_shared<Primitive>("If"); variable