Home
last modified time | relevance | path

Searched refs:_add_should_use_warning (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/python/util/
Dtf_should_use.py139 def _add_should_use_warning(x, fatal_error=False): function
193 return _add_should_use_warning(fn(*args, **kwargs))
227 return _add_should_use_warning(fn(*args, **kwargs), fatal_error=True)
Dtf_should_use_test.py47 h = tf_should_use._add_should_use_warning(c)
61 h = tf_should_use._add_should_use_warning(c, fatal_error=True)
74 h = tf_should_use._add_should_use_warning(c)