Home
last modified time | relevance | path

Searched refs:attr_input (Results 1 – 4 of 4) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/backend/session/
Dsession_basic.cc781 auto attr_input = cnode->input(kAnfPrimitiveIndex); in CreateCallSwitchInputs() local
782 MS_EXCEPTION_IF_NULL(attr_input); in CreateCallSwitchInputs()
783 auto cnode_input = graph->GetBackendAnfByFrontAnf(attr_input); in CreateCallSwitchInputs()
878 auto attr_input = cnode->input(kAnfPrimitiveIndex); in CreateCallSwitchLayerInputs() local
879 MS_EXCEPTION_IF_NULL(attr_input); in CreateCallSwitchLayerInputs()
880 auto cnode_input = graph->GetBackendAnfByFrontAnf(attr_input); in CreateCallSwitchLayerInputs()
946 auto attr_input = cnode->input(kAnfPrimitiveIndex); in CreateSwitchOrPartialNode() local
947 MS_EXCEPTION_IF_NULL(attr_input); in CreateSwitchOrPartialNode()
948 auto cnode_input = graph->GetBackendAnfByFrontAnf(attr_input); in CreateSwitchOrPartialNode()
950 …MS_LOG(ERROR) << "CNode input[0] is CNode:" << attr_input->DebugString() << ", but input[0] has no… in CreateSwitchOrPartialNode()
[all …]
Danf_runtime_algorithm.cc432 auto attr_input = GetCNodePrimitiveNode(cnode); in GetCNodePrimitive() local
433 MS_EXCEPTION_IF_NULL(attr_input); in GetCNodePrimitive()
434 auto value_node = attr_input->cast<ValueNodePtr>(); in GetCNodePrimitive()
456 auto attr_input = cnode->input(kAnfPrimitiveIndex); in GetCNodeFuncGraphPtr() local
457 MS_EXCEPTION_IF_NULL(attr_input); in GetCNodeFuncGraphPtr()
458 auto value_node = attr_input->cast<ValueNodePtr>(); in GetCNodeFuncGraphPtr()
Dkernel_graph.cc732 auto attr_input = front_node->input(kAnfPrimitiveIndex); in FrontBackendlMapAdd() local
733 MS_EXCEPTION_IF_NULL(attr_input); in FrontBackendlMapAdd()
734 if (!attr_input->isa<CNode>()) { in FrontBackendlMapAdd()
/third_party/mindspore/mindspore/core/ir/
Danf.cc493 auto attr_input = cnode->input(0); in GetTargetFromAttr() local
494 auto primitive = GetPrimitiveFromValueNode(attr_input); in GetTargetFromAttr()