Home
last modified time | relevance | path

Searched refs:is_tensor_or_variable (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/python/keras/
Dmetrics.py65 from tensorflow.python.keras.utils.tf_utils import is_tensor_or_variable
592 config = {'normalizer': K.eval(n) if is_tensor_or_variable(n) else n}
656 config[k] = K.eval(v) if is_tensor_or_variable(v) else v
2299 if is_tensor_or_variable(self.label_weights):
3279 config[k] = K.eval(v) if is_tensor_or_variable(v) else v
Dlosses.py267 config[k] = K.eval(v) if tf_utils.is_tensor_or_variable(v) else v
/external/tensorflow/tensorflow/python/keras/utils/
Dtf_utils.py393 def is_tensor_or_variable(x): function