Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/keras/utils/
Dtf_utils_test.py47 self.assertFalse(tf_utils.is_symbolic_tensor(
50 tf_utils.is_symbolic_tensor(
52 self.assertFalse(tf_utils.is_symbolic_tensor(
56 self.assertTrue(tf_utils.is_symbolic_tensor(
59 tf_utils.is_symbolic_tensor(
61 self.assertTrue(tf_utils.is_symbolic_tensor(
78 self.assertFalse(tf_utils.is_symbolic_tensor(
81 tf_utils.is_symbolic_tensor(
83 self.assertFalse(tf_utils.is_symbolic_tensor(
86 self.assertFalse(tf_utils.is_symbolic_tensor(CustomClass()))
[all …]
Dtf_utils.py283 return all(map(is_symbolic_tensor, tensors))
306 def is_symbolic_tensor(tensor): function
333 return is_symbolic_tensor(tensor)
444 if any(is_symbolic_tensor(v) for v in list(args) + list(kwargs.values())):
/external/tensorflow/tensorflow/python/keras/layers/
Dsubclassed_layers_test.py51 tf_utils.is_symbolic_tensor(model(x)), not context.executing_eagerly())
53 tf_utils.is_symbolic_tensor(layer(x)), not context.executing_eagerly())
75 tf_utils.is_symbolic_tensor(model(x)), not context.executing_eagerly())
77 tf_utils.is_symbolic_tensor(layer(x)), not context.executing_eagerly())
/external/tensorflow/tensorflow/python/keras/engine/
Dtraining_utils_v1_test.py69 self.assertTrue(tf_utils.is_symbolic_tensor(val))
72 self.assertTrue(tf_utils.is_symbolic_tensor(vals[0]))
101 self.assertTrue(tf_utils.is_symbolic_tensor(vals[0]))
102 self.assertTrue(tf_utils.is_symbolic_tensor(vals[1]))
127 self.assertTrue(tf_utils.is_symbolic_tensor(vals['a']))
128 self.assertTrue(tf_utils.is_symbolic_tensor(vals['b']))
Dinput_layer.py212 if not tf_utils.is_symbolic_tensor(input_tensor):
Dbase_layer.py1589 if ((tf_utils.is_symbolic_tensor(loss) or
1712 is_symbolic = tf_utils.is_symbolic_tensor(value)
3318 tf_utils.is_symbolic_tensor(t) for t in input_list)
3320 any(tf_utils.is_symbolic_tensor(t) for t in nest.flatten(
Dbase_layer_v1.py1057 if (tf_utils.is_symbolic_tensor(loss) and
1108 is_symbolic = tf_utils.is_symbolic_tensor(value)
/external/tensorflow/tensorflow/python/keras/optimizer_v2/
Doptimizer_v2.py725 tf_utils.is_symbolic_tensor(i) for i in update_ops)