Home
last modified time | relevance | path

Searched refs:can_handle (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/python/keras/engine/
Ddata_adapter_test.py119 self.assertTrue(self.adapter_cls.can_handle(self.numpy_input))
121 self.adapter_cls.can_handle(self.numpy_input, self.numpy_target))
123 self.assertFalse(self.adapter_cls.can_handle(self.dataset_input))
124 self.assertFalse(self.adapter_cls.can_handle(self.generator_input))
125 self.assertFalse(self.adapter_cls.can_handle(self.sequence_input))
126 self.assertFalse(self.adapter_cls.can_handle(self.text_input))
127 self.assertFalse(self.adapter_cls.can_handle(self.bytes_input))
169 self.assertTrue(self.adapter_cls.can_handle(pd.DataFrame(self.numpy_input)))
171 self.adapter_cls.can_handle(pd.DataFrame(self.numpy_input)[0]))
173 self.adapter_cls.can_handle(
[all …]
Ddata_adapter.py100 def can_handle(x, y=None): member in DataAdapter
138 if not self.can_handle(x, y):
235 def can_handle(x, y=None): member in TensorLikeDataAdapter
441 def can_handle(x, y=None): member in GenericArrayLikeDataAdapter
455 if (not TensorLikeDataAdapter.can_handle(x, y) and
456 not CompositeTensorDataAdapter.can_handle(x, y)):
525 def can_handle(x, y=None): member in DatasetCreatorAdapter
556 def can_handle(x, y=None): member in CompositeTensorDataAdapter
646 def can_handle(x, y=None): member in ListsOfScalarsDataAdapter
710 def can_handle(x, y=None): member in DatasetAdapter
[all …]