Searched refs:_is_tensor (Results 1 – 2 of 2) sorted by relevance
79 if _is_tensor(cond):88 def _is_tensor(x): function734 None if _is_tensor(i) else i814 None if _is_tensor(i) else i877 if _is_tensor(target_height):880 if _is_tensor(target_width):885 if _is_tensor(x) or _is_tensor(y):891 if _is_tensor(x) or _is_tensor(y):897 if _is_tensor(x) or _is_tensor(y):1281 if _is_tensor(x) or _is_tensor(y):
40 def _is_tensor(t): function96 if not _is_tensor(arg) and not isinstance(arg, tensor_spec.TensorSpec):