Home
last modified time | relevance | path

Searched refs:HasAbstractMonad (Results 1 – 25 of 34) sorted by relevance

12

/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/irpass/
Dupdatestate_eliminate.cc94 if (cnode->size() > 1 && HasAbstractMonad(cnode->inputs().back())) { in CheckHasMonadInput()
103 if (HasAbstractMonad(input)) { in CheckHasMonadInput()
107 …if (input_cnode != nullptr && input_cnode->size() > 1 && HasAbstractMonad(input_cnode->inputs().ba… in CheckHasMonadInput()
130 if (!HasAbstractMonad(input_monad)) { in EliminateUpdateStateWithDepend()
135 if (!HasAbstractMonad(update_monad)) { in EliminateUpdateStateWithDepend()
Dpartial_eliminate.h55 if (!HasAbstractMonad(Xs_.back()) || inputs.empty()) { in operator()
Dbranch_culling.cc171 if (HasAbstractMonad(input_node)) { in TransformGraphCondBranchNodes()
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/graph_util/
Dnode_info.cc83 if (HasAbstractMonad(input)) { in ExtractInputParameterByNode()
180 if (HasAbstractMonad(input)) { in ExtractInputTypeLengthByNode()
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/tasksink/
Dtask_generator.cc155 …kernel_mod->set_is_monad(AnfAlgo::IsNodeInputContainMonad(anf_node_ptr) && HasAbstractMonad(anf_no… in LaunchKernel()
209 if (!HasAbstractMonad(anf_node_ptr)) { in LaunchKernel()
/third_party/mindspore/mindspore/ccsrc/runtime/framework/
Dcontrol_node_parser.cc47 if (HasAbstractMonad(node)) { in CheckValidFuncGraphInput()
276 if (HasAbstractMonad(input) || HasAbstractRef(input)) { in FetchInputNodeByParameter()
559 if (!HasAbstractRef(real_node) && !HasAbstractMonad(real_node)) { in FetchAllRealInputNodeByParameter()
562 } else if (HasAbstractMonad(real_node)) { in FetchAllRealInputNodeByParameter()
654 } else if (!HasAbstractMonad(inputs[i])) { in FetchOutputSizebyCallNode()
1450 if (HasAbstractMonad(input) || (input->isa<Parameter>() && HasAbstractRef(input))) { in FetchBackendInputNode()
Dgraph_scheduler.cc461 if (HasAbstractMonad(input_node)) { in Link()
822 if (HasAbstractMonad(parameter) || HasAbstractRef(parameter)) { in BuildGatherActor()
851 … if (HasAbstractMonad(inputs[i]) || (inputs[i]->isa<Parameter>() && HasAbstractRef(inputs[i]))) { in BuildGatherActor()
1655 if (HasAbstractMonad(inputs[i])) { in PrepareInputNodeForSwitchActor()
1707 … AnfAlgo::CheckPrimitiveType(inputs[i], prim::kPrimUpdateState) || HasAbstractMonad(inputs[i])) { in LinkArrowByControlNode()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/aicpu/
Daicpu_kernel_build.cc89 if (output_num == 1 && HasAbstractMonad(anf_node)) { in SetIOSize()
223 if (output_num == 1 && HasAbstractMonad(anf_node)) { in SetNodeOutputs()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/pass/
Doptimize_dependence.cc59 if (!HasAbstractMonad(virtual_input_op)) { in CheckIsolatedVirtualNode()
/third_party/mindspore/mindspore/ccsrc/runtime/framework/actor/
Dgather_actor.cc92 if (HasAbstractMonad(input) || in FetchBackendInputNode()
Dswitch_actor.cc234 if (AnfAlgo::CheckPrimitiveType(node, prim::kPrimUpdateState) || HasAbstractMonad(node)) { in AddInput()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/
Dascend_helper.cc113 if (HasAbstractMonad(input_node)) { in GetTransInputNodePtr()
421 if (HasAbstractMonad(cur_input)) { in InsertCastForInput()
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/ops_info/
Ddropout_do_mask_info.cc143 if (HasAbstractMonad(input)) { in GetNonMonadInputSize()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/
Ddecrease_compute_precision.cc86 if (HasAbstractMonad(cur_input)) { in InsertCastForGraphKernel()
/third_party/mindspore/mindspore/ccsrc/cxx_api/model/acl/acl_vm/
Dacl_vm.cc31 if (HasAbstractMonad(node)) { in IsMonadNode()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/tbe/tbe_json/
Dfusion_tbe_json_creator.cc187 if (HasAbstractMonad(input)) { in GenInputsJson()
/third_party/mindspore/mindspore/ccsrc/transform/graph_ir/
Dconvert.cc903 if (HasAbstractMonad(it)) { in BuildGraph()
1019 … [](const AnfNodePtr &node) -> bool { return HasAbstractMonad(node); }); in IsSourceEdgeNode()
1029 [](const AnfNodePtr &node) -> bool { return HasAbstractMonad(node); }); in IsSourceEdgeNode()
1226 if ((handler.node != nullptr) && !HasAbstractMonad(handler.node)) { in SetTupleOpInput()
/third_party/mindspore/mindspore/ccsrc/backend/session/
Dcpu_session.cc177 if (!input_node->isa<Parameter>() || HasAbstractMonad(input_node)) { in LoadInputData()
Dascend_auto_monad.cc896 if (HasAbstractMonad(node_input)) { in FindInputNode()
1182 if (HasAbstractMonad(value) || paras.front() == value) { in LinkArguments()
1194 if (HasAbstractMonad(value)) { in LinkArguments()
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/dump/
Ddata_dumper.cc407 if (HasAbstractMonad(kernel)) { in DumpKernelOutput()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/mem_reuse/
Dmem_reuse.cc255 if (node->isa<CNode>() && !HasAbstractMonad(node)) { in GetRef()
/third_party/mindspore/mindspore/core/ir/
Danf.cc246 bool HasAbstractMonad(const AnfNodePtr &node) { return HasAbstract<abstract::AbstractMonad>(node); } in HasAbstractMonad() function
Danf.h589 bool HasAbstractMonad(const AnfNodePtr &node);
/third_party/mindspore/mindspore/ccsrc/runtime/device/cpu/
Dcpu_kernel_runtime.cc316 if (!item->isa<Parameter>() || HasAbstractMonad(item)) { in BindInputTensorAddressPtr()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/buffer_fusion/
Dub_pattern_fusion.cc241 if (!HasAbstractMonad(cnode->input(idx))) { in GetFusionScopeInputNodeList()

12