Searched refs:_is_tensor (Results 1 – 3 of 3) sorted by relevance
81 if _is_tensor(cond):90 def _is_tensor(x): function1093 None if _is_tensor(i) else i1176 None if _is_tensor(i) else i1244 if _is_tensor(target_height):1247 if _is_tensor(target_width):1252 if _is_tensor(x) or _is_tensor(y):1258 if _is_tensor(x) or _is_tensor(y):1264 if _is_tensor(x) or _is_tensor(y):1702 if _is_tensor(x) or _is_tensor(y):[all …]
43 def _is_tensor(t): function104 if not _is_tensor(arg) and not isinstance(arg, tensor_spec.TensorSpec):113 elif _is_tensor(arg):
246 def _is_tensor(v): function251 return all(_is_tensor(v) for v in flat_inputs)