Searched refs:old_output (Results 1 – 6 of 6) sorted by relevance
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/ |
D | decrease_transfer_precision.cc | 153 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 …]
|
D | decrease_compute_precision.cc | 163 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/ |
D | gen-hb-version.py | 18 with open (OUTPUT, "r") as old_output: 19 for line in old_output:
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
D | gen-hb-version.py | 18 with open (OUTPUT, "r", encoding='utf-8') as old_output: 19 for line in old_output:
|
/third_party/mindspore/mindspore/ccsrc/backend/session/ |
D | kernel_graph.cc | 1225 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/ |
D | function_block.cc | 533 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()
|