Searched refs:dict_attr (Results 1 – 10 of 10) sorted by relevance
/external/python/cpython3/Lib/lib2to3/pgen2/ |
D | grammar.py | 107 for dict_attr in ("symbol2number", "number2symbol", "dfas", "keywords", 109 setattr(new, dict_attr, getattr(self, dict_attr).copy())
|
/external/python/cpython2/Lib/lib2to3/pgen2/ |
D | grammar.py | 121 for dict_attr in ("symbol2number", "number2symbol", "dfas", "keywords", 123 setattr(new, dict_attr, getattr(self, dict_attr).copy())
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/ |
D | device_util.cc | 92 mlir::DictionaryAttr dict_attr, in GetDevicesFromOp() argument 97 for (auto& kv : dict_attr) { in GetDevicesFromOp() 153 } else if (auto dict_attr = devices_attr.dyn_cast<mlir::DictionaryAttr>()) { in GetDevicesFromOp() local 154 return GetDevicesFromOp(op, dict_attr, devices); in GetDevicesFromOp()
|
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/ |
D | insert_call_once_op.cc | 53 auto dict_attr = in runOnOperation() local 55 if (!dict_attr) continue; in runOnOperation()
|
/external/python/cpython2/Lib/test/ |
D | test_functools.py | 369 f.dict_attr = dict(a=1, b=2, c=3) 372 wrapper.dict_attr = {} 380 self.assertEqual(wrapper.dict_attr, f.dict_attr) 432 f.dict_attr = dict(a=1, b=2, c=3) 434 f.dict_attr = {} 446 self.assertEqual(wrapper.dict_attr, f.dict_attr)
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/translate/ |
D | export_graphdef.cc | 460 auto dict_attr = in Convert() local 462 if (dict_attr) { in Convert() 463 TF_RET_CHECK(dict_attr.get("inputs").isa<mlir::StringAttr>()) in Convert() 465 TF_RET_CHECK(dict_attr.get("outputs").isa<mlir::StringAttr>()) in Convert() 467 dict_attr.get("inputs").cast<mlir::StringAttr>().getValue().split( in Convert() 469 dict_attr.get("outputs").cast<mlir::StringAttr>().getValue().split( in Convert()
|
/external/ppp/pppd/plugins/radius/ |
D | radiusclient.h | 302 typedef struct dict_attr struct 308 struct dict_attr *next; argument
|
/external/tensorflow/tensorflow/compiler/mlir/lite/ |
D | flatbuffer_export.cc | 1266 auto dict_attr = fn->getAttrOfType<mlir::DictionaryAttr>("tf.entry_function"); in InitializeNamesFromAttribute() local 1267 if (!dict_attr) return; in InitializeNamesFromAttribute() 1271 if (auto str = dict_attr.get("inputs").dyn_cast_or_null<mlir::StringAttr>()) { in InitializeNamesFromAttribute() 1285 dict_attr.get("outputs").dyn_cast_or_null<mlir::StringAttr>()) { in InitializeNamesFromAttribute() 1514 auto dict_attr = module_->getAttrOfType<mlir::DictionaryAttr>("tfl.metadata"); in CreateMetadataVector() local 1516 if (dict_attr) { in CreateMetadataVector() 1517 for (const auto& named_attr : dict_attr) { in CreateMetadataVector() 1593 auto dict_attr = in BuildSignaturedef() local 1595 if (!dict_attr) return {}; in BuildSignaturedef() 1599 GetStringsFromAttrWithSeparator(dict_attr, /*attr_key=*/"inputs"); in BuildSignaturedef() [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_functools.py | 662 f.dict_attr = dict(a=1, b=2, c=3) 665 wrapper.dict_attr = {} 674 self.assertEqual(wrapper.dict_attr, f.dict_attr) 681 wrapper.dict_attr = {} 687 self.assertEqual(wrapper.dict_attr, {}) 689 del wrapper.dict_attr 692 wrapper.dict_attr = 1 753 f.dict_attr = dict(a=1, b=2, c=3) 755 f.dict_attr = {} 768 self.assertEqual(wrapper.dict_attr, f.dict_attr)
|
/external/python/cpython3/Lib/ |
D | inspect.py | 1592 dict_attr = type.__dict__["__dict__"] 1595 class_dict = dict_attr.__get__(entry)["__dict__"] 1619 dict_attr = _shadowed_dict(klass) 1620 if (dict_attr is _sentinel or 1621 type(dict_attr) is types.MemberDescriptorType):
|