Home
last modified time | relevance | path

Searched refs:input_types (Results 1 – 25 of 73) sorted by relevance

123

/third_party/mindspore/mindspore/ccsrc/runtime/device/cpu/
Dkernel_select_cpu.cc79 void GetInputDtypes(const CNodePtr &kernel_node, std::vector<TypeId> *input_types, in GetInputDtypes() argument
90 input_types->emplace_back(dtype); in GetInputDtypes()
144 …etInputDtypeFormatMatchedNum(const KernelAttr &kernel_attr, const std::vector<TypeId> &input_types, in GetInputDtypeFormatMatchedNum() argument
146 if (kernel_attr.GetInputSize() != input_types.size()) { in GetInputDtypeFormatMatchedNum()
147 …"required input num:" << kernel_attr.GetInputSize() << ", actual input num:" << input_types.size(); in GetInputDtypeFormatMatchedNum()
151 auto input_num = input_types.size(); in GetInputDtypeFormatMatchedNum()
153 if (!InputDtypeMatch(kernel_attr.GetInputAttr(i).first, input_types[i], strict)) { in GetInputDtypeFormatMatchedNum()
155 << ", actual input dtype:" << input_types[i]; in GetInputDtypeFormatMatchedNum()
178 …nelBuildInfo(const std::vector<std::string> &input_formats, const std::vector<TypeId> &input_types, in SetKernelBuildInfo() argument
184 builder->SetInputsDeviceType(input_types); in SetKernelBuildInfo()
[all …]
/third_party/mindspore/mindspore/ccsrc/frontend/operator/composite/
Ddo_signature.cc94 TypeId GetMaxTypeId(const std::vector<TypePtr> &input_types, const std::vector<size_t> &indices) { in GetMaxTypeId() argument
103 if (!GetTensorOrScalarTypeInfo(input_types[index], &arg_type_id, &arg_type)) { in GetMaxTypeId()
153 …tMaxDtype(const std::vector<SignatureEnumDType> &dtypes, const std::vector<TypePtr> &input_types) { in GetMaxDtype() argument
175 auto arg_value = input_types[index]; in GetMaxDtype()
185 (void)dst_type.insert(std::make_pair(type, GetMaxTypeId(input_types, indices))); in GetMaxDtype()
200 const std::vector<TypePtr> &input_types, const FuncGraphPtr &graph, in DoAutoCast() argument
210 std::map<SignatureEnumDType, TypeId> dst_type = GetMaxDtype(dtypes, input_types); in DoAutoCast()
212 for (size_t i = 0; i < input_types.size(); ++i) { in DoAutoCast()
221 auto arg_value = input_types[i]; in DoAutoCast()
269 std::vector<TypePtr> input_types; in BuildNewCNode() local
[all …]
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/
Dcast_matmul_fusion.cc29 std::vector<TypeId> input_types = AnfAlgo::GetAllInputDeviceTypes(matmul_node); in UpdateBuildInfo() local
30 input_types.pop_back(); in UpdateBuildInfo()
32 input_types.push_back(cast_types.front()); in UpdateBuildInfo()
36 … BuildSelectKernelBuildInfo(input_formats, input_types, output_formats, output_types, matmul_node); in UpdateBuildInfo()
Doptimize_assign.cc176 std::vector<TypeId> input_types = AnfAlgo::GetAllInputDeviceTypes(cnode); in ReplaceAssignByInplaceAssignInGraphkernel() local
178 input_types.push_back(input_types.back()); in ReplaceAssignByInplaceAssignInGraphkernel()
180 std::vector<TypeId> output_types = {input_types.back()}; in ReplaceAssignByInplaceAssignInGraphkernel()
181 …auto graph_sel_info = BuildSelectKernelBuildInfo(input_formats, input_types, output_formats, outpu… in ReplaceAssignByInplaceAssignInGraphkernel()
Ddecrease_compute_precision.cc69 std::vector<TypeId> input_types = AnfAlgo::GetAllInputDeviceTypes(cnode); in UpdateOutputInfo() local
70 for (size_t i = 0; i < input_types.size(); i++) { in UpdateOutputInfo()
71 input_types[i] = TypeId::kNumberTypeFloat16; in UpdateOutputInfo()
75 …auto graph_sel_info = BuildSelectKernelBuildInfo(input_formats, input_types, output_formats, outpu… in UpdateOutputInfo()
Dinsert_pad.cc173 std::vector<TypeId> input_types = AnfAlgo::GetAllInputDeviceTypes(matmul); in InsertPad() local
175 std::vector<TypeId> pad_inp_types = {input_types.front()}; in InsertPad()
177 std::vector<TypeId> output_types = {input_types.front()}; in InsertPad()
225 std::vector<TypeId> input_types = AnfAlgo::GetAllInputDeviceTypes(matmul_node); in UpdateMatmulInfo() local
229 … BuildSelectKernelBuildInfo(input_formats, input_types, output_formats, output_types, matmul_node); in UpdateMatmulInfo()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/rts/
Drt_kernel_info.cc73 std::vector<TypeId> input_types = {}; in GetRtKelInfo() local
75 input_types.push_back(AnfAlgo::GetPrevNodeOutputInferDataType(kernel_node, i)); in GetRtKelInfo()
77 kernel_build_info_builder->SetInputsDeviceType(input_types); in GetRtKelInfo()
/third_party/mesa3d/src/compiler/nir/
Dnir_opcodes.py36 input_types, is_conversion, algebraic_properties, const_expr): argument
72 assert isinstance(input_types, list)
73 assert isinstance(input_types[0], str)
77 assert len(input_sizes) == len(input_types)
90 self.input_types = input_types
155 def opcode(name, output_size, output_type, input_sizes, input_types, argument
159 input_types, is_conversion, algebraic_properties,
Dnir_search_helpers.h45 nir_alu_type type = nir_op_infos[instr->op].input_types[src]; in is_pos_power_of_two()
79 nir_alu_type type = nir_op_infos[instr->op].input_types[src]; in is_neg_power_of_two()
133 switch (nir_op_infos[instr->op].input_types[src]) { in is_zero_to_one()
164 switch (nir_op_infos[instr->op].input_types[src]) { in is_gt_0_and_lt_1()
188 nir_alu_type type = nir_op_infos[instr->op].input_types[src]; in is_not_const_zero()
359 if (nir_op_infos[user_alu->op].input_types[index] != nir_type_float) in is_only_used_as_float()
Dnir_lower_int_to_float.c105 assert(nir_alu_type_get_base_type(info->input_types[i]) != nir_type_int && in lower_alu_instr()
106 nir_alu_type_get_base_type(info->input_types[i]) != nir_type_uint); in lower_alu_instr()
Dnir_instr_set.c434 if (nir_op_infos[alu1->op].input_types[src1] == nir_type_float) { in nir_alu_srcs_negative_equal()
435 assert(nir_op_infos[alu1->op].input_types[src1] == in nir_alu_srcs_negative_equal()
436 nir_op_infos[alu2->op].input_types[src2]); in nir_alu_srcs_negative_equal()
438 assert(nir_op_infos[alu1->op].input_types[src1] == nir_type_int); in nir_alu_srcs_negative_equal()
439 assert(nir_op_infos[alu2->op].input_types[src2] == nir_type_int); in nir_alu_srcs_negative_equal()
470 const nir_alu_type full_type = nir_op_infos[alu1->op].input_types[src1] | in nir_alu_srcs_negative_equal()
Dnir_constant_expressions.py15 for input_type in op.input_types:
Dnir_lower_bit_size.c61 nir_alu_type type = nir_op_infos[op].input_types[i]; in lower_alu_instr()
141 type = nir_op_infos[nir_intrinsic_reduction_op(intrin)].input_types[0]; in lower_intrinsic_instr()
Dnir_lower_to_source_mods.c77 switch (nir_alu_type_get_base_type(nir_op_infos[alu->op].input_types[i])) { in nir_lower_to_source_mods_block()
Dnir_lower_convert_alu_types.c196 nir_alu_type src_type = nir_op_infos[alu->op].input_types[0] | src->bit_size; in lower_alu_conversion()
Dnir_loop_analyze.c176 nir_alu_type_get_base_type(info->input_types[i]) == nir_type_float) in instr_cost()
864 assert(nir_alu_type_get_base_type(nir_op_infos[alu_op].input_types[1]) == nir_type_int || in calculate_iterations()
865 nir_alu_type_get_base_type(nir_op_infos[alu_op].input_types[1]) == nir_type_uint); in calculate_iterations()
867 assert(nir_alu_type_get_base_type(nir_op_infos[alu_op].input_types[0]) == in calculate_iterations()
Dnir_gather_ssa_types.c136 set_type(alu->src[i].src.ssa->index, info->input_types[i], in nir_gather_ssa_types()
Dnir_opt_constant_folding.c69 !nir_alu_type_get_type_size(nir_op_infos[alu->op].input_types[i])) in try_fold_alu()
/third_party/gstreamer/gstplugins_bad/sys/mediafoundation/
Dgstmftransform.h100 GList ** input_types);
Dgstmftransform.cpp1112 GList ** input_types) in gst_mf_transform_get_input_available_types() argument
1120 g_return_val_if_fail (input_types != NULL, FALSE); in gst_mf_transform_get_input_available_types()
1139 *input_types = list; in gst_mf_transform_get_input_available_types()
/third_party/mesa3d/src/intel/compiler/
Dbrw_nir_lower_conversions.c69 nir_alu_type src_type = nir_op_infos[alu->op].input_types[0]; in lower_alu_instr()
/third_party/mesa3d/docs/_exts/
Dnir.py91 for i, t, s in zip(range(100), op.input_types, op.input_sizes):
/third_party/vk-gl-cts/android/cts/master/
Dgles2-master-2020-03-01.txt11660 dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input_types.3_fixed2_vec2_fixed2_vec2_fixed…
11661 dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input_types.3_fixed2_vec2_fixed2_vec2_byte2…
11662 dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input_types.3_fixed2_vec2_fixed2_vec2_short…
11663 dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input_types.3_fixed2_vec2_fixed2_vec2_unsig…
11664 dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input_types.3_fixed2_vec2_fixed2_vec2_unsig…
11665 dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input_types.3_fixed2_vec2_byte2_vec2_fixed2…
11666 dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input_types.3_fixed2_vec2_byte2_vec2_byte2_…
11667 dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input_types.3_fixed2_vec2_byte2_vec2_short2…
11668 dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input_types.3_fixed2_vec2_byte2_vec2_unsign…
11669 dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input_types.3_fixed2_vec2_byte2_vec2_unsign…
[all …]
/third_party/skia/third_party/externals/swiftshader/tests/regres/testlists/
Dgles2-master-PASS.txt13508 dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input_types.3_byte2_vec2_byte2_vec2_byte2_v…
13509 dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input_types.3_byte2_vec2_byte2_vec2_fixed2_…
13510 dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input_types.3_byte2_vec2_byte2_vec2_short2_…
13511 dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input_types.3_byte2_vec2_byte2_vec2_unsigne…
13512 dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input_types.3_byte2_vec2_byte2_vec2_unsigne…
13513 dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input_types.3_byte2_vec2_fixed2_vec2_byte2_…
13514 dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input_types.3_byte2_vec2_fixed2_vec2_fixed2…
13515 dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input_types.3_byte2_vec2_fixed2_vec2_short2…
13516 dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input_types.3_byte2_vec2_fixed2_vec2_unsign…
13517 dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input_types.3_byte2_vec2_fixed2_vec2_unsign…
[all …]
/third_party/vk-gl-cts/external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.2.x/
Dgles2-master.txt11385 dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input_types.3_fixed2_vec2_fixed2_vec2_fixed…
11386 dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input_types.3_fixed2_vec2_fixed2_vec2_byte2…
11387 dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input_types.3_fixed2_vec2_fixed2_vec2_short…
11388 dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input_types.3_fixed2_vec2_fixed2_vec2_unsig…
11389 dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input_types.3_fixed2_vec2_fixed2_vec2_unsig…
11390 dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input_types.3_fixed2_vec2_byte2_vec2_fixed2…
11391 dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input_types.3_fixed2_vec2_byte2_vec2_byte2_…
11392 dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input_types.3_fixed2_vec2_byte2_vec2_short2…
11393 dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input_types.3_fixed2_vec2_byte2_vec2_unsign…
11394 dEQP-GLES2.functional.vertex_arrays.multiple_attributes.input_types.3_fixed2_vec2_byte2_vec2_unsign…
[all …]

123