Searched refs:np_arrays (Results 1 – 13 of 13) sorted by relevance
/external/tensorflow/tensorflow/python/eager/ |
D | function.cc | 42 static const py::module* np_arrays = new py::module( in _build_call_outputs() local 57 ndarr_result[i] = np_arrays->attr("tensor_to_ndarray")(list_result[i]); in _build_call_outputs() 61 return np_arrays->attr("tensor_to_ndarray")(list_result[0]); in _build_call_outputs()
|
D | function.py | 86 np_arrays = lazy_loader.LazyLoader( variable
|
/external/tensorflow/tensorflow/python/ops/numpy_ops/ |
D | np_logic_test.py | 26 from tensorflow.python.ops.numpy_ops import np_arrays 92 self.assertIsInstance(actual, np_arrays.ndarray) 102 return s if not isinstance(s, np_arrays.ndarray) else s.numpy()
|
D | np_array_ops.py | 40 from tensorflow.python.ops.numpy_ops import np_arrays 134 if not isinstance(shape, np_arrays.ndarray): 135 shape = asarray(np_arrays.convert_to_tensor(shape, dtype_hint=np.int32)) 178 result_t = np_arrays.convert_to_tensor(result_t, dtype_hint=dtype) 224 if isinstance(a, np_arrays.ndarray) and ( 358 if isinstance(a, np_arrays.ndarray) and dtype == a.dtype.as_numpy_dtype: 367 isinstance(t1, np_arrays.ndarray) and dtype == t1.dtype.as_numpy_dtype): 370 isinstance(t2, np_arrays.ndarray) and dtype == t2.dtype.as_numpy_dtype): 744 setattr(np_arrays.ndarray, '__round__', around) 1038 if isinstance(arrays, (np_arrays.ndarray, ops.Tensor)): [all …]
|
D | np_arrays_test.py | 27 from tensorflow.python.ops.numpy_ops import np_arrays 58 if not isinstance(out, np_arrays.ndarray): 205 self.assertIsInstance(repacked[0], np_arrays.ndarray) 206 self.assertIsInstance(repacked[1], np_arrays.ndarray)
|
D | __init__.py | 177 from tensorflow.python.ops.numpy_ops.np_arrays import ndarray
|
D | BUILD | 15 "np_arrays.py",
|
D | np_utils.py | 34 from tensorflow.python.ops.numpy_ops import np_arrays 89 if isinstance(val, np_arrays.ndarray):
|
D | np_math_ops_test.py | 29 from tensorflow.python.ops.numpy_ops import np_arrays 158 self.assertIsInstance(actual, np_arrays.ndarray)
|
D | np_array_ops_test.py | 38 from tensorflow.python.ops.numpy_ops import np_arrays 81 return not (isinstance(s, np_arrays.ndarray) and s.ndim == 0) 530 self.assertIsInstance(actual, np_arrays.ndarray) 997 self.assertIsInstance(actual, np_arrays.ndarray) 1175 self.assertIsInstance(actual, np_arrays.ndarray)
|
D | np_math_ops.py | 42 from tensorflow.python.ops.numpy_ops import np_arrays 180 x1, np_arrays.ndarray) and x1.dtype != dtypes.bool: 241 setattr(np_arrays.ndarray, '_matmul', matmul) 956 0) > np_arrays.ndarray.__array_priority__:
|
/external/tensorflow/tensorflow/python/keras/engine/ |
D | sequential.py | 39 from tensorflow.python.ops.numpy_ops import np_arrays 367 inputs, np_arrays.ndarray):
|
D | base_layer.py | 77 from tensorflow.python.ops.numpy_ops import np_arrays 979 np_arrays.ndarray, np.ndarray, float, int)) for x in input_list): 1048 np_arrays.ndarray, np.ndarray, float, int)) for x in input_list): 1053 if isinstance(x, (np_arrays.ndarray, np.ndarray, float, int)): 3337 if isinstance(x, (np_arrays.ndarray, np.ndarray, float, int)):
|