Searched refs:CustomClass (Results 1 – 2 of 2) sorted by relevance
54 class CustomClass(object): class60 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()))
63 class CustomClass(object): class67 {'CustomClass': CustomClass, 'custom_fn': custom_fn}):71 self.assertEqual(cl.__class__, CustomClass)