Home
last modified time | relevance | path

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

/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/
Ddecrease_transfer_precision.cc153 auto func_add_cast_fp16 = [&gk_graph](const AnfNodePtr &old_output) { in Process_Father() argument
154 AnfNodePtrList inputs = {NewValueNode(prim::kPrimCast), old_output}; in Process_Father()
158 cnode->set_abstract(std::make_shared<abstract::AbstractTensor>(kFloat16, GetShape(old_output))); in Process_Father()
159 cnode->set_scope(old_output->scope()); in Process_Father()
162 std::vector<std::string> cnode_input_format = {AnfAlgo::GetOutputFormat(old_output, 0)}; in Process_Father()
164 std::vector<std::string> cnode_output_format = {AnfAlgo::GetOutputFormat(old_output, 0)}; in Process_Father()
180 auto old_output = gk_graph->output()->cast<CNodePtr>(); in Process_Father() local
181 MS_EXCEPTION_IF_NULL(old_output); in Process_Father()
182 if (AnfAlgo::GetCNodeName(old_output) == prim::kPrimCast->name() && in Process_Father()
183 AnfAlgo::GetInputDeviceDataType(old_output, 0) == kNumberTypeFloat16 && in Process_Father()
[all …]
Ddecrease_compute_precision.cc163 auto old_output = func_graph->output()->cast<CNodePtr>(); in Process() local
164 MS_EXCEPTION_IF_NULL(old_output); in Process()
199 if (AnfAlgo::CheckPrimitiveType(old_output, prim::kPrimMakeTuple)) { in Process()
201 auto all_out = AnfAlgo::GetAllOutput(old_output); in Process()
208 old_output->set_inputs(new_inputs); in Process()
210 add_cast(old_output, true, new_inputs); in Process()
/third_party/harfbuzz/src/
Dgen-hb-version.py18 with open (OUTPUT, "r") as old_output:
19 for line in old_output:
/third_party/skia/third_party/externals/harfbuzz/src/
Dgen-hb-version.py18 with open (OUTPUT, "r", encoding='utf-8') as old_output:
19 for line in old_output:
/third_party/mindspore/mindspore/ccsrc/backend/session/
Dkernel_graph.cc1225 auto old_output = old_outputs[i]; in UpdateGraphOutputMap() local
1227 if (old_output == new_output) { in UpdateGraphOutputMap()
1231 if (graph_output_to_front_node_map_.count(old_output) > 0) { in UpdateGraphOutputMap()
1232 …MS_LOG(INFO) << "Replace backend output node " << old_output.first->fullname_with_scope() << " wit… in UpdateGraphOutputMap()
1233 … << old_output.second << " to " << new_output.first->fullname_with_scope() << " with index " in UpdateGraphOutputMap()
1235 graph_output_to_front_node_map_[new_output] = graph_output_to_front_node_map_[old_output]; in UpdateGraphOutputMap()
1236 (void)graph_output_to_front_node_map_.erase(old_output); in UpdateGraphOutputMap()
1239 if (old_output.first == new_output.first) { in UpdateGraphOutputMap()
1243 if ((backend_front_anf_map_.count(old_output.first) > 0) && old_output.first->isa<CNode>() && in UpdateGraphOutputMap()
1245 …MS_LOG(INFO) << "Replace backend output node " << old_output.first->fullname_with_scope() << " to " in UpdateGraphOutputMap()
[all …]
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/parse/
Dfunction_block.cc533 AnfNodePtr old_output = nullptr; in AttachIsolatedNodesBeforeReturn() local
540 old_output = return_node->input(1); in AttachIsolatedNodesBeforeReturn()
542 old_output = NewValueNode(kNone); in AttachIsolatedNodesBeforeReturn()
545 …CNodePtr depend_node = func_graph_->NewCNode({NewValueNode(prim::kPrimDepend), old_output, stop_gr… in AttachIsolatedNodesBeforeReturn()