Home
last modified time | relevance | path

Searched refs:onp (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/python/ops/numpy_ops/
Dnp_interop_test.py21 import numpy as onp namespace
35 x_onp = onp.ones([2, 1]) + onp.ones([1, 2])
46 x_onp = onp.sum(onp.ones([1, 2]) + onp.ones([2, 1]))
50 x_np = onp.sum(np.ones([1, 2]) + onp.ones([2, 1]))
51 x_onp = onp.sum(onp.ones([1, 2]) + onp.ones([2, 1]))
70 x_onp = onp.sum(onp.ones([1, 2]) + onp.ones([2, 1]))
176 sq = onp.square(arr)
177 self.assertIsInstance(sq, onp.ndarray)
291 values = onp.arange(10, dtype=onp.float32)
296 self.assertAllClose(result, onp.square(values))
[all …]
Dnp_random_test.py23 import numpy as onp namespace
55 self.onp_func = lambda *args, **kwargs: onp.asarray( # pylint: disable=g-long-lambda
58 onp_out = onp.asarray(self.onp_func(*args, **kw_args))
70 self.onp_func = onp.random.randn
86 self.onp_func = onp.random.standard_normal
98 self.onp_func = onp.random.uniform
126 self.onp_func = onp.random.poisson
138 self.onp_func = onp.random.random
150 self.onp_func = onp.random.rand
162 self.onp_func = onp.random.randint
Dnp_random.py23 import numpy as onp namespace
33 DEFAULT_RANDN_DTYPE = onp.float32
110 def randint(low, high=None, size=None, dtype=onp.int): # pylint: disable=missing-function-docstring
120 if dtype not in (onp.int32, onp.int64):
/external/tensorflow/tensorflow/python/ops/numpy_ops/integration_test/
Dpublic_symbol_test.py21 import numpy as onp namespace
33 self.assertAllClose(onp.add(a, b), np.add(a, b))
/external/cldr/tools/java/org/unicode/cldr/util/data/
Diso-639-3_Retirements.tab17 …uages: Chug [cvg]; Lish [lsh]; Kalaktang Monpa [kkf]; Tawang Monpa [twm]; Sartang [onp] 2007-07-18
Diso-639-3_Name_Index.tab5256 onp Sartang Sartang
Diso-639-3.tab5020 onp I L Sartang
Dlanguage-subtag-registry27418 Subtag: onp