Home
last modified time | relevance | path

Searched refs:isscalar (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/python/ops/numpy_ops/
Dnp_random.py73 elif np_utils.isscalar(size):
94 elif np_utils.isscalar(size):
Dnp_utils.py87 def isscalar(val): function
98 return np.isscalar(val)
607 if np.isscalar(a_value):
622 if np.isscalar(a_value):
Dnp_array_ops_test.py1085 self.assertTrue(np_array_ops.isscalar(0.5))
1086 self.assertTrue(np_array_ops.isscalar(5))
1087 self.assertTrue(np_array_ops.isscalar(False))
1088 self.assertFalse(np_array_ops.isscalar([1, 2]))
Dnp_array_ops.py975 def isscalar(num): function
/external/tensorflow/tensorflow/python/keras/wrappers/
Dscikit_learn_test.py61 assert np.isscalar(score) and np.isfinite(score)
97 assert np.isscalar(score) and np.isfinite(score)
/external/tensorflow/tensorflow/python/ops/
Dinit_ops_v2.py268 if not (np.isscalar(value) or isinstance(value, (list, tuple, np.ndarray))):
Dinit_ops.py215 if not (np.isscalar(value) or isinstance(value, (list, tuple, np.ndarray))):
Dcheck_ops.py288 if np.isscalar(arr):
Darray_ops.py4469 if np.isscalar(axis):
Dnn_ops.py4600 if ((np.isscalar(ksize) and ksize == 0) or
/external/tensorflow/tensorflow/lite/testing/
Dzip_test_utils.py126 return np.dtype(dtype).type(value) if np.isscalar(value) else value.astype(
/external/tensorflow/third_party/py/numpy/tf_numpy_api/
Dtensorflow.experimental.numpy.pbtxt528 name: "isscalar"