Home
last modified time | relevance | path

Searched refs:base_types (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/python/framework/
Dtensor_conversion_registry.py98 base_types = base_type if isinstance(base_type, tuple) else (base_type,)
99 if any(not isinstance(x, type) for x in base_types):
101 if any(issubclass(x, _UNCONVERTIBLE_TYPES) for x in base_types):
104 del base_types # Only needed for validation.
Dop_def_library.py510 base_types = [x.base_dtype for x in types]
532 if any(bt != base_types[0] for bt in base_types):
539 if base_types and base_types[0] != input_arg.type:
544 if base_types and base_types[0] != attrs[input_arg.type_attr]:
549 if not base_types:
558 attrs[input_arg.type_attr] = base_types[0]
561 _SatisfiesTypeConstraint(base_types[0], type_attr,
565 attr_value = base_types[0]
575 for base_type in base_types:
583 attr_value = base_types
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dfuzzer_pass_add_global_variables.cpp36 auto& base_types = base_type_ids_and_pointers.first; in Apply() local
49 base_types[GetFuzzerContext()->RandomIndex(base_types)]; in Apply()
Dfuzzer_pass_add_local_variables.cpp37 auto& base_types = base_type_ids_and_pointers.first; in Apply() local
52 base_types[GetFuzzerContext()->RandomIndex(base_types)]; in Apply()
Dfuzzer_pass.cpp314 std::vector<uint32_t> base_types; in GetAvailableBaseTypesAndPointers() local
332 base_types.push_back(inst.result_id()); in GetAvailableBaseTypesAndPointers()
347 return {base_types, base_type_to_pointers}; in GetAvailableBaseTypesAndPointers()
/external/mesa3d/src/intel/genxml/
Dgen_sort_tags.py24 base_types = [ variable
37 return name in base_types or sfixed_pattern.match(name) or ufixed_pattern.match(name)
/external/elfutils/libdw/
Dknown-dwarf.h53 DWARF_ONE_KNOWN_DW_AT (base_types, DW_AT_base_types) \
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/BinaryFormat/
DDwarf.def227 HANDLE_DW_AT(0x35, base_types, 2, DWARF)