Home
last modified time | relevance | path

Searched refs:ndmin (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/python/ops/numpy_ops/
Dnp_array_ops_test.py298 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),
Dnp_array_ops.py159 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/
Dgroup_by_reducer_test.py134 self.assertAllEqual(np.array(1, ndmin=i), y)
Dscan_test.py218 self.assertAllEqual(np.array(1, ndmin=i), larger_rank_val)
/external/tensorflow/third_party/py/numpy/tf_numpy_api/
Dtensorflow.experimental.numpy.pbtxt205 …argspec: "args=[\'val\', \'dtype\', \'copy\', \'ndmin\'], varargs=None, keywords=None, defaults=[\…