Home
last modified time | relevance | path

Searched refs:is_symbolic_tensor (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/python/keras/utils/
Dtf_utils_test.py36 self.assertFalse(tf_utils.is_symbolic_tensor(
38 self.assertFalse(tf_utils.is_symbolic_tensor(
40 self.assertFalse(tf_utils.is_symbolic_tensor(
44 self.assertTrue(tf_utils.is_symbolic_tensor(
46 self.assertTrue(tf_utils.is_symbolic_tensor(
48 self.assertTrue(tf_utils.is_symbolic_tensor(
65 self.assertFalse(tf_utils.is_symbolic_tensor(
67 self.assertFalse(tf_utils.is_symbolic_tensor(
69 self.assertFalse(tf_utils.is_symbolic_tensor(
72 self.assertFalse(tf_utils.is_symbolic_tensor(CustomClass()))
[all …]
Dtf_utils.py303 return all(is_symbolic_tensor(tensor) for tensor in tensors)
309 def is_symbolic_tensor(tensor): function
/external/tensorflow/tensorflow/python/keras/engine/
Dtraining_utils_test.py58 self.assertTrue(tf_utils.is_symbolic_tensor(val))
61 self.assertTrue(tf_utils.is_symbolic_tensor(vals[0]))
78 self.assertTrue(tf_utils.is_symbolic_tensor(vals[0]))
79 self.assertTrue(tf_utils.is_symbolic_tensor(vals[1]))
95 self.assertTrue(tf_utils.is_symbolic_tensor(vals['a']))
96 self.assertTrue(tf_utils.is_symbolic_tensor(vals['b']))
Dinput_layer.py115 if not tf_utils.is_symbolic_tensor(input_tensor):
Dbase_layer.py796 if tf_utils.is_symbolic_tensor(loss):
835 is_symbolic = tf_utils.is_symbolic_tensor(value)
/external/tensorflow/tensorflow/python/keras/optimizer_v2/
Doptimizer_v2.py448 tf_utils.is_symbolic_tensor(i) for i in update_ops)