Home
last modified time | relevance | path

Searched refs:IsRealKernel (Results 1 – 25 of 38) sorted by relevance

12

/third_party/mindspore/mindspore/ccsrc/cxx_api/model/acl/acl_vm/
Dacl_multi_graph_session.cc110 } else if (AnfAlgo::IsRealKernel(anf_node)) { in ConstructOutputRef()
141 } else if (AnfAlgo::IsRealKernel(anf_node)) { in ConstructOutputRefByTupleNode()
/third_party/mindspore/tests/ut/cpp/pre_activate/ascend/format_type/
Dinsert_cast_test.cc80 } else if (node != func_graph->get_return() && AnfAlgo::IsRealKernel(node)) { in TEST_F()
134 } else if (node != func_graph->get_return() && AnfAlgo::IsRealKernel(node)) { in TEST_F()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/cpu/
Dinsert_cast_cpu.cc129 if (node != nullptr && node->isa<CNode>() && AnfAlgo::IsRealKernel(node)) { in Run()
141 if (node != nullptr && node->isa<CNode>() && AnfAlgo::IsRealKernel(node)) { in Run()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/enhancer/
Dadd_attr_for_3d_graph.cc31 if (AnfAlgo::IsRealKernel(node)) { in Process()
Dinsert_depend_for_all_gather.cc30 if (!node->cast<CNodePtr>() || !AnfAlgo::IsRealKernel(node)) { in Run()
Dinsert_tensor_move_for_getnext.cc65 if (func_graph == nullptr || node == nullptr || !AnfAlgo::IsRealKernel(node)) { in Process()
Dinsert_tensor_move_for_hccl_op.cc60 if (AnfAlgo::IsRealKernel(node) && !AnfAlgo::IsCommunicationOp(node)) { in IsNodeOutPutUsedByOtherRealKernel()
Dsplit_n_optimizer.cc140 if (AnfAlgo::IsRealKernel(item) && (AnfAlgo::GetProcessor(item) != 0)) { in OutputCheck()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/format_type/
Dinsert_trans_op.cc36 if (node == nullptr || !AnfAlgo::IsRealKernel(node)) { in Process()
Dinsert_transdata_for_runop.cc32 if (!node->cast<CNodePtr>() || !AnfAlgo::IsRealKernel(node)) { in Run()
Dmerge_cast_to_op.cc156 if (!next_node->isa<CNode>() || !AnfAlgo::IsRealKernel(next_node)) { in MergeCastToNextOp()
212 return AnfAlgo::IsRealKernel(*prior_op); in GetPriorOp()
Dcheck_consistency.cc89 if (node == nullptr || !node->isa<CNode>() || !AnfAlgo::IsRealKernel(node)) { in Process()
Dchange_axis_of_reduce_kernel.cc103 if (node == nullptr || !node->isa<CNode>() || !AnfAlgo::IsRealKernel(node)) { in Process()
Drectify_do_mask_kernel_info.cc152 if (AnfAlgo::IsRealKernel(out_node_info.first)) { in ReSelecChildNodeKernelInfo()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/pass/
Dconvert_tuple_output_to_maketuple.cc80 if (input->Type() != nullptr && AnfAlgo::IsRealKernel(input) && AnfAlgo::IsTupleOutput(input) && in Process()
Dconvert_tuple_input_to_dynamic_input.cc96 if (node == nullptr || !node->isa<CNode>() || !AnfAlgo::IsRealKernel(node)) { in Process()
Dadjust_depend_for_parallel_optimizer_recompute_all_gather.cc34 if (!node->cast<CNodePtr>() || !AnfAlgo::IsRealKernel(node)) { in Run()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/
Drewrite_output_shape.cc66 if (AnfAlgo::IsRealKernel(node)) return; in Process()
Dgraph_kernel_expander.cc225 …nullptr || AnfAlgo::IsGraphKernel(node) || IsKeepBasicNode(node) || !AnfAlgo::IsRealKernel(node) || in DoExpand()
/third_party/mindspore/mindspore/ccsrc/backend/session/
Danf_runtime_algorithm.cc660 if (!AnfAlgo::IsRealKernel(node)) { in GetAllOutputFormats()
675 if (!AnfAlgo::IsRealKernel(node)) { in GetAllInputFormats()
690 if (!AnfAlgo::IsRealKernel(node)) { in GetAllInputDeviceTypes()
705 if (!AnfAlgo::IsRealKernel(node)) { in GetAllOutputDeviceTypes()
720 if (!AnfAlgo::IsRealKernel(node)) { in GetOriginDataFormat()
741 if (!AnfAlgo::IsRealKernel(node)) { in GetOutputFormat()
765 if (!IsRealKernel(node)) { in GetInputFormat()
910 if (!IsRealKernel(node)) { in GetInputReshapeType()
930 if (!IsRealKernel(node)) { in GetOutputReshapeType()
984 if (!IsRealKernel(node)) { in GetOutputDeviceDataType()
[all …]
/third_party/mindspore/tests/ut/cpp/session/
Danf_runtime_algorithm_test.cc721 TEST_F(AnfRuntimeAlgorithmTest, IsRealKernel) { in TEST_F() argument
725 EXPECT_TRUE(AnfAlgo::IsRealKernel(value_node)); in TEST_F()
726 EXPECT_THROW(AnfAlgo::IsRealKernel(nullptr), std::runtime_error); in TEST_F()
729 EXPECT_TRUE(AnfAlgo::IsRealKernel(parameter_node)); in TEST_F()
734 EXPECT_TRUE(AnfAlgo::IsRealKernel(add)); in TEST_F()
739 EXPECT_FALSE(AnfAlgo::IsRealKernel(depend_node)); in TEST_F()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/gpu/
Dinsert_cast_gpu.cc71 if (node == nullptr || !node->isa<CNode>() || !AnfAlgo::IsRealKernel(node)) { in Run()
Dreduce_precision_fusion.cc75 if (node != nullptr && node->isa<CNode>() && AnfAlgo::IsRealKernel(node)) { in Run()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/trt_pass/
Dgraph_partitioner.cc74 if (!AnfAlgo::IsRealKernel(node)) { in CollectNodeInfo()
Dtrt_converter_context.cc56 if (!AnfAlgo::IsRealKernel(node) && op_name != "Return") { in Parser()

12