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/keras/layers/legacy_rnn/
Drnn_cell_impl.py65 def _hasattr(obj, attr_name): function
90 _hasattr(cell, "output_size"),
91 _hasattr(cell, "state_size"),
92 _hasattr(cell, "get_initial_state") or _hasattr(cell, "zero_state"),
333 if is_eager and _hasattr(self, "_last_zero_state"):
/external/libnl/python/netlink/
Dcore.py424 def _hasattr(self, attr): member in Object