Searched refs:_maybe_static (Results 1 – 2 of 2) sorted by relevance
46 rank = _maybe_static(rank)555 def _maybe_static(x): function580 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 …]
844 a_rank = np_utils._maybe_static(array_ops.rank(a)) # pylint: disable=protected-access1748 rank = np_utils._maybe_static(array_ops.rank(tensor)) # pylint: disable=protected-access