/external/executorch/exir/dialects/edge/spec/ |
D | utils.py | 164 def update_type_alias(type_alias: Dict[Tuple[str], int], new_key: Tuple[str]) -> None: 165 """Update type_alias with new type alias""" 166 if new_key not in type_alias: 167 type_alias[new_key] = len(type_alias) 171 type_alias: Dict[Tuple[str], int], type_constraint: List[List[int]] 174 …type_alias ('Double',): 0, ('Int',): 1, output will be {(0, 1): ['Double', 'Int', 'Double', 'Int']… 190 # key is type_alias value which is alias index 191 alias = next(k for k, v in type_alias.items() if v == key) 199 type_alias: Dict[Tuple[str], int], 212 tuple([type_alias[(type_info,)]] * length) for type_info in new_alias [all …]
|
D | gen.py | 302 self.type_alias, self.type_constraint = type_aggregrate(allowed_types) 312 for i, ts in enumerate(self.type_alias) 326 "type_alias": type_alias_yaml, 345 my_str += "type_alias: {}\n".format(self.type_alias)
|
/external/executorch/exir/dialects/edge/ |
D | edge.yaml | 9 type_alias: 18 type_alias: 27 type_alias: 70 type_alias: 79 type_alias: 92 type_alias: 105 type_alias: 245 type_alias: 560 type_alias: 864 type_alias: [all …]
|
D | _ops.py | 73 type_alias: Dict of type alias name to corresponding list of dtypes. 81 type_alias: Dict[str, List[torch.dtype]], 86 self.type_alias: Dict[str, AllowedDtypeSet] = { 87 alias: AllowedDtypeSet(set(types)) for alias, types in type_alias.items() 131 # Narrow down the type_alias based on contraint and actual input 137 elif arg_type in self.type_alias[constraint[arg_name]]: 138 self.type_alias[constraint[arg_name]].reduce_to(arg_type) 143 for alias in self.type_alias.values(): 161 valid_dtype = self.type_alias[constraint[arg_name]].types | valid_dtype 225 type_alias = { [all …]
|
/external/pytorch/torchgen/executorch/ |
D | parse.py | 24 ET_FIELDS = ["kernels", "type_alias", "dim_order_alias"] 32 ei: Dict keys {kernels, type_alias, dim_order_alias} 39 type_alias: dict[str, list[str]] = e.pop("type_alias", {}) # type: ignore[assignment] 64 … else ETKernelKey.gen_from_yaml(arg_meta, type_alias, dim_order_alias) # type: ignore[arg-type]
|
D | model.py | 91 for type_alias, dim_order in args.values(): 94 assert type_alias in type_alias_map, "Undefined type alias: " + str( 95 type_alias 100 dtype_alias_used.add(type_alias)
|
/external/executorch/exir/dialects/edge/test/ |
D | test_edge_yaml.py | 46 if op_yaml_key == "type_alias": 109 example_yaml_info.type_alias, 145 example_yaml_info.type_alias, 163 self.assertEqual(ret.type_alias, [("Double", "Float", "Half")]) 178 ret.type_alias,
|
D | test_edge_ops.py | 43 "type_alias": { 144 self.assertTrue(isinstance(edge_foo_schema.dtype_constraint.type_alias, dict)) 145 for key, value in edge_foo_schema.dtype_constraint.type_alias.items():
|
/external/llvm/test/CodeGen/MIR/X86/ |
D | generic-virtual-registers.mir | 9 %type_alias = type <2 x i32> 41 %2(64) = G_ADD %type_alias %edi, %edi
|
/external/pytorch/torch/csrc/jit/ir/ |
D | irparser.cpp | 134 auto type_alias = type_parser.parseType(); in parseVarWithType() local 135 AT_ASSERTM(!type_alias.second, "Parsing IR with Alias Info not handled"); in parseVarWithType() 136 r.type = type_alias.first; in parseVarWithType() 176 std::pair<TypePtr, std::optional<c10::AliasInfo>> type_alias; in parseScalarLiteral() local 242 type_alias = type_parser.parseType(); in parseScalarLiteral() 243 AT_ASSERTM(!type_alias.second, "Parsing IR with Alias Info not handled"); in parseScalarLiteral() 244 r.ty = type_alias.first; in parseScalarLiteral()
|
/external/executorch/runtime/kernel/test/ |
D | functions.yaml | 4 type_alias:
|
/external/pytorch/tools/test/ |
D | test_executorch_gen.py | 91 type_alias: 121 type_alias: 192 self.assertFalse({"kernels", "type_alias", "dim_order_alias"} < e.keys()) 279 self.assertTrue({"kernels", "type_alias", "dim_order_alias"} < e.keys())
|
/external/cronet/tot/base/android/ |
D | requires_api.h | 36 type_alias, variable))
|
/external/cronet/stable/base/android/ |
D | requires_api.h | 36 type_alias, variable))
|
/external/eigen/test/ |
D | type_alias.cpp | 12 EIGEN_DECLARE_TEST(type_alias) in EIGEN_DECLARE_TEST() argument
|
D | CMakeLists.txt | 162 ei_add_test(type_alias)
|
/external/executorch/docs/source/ |
D | kernel-library-custom-aten-kernel.md | 73 * `type_alias`(optional): we are giving aliases to possible dtype options. `T0: [Double, Float]` me… 74 * `dim_order_alias`(optional): similar to `type_alias`, we are giving names to possible dim order o… 95 type_alias:
|
D | ir-exir.md | 133 type_alias:
|
/external/python/cpython3/Lib/ |
D | symtable.py | 48 TYPE_ALIAS = "type alias" variable in SymbolTableType 88 return SymbolTableType.TYPE_ALIAS
|
/external/executorch/kernels/ |
D | README.md | 127 type_alias: 151 * `type_alias`(optional): we are giving aliases to possible dtype options. `T0: [Double, Float]` me… 152 * `dim_order_alias`(optional): similar to `type_alias`, we are giving names to possible dim order o…
|
/external/dagger2/javatests/dagger/lint/ |
D | DaggerKotlinIssueDetectorTest.kt | 188 .skipTestModes(TestMode.TYPE_ALIAS, TestMode.IMPORT_ALIAS) in getDetector()
|
/external/selinux/libsepol/src/ |
D | link.c | 448 || type->flavor == TYPE_ALIAS) { in type_copy_callback() 865 /* there are 2 kinds of aliases. Ones with their own value (TYPE_ALIAS) in alias_copy_callback() 869 (type->flavor == TYPE_ALIAS in alias_copy_callback() 876 if (type->flavor == TYPE_ALIAS) in alias_copy_callback() 906 /* the linked copy always has TYPE_ALIAS style aliases */ in alias_copy_callback() 909 new_type->flavor = TYPE_ALIAS; in alias_copy_callback() 925 if (base_type->flavor == TYPE_ALIAS) { in alias_copy_callback() 941 base_type->flavor = TYPE_ALIAS; in alias_copy_callback()
|
/external/python/cpython3/Doc/library/ |
D | symtable.rst | 61 .. attribute:: TYPE_ALIAS
|
/external/selinux/libsepol/tests/ |
D | test-common.c | 175 CU_ASSERT(my_flavor == TYPE_ALIAS); in test_alias_datum()
|
/external/rust/android-crates-io/crates/bindgen/options/ |
D | mod.rs | 553 /// To set the style for individual `typedefs`s, use [`Builder::type_alias`], 571 type_alias: RegexSet { 579 pub fn type_alias<T: AsRef<str>>(mut self, arg: T) -> Builder { 580 self.options.type_alias.insert(arg);
|