Home
last modified time | relevance | path

Searched refs:prim_anf_node (Results 1 – 6 of 6) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/frontend/parallel/graph_util/
Dnode_info.cc288 ValueNodePtr prim_anf_node = cnode->input(0)->cast<ValueNodePtr>(); in FindReshape() local
289 PrimitivePtr prim = GetValueNode<PrimitivePtr>(prim_anf_node); in FindReshape()
328 ValueNodePtr prim_anf_node = cnode->input(0)->cast<ValueNodePtr>(); in FindReshapePreNodeStraCosts() local
329 PrimitivePtr prim = prim_anf_node->value()->cast<PrimitivePtr>(); in FindReshapePreNodeStraCosts()
381 ValueNodePtr prim_anf_node = use_apply->input(0)->cast<ValueNodePtr>(); in FindReshapeNextNodeStraCosts() local
382 MS_EXCEPTION_IF_NULL(prim_anf_node); in FindReshapeNextNodeStraCosts()
383 PrimitivePtr node_prim = prim_anf_node->value()->cast<PrimitivePtr>(); in FindReshapeNextNodeStraCosts()
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/
Dstep_parallel.cc71 auto prim_anf_node = new_node_input[0]->cast<ValueNodePtr>(); in SetMiniStepOpDoMirrorLabel() local
72 auto prim = GetValueNode<PrimitivePtr>(prim_anf_node); in SetMiniStepOpDoMirrorLabel()
85 auto prim_anf_node = new_node_input[0]->cast<ValueNodePtr>(); in SetAllReduceRecomputeFlag() local
86 auto prim = GetValueNode<PrimitivePtr>(prim_anf_node); in SetAllReduceRecomputeFlag()
502 ValueNodePtr prim_anf_node = cnode->input(0)->cast<ValueNodePtr>(); in HasStrategy() local
503 PrimitivePtr prim = GetValueNode<PrimitivePtr>(prim_anf_node); in HasStrategy()
574 ValueNodePtr prim_anf_node = use_cnode->input(0)->cast<ValueNodePtr>(); in StepRedistribution() local
575 MS_EXCEPTION_IF_NULL(prim_anf_node); in StepRedistribution()
576 PrimitivePtr node_prim = prim_anf_node->value()->cast<PrimitivePtr>(); in StepRedistribution()
697 ValueNodePtr prim_anf_node = use_cnode->input(0)->cast<ValueNodePtr>(); in StepSplitTensor() local
[all …]
Dstep_auto_parallel.cc412 ValueNodePtr prim_anf_node = cnode->input(0)->cast<ValueNodePtr>(); in ConstructCostGraphNodesByUniqueId() local
416 auto prev_cnode = GetInternalOperatorInfo(cnode, prim_anf_node); in ConstructCostGraphNodesByUniqueId()
423 PrimitivePtr prim = GetValueNode<PrimitivePtr>(prim_anf_node); in ConstructCostGraphNodesByUniqueId()
525 ValueNodePtr prim_anf_node = cnode->input(0)->cast<ValueNodePtr>(); in ConstructCostGraphNodesByUniqueIdTC() local
529 auto prev_cnode = GetInternalOperatorInfo(cnode, prim_anf_node); in ConstructCostGraphNodesByUniqueIdTC()
536 PrimitivePtr prim = GetValueNode<PrimitivePtr>(prim_anf_node); in ConstructCostGraphNodesByUniqueIdTC()
660 ValueNodePtr prim_anf_node = inputs[0]->cast<ValueNodePtr>(); in ConstructCostGraphEdges() local
664 PrimitivePtr prim = GetValueNode<PrimitivePtr>(prim_anf_node); in ConstructCostGraphEdges()
1008 CNodePtr GetInternalOperatorInfo(const CNodePtr &cnode, const ValueNodePtr &prim_anf_node) { in GetInternalOperatorInfo() argument
1009 PrimitivePtr prim = GetValueNode<PrimitivePtr>(prim_anf_node); in GetInternalOperatorInfo()
Dstep_parallel_utils.cc168 auto prim_anf_node = new_node_input[0]->cast<ValueNodePtr>(); in SetCommunicationOpGroupLabel() local
169 auto prim = GetValueNode<PrimitivePtr>(prim_anf_node); in SetCommunicationOpGroupLabel()
Dstep_auto_parallel.h55 CNodePtr GetInternalOperatorInfo(const CNodePtr &cnode, const ValueNodePtr &prim_anf_node);
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/irpass/
Dspecial_op_eliminate.h296 auto prim_anf_node = node_input[0]->cast<ValueNodePtr>(); in operator() local
297 prim = GetValueNode<PrimitivePtr>(prim_anf_node); in operator()
335 auto prim_anf_node = node_input[0]->cast<ValueNodePtr>(); in operator() local
336 prim = GetValueNode<PrimitivePtr>(prim_anf_node); in operator()