Home
last modified time | relevance | path

Searched refs:origin_type (Results 1 – 18 of 18) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/format_type/
Dinsert_cast.cc51 const auto origin_type = AnfAlgo::GetOutputInferDataType(cnode, output_idx); in InsertCastForMultipleOutput() local
64 if (origin_type != device_type) { in InsertCastForMultipleOutput()
65 …replace_node = AddCastOpNodeToGraph(func_graph, getitem, dev_fmt, device_type, origin_type, origin… in InsertCastForMultipleOutput()
66 origin_type, AnfAlgo::GetOutputReshapeType(getitem, 0)); in InsertCastForMultipleOutput()
97 const TypeId origin_type = AnfAlgo::GetOutputInferDataType(cnode, 0); in InsertCastForOutput() local
100 if (origin_type != device_type) { in InsertCastForOutput()
101 …replace_node = AddCastOpNodeToGraph(func_graph, cnode, dev_fmt, device_type, origin_type, origin_s… in InsertCastForOutput()
102 origin_type, AnfAlgo::GetOutputReshapeType(cnode, 0)); in InsertCastForOutput()
Dinsert_transpose_for_basiclstm_op.cc46 auto origin_type = AnfAlgo::GetPrevNodeOutputInferDataType(cnode, 1); in Insert() local
52 AnfAlgo::SetOutputInferTypeAndShape({origin_type}, {dst_shape}, transpose.get()); in Insert()
Ddeal_ref_and_split_unsupported_transdata.cc115 auto origin_type = AnfAlgo::GetOutputDeviceDataType(origin_pair.first, origin_pair.second); in AddAdditionalToRefOutput() local
132 if (origin_type != cur_type) { in AddAdditionalToRefOutput()
134 …AddCastOpNodeToGraph(func_graph, final_node, origin_format, cur_type, origin_type, detail_shape, c… in AddAdditionalToRefOutput()
147 if (origin_format != cur_format || origin_type != cur_type) { in AddAdditionalToRefOutput()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/cpu/
Dinsert_cast_cpu.cc37 … const std::vector<size_t> &origin_shape, const TypeId &origin_type) { in AddCastOpNodeToGraph() argument
54 AnfAlgo::SetOutputInferTypeAndShape({origin_type}, {origin_shape}, cast.get()); in AddCastOpNodeToGraph()
74 auto origin_type = AnfAlgo::GetOutputDeviceDataType(prev_node.first, prev_node.second); in InsertCast() local
75 if (origin_type == kTypeUnknown) { in InsertCast()
76 origin_type = AnfAlgo::GetOutputInferDataType(prev_node.first, prev_node.second); in InsertCast()
86 …if (TypeId device_type = AnfAlgo::GetInputDeviceDataType(cnode, input_index); origin_type != devic… in InsertCast()
88 …AddCastOpNodeToGraph(func_graph, cur_input, dev_fmt, origin_type, device_type, origin_shape, devic… in InsertCast()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/enhancer/
Dinsert_pad_for_nms_with_mask.cc37 …nsertPadToGraph(const FuncGraphPtr &func_graph, const AnfNodePtr &input, const TypeId &origin_type, in InsertPadToGraph() argument
46 AnfAlgo::SetOutputInferTypeAndShape({origin_type}, {origin_shape}, pad.get()); in InsertPadToGraph()
67 auto origin_type = AnfAlgo::GetPrevNodeOutputInferDataType(cnode, input_idx); in Process() local
73 auto pad = InsertPadToGraph(func_graph, cur_input, origin_type, origin_shape); in Process()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/
Dascend_helper.cc327 const abstract::BaseShapePtr &origin_shape, const TypeId &origin_type, in AddCastOpNodeToGraph() argument
360 AnfAlgo::SetNodeAttr("dst_type", TypeIdToType(origin_type), cast); in AddCastOpNodeToGraph()
362 AnfAlgo::SetOutputTypeAndDetailShape({origin_type}, {origin_shape}, cast.get()); in AddCastOpNodeToGraph()
428 TypeId origin_type(kTypeUnknown); in InsertCastForInput() local
435 origin_type = AnfAlgo::GetPrevNodeOutputPrecision(cnode, input_index); in InsertCastForInput()
436 if (origin_type == kTypeUnknown) { in InsertCastForInput()
437 origin_type = AnfAlgo::GetOutputDeviceDataType(prev_node.first, prev_node.second); in InsertCastForInput()
441 origin_type = AnfAlgo::GetOutputInferDataType(prev_node.first, prev_node.second); in InsertCastForInput()
447 …if (TypeId device_type = AnfAlgo::GetInputDeviceDataType(cnode, input_index); origin_type != devic… in InsertCastForInput()
449 …AddCastOpNodeToGraph(func_graph, cur_input, dev_fmt, origin_type, device_type, origin_shape, infer… in InsertCastForInput()
Dascend_helper.h112 const abstract::BaseShapePtr &origin_shape, const TypeId &origin_type,
/third_party/mindspore/mindspore/_extends/parse/
Dstandard_method.py1546 def to_target_type(origin_type): argument
1548 if isinstance(origin_type, type):
1549 ret_type = pytype_to_mstype[origin_type]
1557 if isinstance(origin_type, tuple):
1558 return tuple(to_target_type(i) for i in origin_type)
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/
Ddecrease_compute_precision.cc37 const TypeId &origin_type) { in AddCastCNode() argument
55 AnfAlgo::SetOutputInferTypeAndShape({origin_type}, {origin_shape}, cast.get()); in AddCastCNode()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/tbe/
Dtbe_adapter.cc337 std::string TbeAdapter::GetRealOpType(const std::string &origin_type) { in GetRealOpType() argument
340 auto iter = buffer_fussion_op_map.find(origin_type); in GetRealOpType()
341 return (iter != buffer_fussion_op_map.end()) ? iter->second : origin_type; in GetRealOpType()
Dtbe_adapter.h140 static std::string GetRealOpType(const std::string &origin_type);
Dtbe_kernel_build.cc1052 auto origin_type = AnfAlgo::GetCNodeName(cnode); in GenFusionComputeCommonJson() local
1053 auto op_info_ptr = tbe::TbeDynamicShapeUtil::FindOp(origin_type, cnode); in GenFusionComputeCommonJson()
1055 auto type = GetRealOpType(origin_type); in GenFusionComputeCommonJson()
1346 std::string TbeKernelBuild::GetRealOpType(const std::string &origin_type) { in GetRealOpType() argument
1349 string result = origin_type; in GetRealOpType()
1350 auto iter = buffer_fussion_op_map.find(origin_type); in GetRealOpType()
Dtbe_kernel_build.h92 static std::string GetRealOpType(const std::string &origin_type);
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/mpegts/
Dgst-dvb-descriptor.h447 gboolean origin_type; member
Dgst-dvb-descriptor.c716 hand_over->origin_type = (*data) & 0x01; in gst_mpegts_descriptor_parse_dvb_linkage()
733 if (hand_over->origin_type == 0) { in gst_mpegts_descriptor_parse_dvb_linkage()
/third_party/mindspore/mindspore/ccsrc/backend/session/
Dkernel_graph.cc675 TypeId origin_type = AnfAlgo::GetOutputInferDataType(node, output_idx); in CreatTupleGetItemNode() local
676 AnfAlgo::SetOutputInferTypeAndShape({origin_type}, {origin_shape}, tuple_getitem.get()); in CreatTupleGetItemNode()
/third_party/mindspore/mindspore/ccsrc/runtime/device/
Dkernel_adjust.cc633 TypeId origin_type = AnfAlgo::GetOutputInferDataType(node, output_idx); in CreatTupleGetItemNode() local
634 AnfAlgo::SetOutputInferTypeAndShape({origin_type}, {origin_shape}, tuple_getitem.get()); in CreatTupleGetItemNode()
/third_party/gstreamer/gstplugins_bad/tests/examples/mpegts/
Dts-parser.c371 linkage->origin_type ? "SDT" : "NIT"); in dump_linkage()