Searched refs:is_tensor_or_variable (Results 1 – 3 of 3) sorted by relevance
65 from tensorflow.python.keras.utils.tf_utils import is_tensor_or_variable592 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 v2299 if is_tensor_or_variable(self.label_weights):3279 config[k] = K.eval(v) if is_tensor_or_variable(v) else v
267 config[k] = K.eval(v) if tf_utils.is_tensor_or_variable(v) else v
393 def is_tensor_or_variable(x): function