/third_party/mindspore/tests/ut/cpp/dataset/ |
D | type_cast_op_test.cc | 65 DataType input_format = DataType(DataType("uint8")); in TEST_F() local 66 testCast<uint8_t, uint8_t>(input, input_format, DataType("uint8")); in TEST_F() 67 testCast<uint8_t, uint16_t>(input, input_format, DataType("uint16")); in TEST_F() 68 testCast<uint8_t, uint32_t>(input, input_format, DataType("uint32")); in TEST_F() 69 testCast<uint8_t, uint64_t>(input, input_format, DataType("uint64")); in TEST_F() 70 testCast<uint8_t, int8_t>(input, input_format, DataType("int8")); in TEST_F() 71 testCast<uint8_t, int16_t>(input, input_format, DataType("int16")); in TEST_F() 72 testCast<uint8_t, int32_t>(input, input_format, DataType("int32")); in TEST_F() 73 testCast<uint8_t, int64_t>(input, input_format, DataType("int64")); in TEST_F() 74 testCast<uint8_t, float16>(input, input_format, DataType("float16")); in TEST_F() [all …]
|
/third_party/mesa3d/src/gallium/tests/unit/ |
D | translate_test.c | 56 unsigned input_format; in main() local 198 for (input_format = 1; input_format < PIPE_FORMAT_COUNT; ++input_format) in main() 200 … const struct util_format_description* input_format_desc = util_format_description(input_format); in main() 201 …truct util_format_pack_description* input_format_pack = util_format_pack_description(input_format); in main() 203 util_format_fetch_rgba_func(input_format); in main() 216 || !translate_is_output_format_supported(input_format)) in main() 219 input_format_size = util_format_get_stride(input_format, 1); in main() 237 key.element[0].input_format = input_format; in main() 244 key.element[0].input_format = output_format; in main() 245 key.element[0].output_format = input_format; in main()
|
/third_party/mindspore/tests/ut/data/profiler_data/JOB1/ |
D | Framework.host.vm_graph_desc_info.0.slice_0 | 1 op_name:Default/Cast-op6 op_type:Cast input_id:0 input_format:DefaultFormat input_data_type:40 inpu… 2 op_name:Default/TransData-op7 op_type:TransData input_id:0 input_format:DefaultFormat input_data_ty… 3 …ssCell/_backbone-ResNet/conv1-Conv2d/Cast-op5 op_type:Cast input_id:0 input_format:FracZ input_dat… 4 …alCell/0-ResidualBlock/conv1-Conv2d/Cast-op28 op_type:Cast input_id:0 input_format:FracZ input_dat…
|
/third_party/mindspore/tests/ut/data/profiler_data/JOB4/data/ |
D | Framework.host.vm_graph_desc_info.0.slice_0 | 1 op_name:Default/Cast-op6 op_type:Cast input_id:0 input_format:DefaultFormat input_data_type:40 inpu… 2 op_name:Default/TransData-op7 op_type:TransData input_id:0 input_format:DefaultFormat input_data_ty… 3 …ssCell/_backbone-ResNet/conv1-Conv2d/Cast-op5 op_type:Cast input_id:0 input_format:FracZ input_dat… 4 …alCell/0-ResidualBlock/conv1-Conv2d/Cast-op28 op_type:Cast input_id:0 input_format:FracZ input_dat…
|
/third_party/mindspore/tests/ut/data/profiler_data/container/0/data/ |
D | Framework.host.vm_graph_desc_info.0.JOB2.slice_0 | 1 op_name:Default/Cast-op6 op_type:Cast input_id:0 input_format:DefaultFormat input_data_type:40 inpu… 2 op_name:Default/TransData-op7 op_type:TransData input_id:0 input_format:DefaultFormat input_data_ty… 3 …ssCell/_backbone-ResNet/conv1-Conv2d/Cast-op5 op_type:Cast input_id:0 input_format:FracZ input_dat… 4 …alCell/0-ResidualBlock/conv1-Conv2d/Cast-op28 op_type:Cast input_id:0 input_format:FracZ input_dat…
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/rts/ |
D | label_switch.cc | 77 std::vector<string> input_format{kOpFormat_DEFAULT}; in GetKernelInfo() local 79 if (input_format.size() != input_type.size()) { in GetKernelInfo() 80 …MS_LOG(EXCEPTION) << "Invalid param num, input_format size " << input_format.size() << " input_typ… in GetKernelInfo() 83 for (size_t i = 0; i < input_format.size(); ++i) { in GetKernelInfo() 85 builder.SetInputsFormat({input_format[i]}); in GetKernelInfo()
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/ir_fission/ |
D | transdata_split.cc | 46 auto input_format = AnfAlgo::GetInputFormat(node, 0); in IsFormatInvaild() local 48 auto format_pair = std::make_pair(input_format, output_format); in IsFormatInvaild() 67 auto input_format = AnfAlgo::GetInputFormat(node, 0); in DoSplit() local 78 RefreshKernelBuildInfo(input_format, kOpFormat_HWCN, new_transdata_node, padding_axis); in DoSplit() 91 RefreshKernelBuildInfo(input_format, kOpFormat_HWCN, new_transpose_node); in DoSplit()
|
/third_party/mindspore/mindspore/train/summary/ |
D | _summary_adapter.py | 340 def _fill_image_summary(tag: str, np_value, summary_image, input_format='NCHW'): argument 358 if np_value.ndim != len(input_format): 369 tensor = _convert_image_format(np_value, input_format) 413 def _convert_image_format(np_tensor, input_format, out_format='HWC'): argument 425 input_format = input_format.upper() 428 if input_format != 'NCHW': 429 index = [input_format.find(c) for c in 'NCHW']
|
/third_party/ffmpeg/libavfilter/ |
D | vf_scale_vulkan.c | 147 .elems = av_pix_fmt_count_planes(s->vkctx.input_format), 186 if (s->vkctx.output_format != s->vkctx.input_format) { 206 if (s->vkctx.output_format == s->vkctx.input_format) { 238 if (s->vkctx.output_format != s->vkctx.input_format) { 308 for (int i = 0; i < av_pix_fmt_count_planes(s->vkctx.input_format); i++) { 311 av_vkfmt_from_pixfmt(s->vkctx.input_format)[i], 328 for (int i = 0; i < av_pix_fmt_count_planes(s->vkctx.input_format); i++) { 418 if (s->vkctx.output_format != s->vkctx.input_format) 451 s->vkctx.output_format = s->vkctx.input_format; 454 if (s->vkctx.output_format != s->vkctx.input_format) { [all …]
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/tbe/tbe_kernel_select/ |
D | tbe_kernel_broadcast_selecter.cc | 112 support_format->input_format.emplace_back(input_support_format); in IsBroadCastSupport5HD() 147 support_format->input_format.emplace_back(input_support_format); in IsBroadCastSupportFracZ() 195 support_format->input_format.emplace_back(input_support_format); in IsBroadCastSupportC1HWNCoC0() 249 support_format->input_format.emplace_back(input_support_format); in IsBroadCastSupportFracNZ() 294 support_format->input_format.emplace_back(input_support_format); in IsBroadCastSupportNDC1HWC0() 363 support_format->input_format.emplace_back(input_support_format); in AssignSupportFormat()
|
D | tbe_kernel_select.cc | 157 support_format.input_format.emplace_back(input_item); in GetAgnosticPatternKernelInfo() 474 if (support_format.input_format.empty() || support_format.output_format.empty()) { in CreateNewOpInfo() 476 << support_format.input_format.size() in CreateNewOpInfo() 479 if (op_info.inputs_ptr().size() != support_format.input_format[0].size() || in CreateNewOpInfo() 482 << ", input support size: " << support_format.input_format[0].size() in CreateNewOpInfo() 492 CreateNewOpIOInfo(*input, support_format.input_format, i, input_new.get()); in CreateNewOpInfo() 587 if (support_format.input_format.size() != support_format.output_format.size()) { in PrintSupportedFormat() 588 MS_LOG(EXCEPTION) << "Input(" << support_format.input_format.size() << ")Output(" in PrintSupportedFormat() 591 for (size_t i = 0; i < support_format.input_format.size(); ++i) { in PrintSupportedFormat() 592 auto input_items = support_format.input_format.at(i); in PrintSupportedFormat()
|
D | common_utils.h | 23 std::vector<std::vector<std::string>> input_format; member
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/ |
D | ascend_helper.cc | 61 std::string input_format = AnfAlgo::GetInputFormat(trans_node, 0); in SetTransNodeAttr() local 63 if (input_format == kOpFormat_DEFAULT) { in SetTransNodeAttr() 64 …input_format = AnfAlgo::GetCNodeName(trans_node) == kTransDataOpName ? kOpFormat_NCHW : kOpFormat_… in SetTransNodeAttr() 69 AnfAlgo::SetNodeAttr(kAttrSrcFormat, MakeValue(input_format), trans_node); in SetTransNodeAttr() 200 …std::string input_format = is_insert_input ? default_format : AnfAlgo::GetOutputFormat(node, inser… in AddTransOpNodeToGraph() local 206 std::string spec_format = is_insert_input ? dst_format : input_format; in AddTransOpNodeToGraph() 236 RefreshKernelBuildInfo(input_format, dst_format, trans_data, padding_axis); in AddTransOpNodeToGraph() 243 void RefreshKernelBuildInfo(const std::string &input_format, const std::string &output_format, in RefreshKernelBuildInfo() argument 250 builder->SetInputsFormat({input_format}); in RefreshKernelBuildInfo() 331 std::string input_format = format; in AddCastOpNodeToGraph() local [all …]
|
/third_party/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_pt_fetch.c | 85 key.element[nr].input_format = PIPE_FORMAT_R32_USCALED; in draw_pt_fetch_prepare() 92 key.element[nr].input_format = draw->pt.vertex_element[ei].src_format; in draw_pt_fetch_prepare() 103 key.element[nr].input_format = draw->pt.vertex_element[ei].src_format; in draw_pt_fetch_prepare() 114 key.element[nr].input_format = draw->pt.vertex_element[ei].src_format; in draw_pt_fetch_prepare()
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/format_type/ |
D | insert_transdata_for_runop.cc | 40 auto input_format = AnfAlgo::GetInputFormat(cnode, index); in Run() local 49 …if (kCommonFormatSet.find(input_format) == kCommonFormatSet.end() && prev_node_out_infer_shape.siz… in Run()
|
D | insert_transpose_for_dynamic_gru_v2.cc | 53 auto input_format = AnfAlgo::GetInputFormat(transdata_node, 0); in Insert() local 63 RefreshKernelBuildInfo(input_format, kOpFormat_HWCN, new_transpose_node); in Insert()
|
/third_party/gstreamer/gstplugins_bad/sys/applemedia/ |
D | atdec.c | 293 AudioStreamBasicDescription input_format = { 0 }; in gst_atdec_set_format() local 308 gst_caps_to_at_format (caps, &input_format); in gst_atdec_set_format() 310 atdec->spf = input_format.mFramesPerPacket; in gst_atdec_set_format() 320 "rate", G_TYPE_INT, (int) input_format.mSampleRate, in gst_atdec_set_format() 321 "channels", G_TYPE_INT, input_format.mChannelsPerFrame, NULL); in gst_atdec_set_format() 335 status = AudioQueueNewOutput (&input_format, gst_atdec_buffer_emptied, in gst_atdec_set_format()
|
/third_party/mindspore/mindspore/lite/src/delegate/tensorrt/ |
D | tensorrt_utils.cc | 292 Format GetOutputFormat(Format input_format, nvinfer1::Permutation perm) { in GetOutputFormat() argument 293 if (input_format == Format::NHWC) { in GetOutputFormat() 297 } else if (input_format == Format::NCHW) { in GetOutputFormat() 302 MS_LOG(WARNING) << "transpose out format needs to check for " << input_format; in GetOutputFormat() 303 return input_format; in GetOutputFormat()
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/ir_fusion/ |
D | transposed_update_fusion.cc | 96 auto input_format = AnfAlgo::GetInputFormat(node, 0); in Process() local 98 builder->SetInputsFormat({input_format, kOpFormat_DEFAULT}); in Process()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/arrays/ |
D | unpack_gpu_kernel.h | 68 auto input_format = AnfAlgo::GetInputFormat(kernel_node, 0); in Init() local 69 axis_ = AxisTransform(origin_data_format, input_format, axis_); in Init()
|
D | pack_gpu_kernel.h | 68 auto input_format = AnfAlgo::GetInputFormat(kernel_node, 0); in Init() local 69 axis_ = AxisTransform(origin_data_format, input_format, axis_); in Init()
|
D | concatv2_gpu_kernel.h | 89 auto input_format = AnfAlgo::GetInputFormat(kernel_node, 0); in Init() local 90 axis_ = AxisTransform(origin_data_format, input_format, axis_); in Init()
|
D | split_gpu_kernel.h | 75 auto input_format = AnfAlgo::GetInputFormat(kernel_node, 0); in Init() local 76 axis_ = AxisTransform(origin_data_format, input_format, axis_); in Init()
|
/third_party/mindspore/tests/st/cpp/data/dataset/ |
D | aipp_resnet50.cfg | 3 input_format : YUV420SP_U8
|
/third_party/protobuf/conformance/ |
D | conformance_test.cc | 79 conformance::WireFormat input_format, in ConformanceRequestSetting() argument 85 input_format_(input_format), in ConformanceRequestSetting() 90 switch (input_format) { in ConformanceRequestSetting()
|