/third_party/mindspore/mindspore/ccsrc/runtime/device/cpu/ |
D | kernel_select_cpu.cc | 94 void GetInputFormat(const CNodePtr &kernel_node, std::vector<std::string> *input_formats) { in GetInputFormat() argument 97 input_formats->emplace_back(kOpFormat_DEFAULT); in GetInputFormat() 178 void SetKernelBuildInfo(const std::vector<std::string> &input_formats, const std::vector<TypeId> &i… in SetKernelBuildInfo() argument 183 builder->SetInputsFormat(input_formats); in SetKernelBuildInfo() 232 std::vector<std::string> input_formats; in UpdateDynamicKernelBuildInfoAndAttrs() local 233 GetInputFormat(kernel_node, &input_formats); in UpdateDynamicKernelBuildInfoAndAttrs() 236 SetKernelBuildInfo(input_formats, input_types, output_formats, output_types, kernel_node.get()); in UpdateDynamicKernelBuildInfoAndAttrs() 310 std::vector<std::string> input_formats; in SetKernelInfo() local 352 (void)input_formats.emplace_back(selected_kernel_attr.GetInputAttr(index).second); in SetKernelInfo() 355 …SetKernelBuildInfo(input_formats, input_types, selected_output_formats, selected_output_types, ker… in SetKernelInfo()
|
/third_party/ffmpeg/libavfilter/ |
D | vf_hwupload.c | 47 AVFilterFormats *input_formats = NULL; in hwupload_query_formats() local 80 input_formats = ff_make_format_list(output_pix_fmts); in hwupload_query_formats() 81 if (!input_formats) { in hwupload_query_formats() 87 err = ff_add_format(&input_formats, input_pix_fmts[i]); in hwupload_query_formats() 93 if ((err = ff_formats_ref(input_formats, &avctx->inputs[0]->outcfg.formats)) < 0 || in hwupload_query_formats()
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/ |
D | optimize_assign.cc | 175 std::vector<std::string> input_formats = AnfAlgo::GetAllInputFormats(cnode); in ReplaceAssignByInplaceAssignInGraphkernel() local 177 input_formats.push_back(input_formats.back()); in ReplaceAssignByInplaceAssignInGraphkernel() 179 std::vector<std::string> output_formats = {input_formats.back()}; in ReplaceAssignByInplaceAssignInGraphkernel() 181 …auto graph_sel_info = BuildSelectKernelBuildInfo(input_formats, input_types, output_formats, outpu… in ReplaceAssignByInplaceAssignInGraphkernel()
|
D | cast_matmul_fusion.cc | 28 std::vector<std::string> input_formats = AnfAlgo::GetAllInputFormats(matmul_node); in UpdateBuildInfo() local 36 … BuildSelectKernelBuildInfo(input_formats, input_types, output_formats, output_types, matmul_node); in UpdateBuildInfo()
|
D | insert_pad.cc | 172 std::vector<std::string> input_formats = AnfAlgo::GetAllInputFormats(matmul); in InsertPad() local 174 std::vector<std::string> pad_inp_formats = {input_formats.front()}; in InsertPad() 176 std::vector<std::string> pad_output_formats = {input_formats.front()}; in InsertPad() 224 std::vector<std::string> input_formats = AnfAlgo::GetAllInputFormats(matmul_node); in UpdateMatmulInfo() local 229 … BuildSelectKernelBuildInfo(input_formats, input_types, output_formats, output_types, matmul_node); in UpdateMatmulInfo()
|
D | decrease_compute_precision.cc | 68 std::vector<std::string> input_formats = AnfAlgo::GetAllInputFormats(cnode); in UpdateOutputInfo() local 75 …auto graph_sel_info = BuildSelectKernelBuildInfo(input_formats, input_types, output_formats, outpu… in UpdateOutputInfo()
|
D | graph_kernel_helper.cc | 724 std::vector<std::string> input_formats; in CreateCNode() local 729 input_formats.push_back(input_format); in CreateCNode() 738 info_builder.SetInputsFormat(input_formats); in CreateCNode()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/ |
D | cpu_kernel_factory.cc | 68 auto input_formats = inputs_ptr[0]->formats(); in SetKernelAttrs() local 72 (void)kernel_attr.AddInputAttr(kernel::DtypeToTypeId(first_input_dtypes[i]), input_formats[i]); in SetKernelAttrs() 75 input_formats = inputs_ptr[j]->formats(); in SetKernelAttrs() 76 (void)kernel_attr.AddInputAttr(kernel::DtypeToTypeId(input_dtypes[i]), input_formats[i]); in SetKernelAttrs()
|
/third_party/gstreamer/gstplugins_bad/sys/nvcodec/ |
D | gstnvbaseenc.h | 119 GValue * input_formats; /* OBJECT LOCK */ member
|
D | gstnvbaseenc.c | 508 nvenc->input_formats = formats; in gst_nv_base_enc_open() 813 GstCaps * caps, const GValue * input_formats, guint max_chroma, in gst_nv_base_enc_set_filtered_input_formats() argument 823 for (i = 0; i < gst_value_list_get_size (input_formats); i++) { in gst_nv_base_enc_set_filtered_input_formats() 827 val = gst_value_list_get_value (input_formats, i); in gst_nv_base_enc_set_filtered_input_formats() 911 if (nvenc->input_formats != NULL) { in gst_nv_base_enc_getcaps() 947 nvenc->input_formats, max_chroma_index, max_bit_minus8)) { in gst_nv_base_enc_getcaps() 948 gst_caps_set_value (supported_incaps, "format", nvenc->input_formats); in gst_nv_base_enc_getcaps() 1008 if (nvenc->input_formats) in gst_nv_base_enc_close() 1009 g_value_unset (nvenc->input_formats); in gst_nv_base_enc_close() 1010 g_free (nvenc->input_formats); in gst_nv_base_enc_close() [all …]
|