Home
last modified time | relevance | path

Searched refs:_hasattr (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython2/Lib/
D_abcoll.py24 def _hasattr(C, attr): function
66 if _hasattr(C, "__iter__"):
86 if _hasattr(C, "next") and _hasattr(C, "__iter__"):
101 if _hasattr(C, "__len__"):
116 if _hasattr(C, "__contains__"):
131 if _hasattr(C, "__call__"):
/external/tensorflow/tensorflow/python/ops/
Drnn_cell_impl.py62 def _hasattr(obj, attr_name): function
87 _hasattr(cell, "output_size"),
88 _hasattr(cell, "state_size"),
89 _hasattr(cell, "get_initial_state") or _hasattr(cell, "zero_state"),
330 if is_eager and _hasattr(self, "_last_zero_state"):
/external/libnl/python/netlink/
Dcore.py424 def _hasattr(self, attr): member in Object