Searched refs:ndmin (Results 1 – 5 of 5) sorted by relevance
/external/tensorflow/tensorflow/python/ops/numpy_ops/ |
D | np_array_ops_test.py | 298 for a, dtype, ndmin, copy in itertools.product(self.all_arrays, 302 np_array_ops.array(a, dtype=dtype, ndmin=ndmin, copy=copy), 303 np.array(a, dtype=dtype, ndmin=ndmin, copy=copy)) 314 np_array_ops.array(zeros_list, copy=False, ndmin=2), 317 np_array_ops.array(zeros_list, copy=False, ndmin=2), 320 np_array_ops.array(zeros_list, copy=False, ndmin=1), 323 np_array_ops.array(zeros_list, copy=False, ndmin=1),
|
D | np_array_ops.py | 159 def _array_internal(val, dtype=None, copy=True, ndmin=0): # pylint: disable=redefined-outer-name argument 186 if ndmin == 0: 194 [array_ops.ones(ndmin - ndims, dtypes.int32), old_shape], axis=0) 198 np_utils.greater(ndmin, ndims), true_fn, lambda: result_t) 205 def array(val, dtype=None, copy=True, ndmin=0): # pylint: disable=redefined-outer-name argument 214 return _array_internal(val, dtype, copy, ndmin) 237 return array(a, dtype, ndmin=1)
|
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/ |
D | group_by_reducer_test.py | 134 self.assertAllEqual(np.array(1, ndmin=i), y)
|
D | scan_test.py | 218 self.assertAllEqual(np.array(1, ndmin=i), larger_rank_val)
|
/external/tensorflow/third_party/py/numpy/tf_numpy_api/ |
D | tensorflow.experimental.numpy.pbtxt | 205 …argspec: "args=[\'val\', \'dtype\', \'copy\', \'ndmin\'], varargs=None, keywords=None, defaults=[\…
|