Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/ops/numpy_ops/
Dnp_utils.py46 rank = _maybe_static(rank)
555 def _maybe_static(x): function
580 return _maybe_static(a) + _maybe_static(b)
585 return _maybe_static(a) - _maybe_static(b)
590 return _maybe_static(a) > _maybe_static(b)
595 return _maybe_static(a) >= _maybe_static(b)
600 return _maybe_static(a) <= _maybe_static(b)
609 return _maybe_static(b)
613 return a_value & _maybe_static(b)
615 return a & _maybe_static(b)
[all …]
Dnp_array_ops.py844 a_rank = np_utils._maybe_static(array_ops.rank(a)) # pylint: disable=protected-access
1748 rank = np_utils._maybe_static(array_ops.rank(tensor)) # pylint: disable=protected-access