Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/util/
Dtf_should_use.py42 warn_in_eager): argument
49 self._sated = not warn_in_eager
175 def _add_should_use_warning(x, error_in_function=False, warn_in_eager=False): argument
193 if context.executing_eagerly() and not warn_in_eager:
211 warn_in_eager=warn_in_eager)
216 def should_use_result(fn=None, warn_in_eager=False, error_in_function=False): argument
248 warn_in_eager=warn_in_eager,
Dtf_should_use_test.py47 h = tf_should_use._add_should_use_warning(c, warn_in_eager=True)
62 c, warn_in_eager=True, error_in_function=True)
81 h = tf_should_use._add_should_use_warning(c, warn_in_eager=True)
101 @tf_should_use.should_use_result(warn_in_eager=True)
115 @tf_should_use.should_use_result(warn_in_eager=True)
135 @tf_should_use.should_use_result(warn_in_eager=True)
/external/tensorflow/tensorflow/python/ops/
Dtensor_array_ops.py1140 @tf_should_use.should_use_result(warn_in_eager=True)