Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/keras/utils/
Dtf_utils_test.py54 class CustomClass(object): class
60 CustomClass, lambda value, **_: value.value())
62 tf_utils.register_symbolic_tensor_type(CustomClass)
72 self.assertFalse(tf_utils.is_symbolic_tensor(CustomClass()))
81 self.assertTrue(tf_utils.is_symbolic_tensor(CustomClass()))
Dgeneric_utils_test.py63 class CustomClass(object): class
67 {'CustomClass': CustomClass, 'custom_fn': custom_fn}):
71 self.assertEqual(cl.__class__, CustomClass)