Home
last modified time | relevance | path

Searched refs:ones (Results 1 – 25 of 1664) sorted by relevance

12345678910>>...67

/external/icu/icu4c/source/data/rbnf/
Dpl.txt60 "1000: tysi\u0105c[ >%%spellout-cardinal-masculine-genitive-ones>];",
61 …(cardinal,few{tysi\u0105ce}other{tysi\u0119cy})$[ >%%spellout-cardinal-masculine-genitive-ones>];",
64 "1000000000: miliard[ >%%spellout-cardinal-masculine-genitive-ones>];",
66 "1000000000000: bilion[ >%%spellout-cardinal-masculine-genitive-ones>];",
68 "1000000000000000: biliard[ >%%spellout-cardinal-masculine-genitive-ones>];",
94 "20: <%%spellout-cardinal-tens<[ >%%spellout-cardinal-feminine-ones>];",
95 "100: sto[ >%%spellout-cardinal-feminine-ones>];",
96 "200: dwie\u015Bcie[ >%%spellout-cardinal-feminine-ones>];",
97 "300: <%spellout-cardinal-feminine<sta[ >%%spellout-cardinal-feminine-ones>];",
98 "500: <%spellout-cardinal-feminine<set[ >%%spellout-cardinal-feminine-ones>];",
[all …]
/external/mesa3d/src/util/
Du_atomic_test.c46 #define test_atomic_assign(type, ones) \ argument
50 p_atomic_set(&v, ones); \
51 assert(v == ones && "p_atomic_set"); \
54 assert(r == ones && "p_atomic_read"); \
56 v = ones; \
58 assert(v == ones && "p_atomic_cmpxchg"); \
59 assert(r == ones && "p_atomic_cmpxchg"); \
60 r = p_atomic_cmpxchg(&v, ones, 0); \
62 assert(r == ones && "p_atomic_cmpxchg"); \
69 #define test_atomic_8bits(type, ones) \ argument
[all …]
/external/tensorflow/tensorflow/python/keras/layers/preprocessing/
Dpreprocessing_stage_functional_test.py85 one_array = np.ones((4, 3), dtype='float32')
92 z = stage(array_ops.ones((4, 3), dtype='float32'))
93 self.assertAllClose(z, np.ones((4, 3), dtype='float32') + 2.)
132 one_array = np.ones((4, 3), dtype='float32')
142 array_ops.ones((4, 3), dtype='float32'),
143 array_ops.ones((4, 3), dtype='float32'),
144 array_ops.ones((4, 3), dtype='float32')
146 self.assertAllClose(y, np.ones((4, 3), dtype='float32') + 1.)
147 self.assertAllClose(z, np.ones((4, 3), dtype='float32') + 3.)
193 one_array0 = np.ones((4, 3), dtype='float32')
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Dinplace_ops_test.py37 x = array_ops.ones([7, 3], dtype)
38 y = np.ones([7, 3], dtype.as_numpy_dtype)
40 x = inplace_ops.inplace_update(x, [3], array_ops.ones([1, 3], dtype))
44 array_ops.ones([1, 3], dtype) * 2)
47 x = inplace_ops.inplace_update(x, 5, array_ops.ones([3], dtype) * 7)
53 x = array_ops.ones([7, 3], dtypes.bool)
54 y = np.ones([7, 3], dtypes.bool.as_numpy_dtype)
56 x = inplace_ops.inplace_update(x, [3], array_ops.ones([1, 3],
71 x = array_ops.ones([7, 3], dtype)
72 y = np.ones([7, 3], dtype.as_numpy_dtype)
[all …]
Dreduction_ops_test_big.py55 arr_ = np.ones([4097, 4097], dtype=np.float32)
65 col_sum = np.ones([size_y], dtype=np.float32) * size_x
66 row_sum = np.ones([size_x], dtype=np.float32) * size_y
67 full_sum = np.ones([], dtype=np.float32) * size_x * size_y
81 arr_ = np.ones([130, 130, 130], dtype=np.float32)
86 sum_y = np.ones([size_x, size_z], dtype=np.float32)
87 sum_xz = np.ones([size_y], dtype=np.float32)
153 arr_ = np.ones([4097, 4097], dtype=np.bool)
163 col_sum = np.ones([size_y], dtype=np.bool)
164 row_sum = np.ones([size_x], dtype=np.bool)
[all …]
Ddense_update_ops_no_tsan_test.py62 ones = np.ones((1024, 1024)).astype(np.float32)
63 self.assertTrue((vals >= ones).all())
64 self.assertTrue((vals <= ones * 20).all())
128 ones = np.ones((1024, 1024)).astype(np.float32)
129 self.assertAllEqual(vals, ones * 20)
163 self.assertAllEqual(vals, np.ones([1024, 1024]) * vals[0, 0])
Dmetrics_test.py171 return np.reshape(np.cumsum(np.ones(shape)), newshape=shape)
181 metrics.mean(array_ops.ones([4, 3]))
188 array_ops.ones([4, 3]), metrics_collections=[my_collection_name])
195 array_ops.ones([4, 3]), updates_collections=[my_collection_name])
244 metrics.mean(values, weights=np.ones((1, 1, 1))),
245 metrics.mean(values, weights=np.ones((1, 1, 1, 1))),
246 metrics.mean(values, weights=np.ones((1, 1, 1, 1, 1))),
247 metrics.mean(values, weights=np.ones((1, 1, 4))),
248 metrics.mean(values, weights=np.ones((1, 1, 4, 1))),
249 metrics.mean(values, weights=np.ones((1, 2, 1))),
[all …]
/external/webrtc/modules/audio_processing/
Dresidual_echo_detector_unittest.cc24 std::vector<float> ones(160, 1.f); in TEST() local
32 echo_detector->AnalyzeRenderAudio(ones); in TEST()
36 echo_detector->AnalyzeCaptureAudio(ones); in TEST()
52 std::vector<float> ones(160, 1.f); in TEST() local
59 echo_detector->AnalyzeRenderAudio(ones); in TEST()
75 std::vector<float> ones(160, 1.f); in TEST() local
84 echo_detector->AnalyzeRenderAudio(ones); in TEST()
88 echo_detector->AnalyzeCaptureAudio(ones); in TEST()
113 std::vector<float> ones(160, 1.f); in TEST() local
122 echo_detector->AnalyzeRenderAudio(ones); in TEST()
[all …]
/external/tensorflow/tensorflow/python/keras/integration_test/
Dfunction_test.py72 fn(tf.ones((3, 2)))
76 fn(tf.ones((2, 2)))
85 fn(tf.ones((3, 4)))
91 x = tf.ones([1, 2])
103 instance_call_one = m.call(tf.ones([1, 2]), training=True)
105 inputs=tf.ones([1, 2]), training=True)
106 class_call = DefunnedMiniModel.call(m, tf.ones([1, 2]), training=True)
131 tf.ones([1, 2]), training=False)
133 inputs=tf.ones([1, 2]), training=False)
134 self.assertAllEqual(instance_call_one(tf.ones([1, 2])),
[all …]
/external/tensorflow/tensorflow/python/keras/engine/
Dcompile_utils_test.py41 y_t, y_p = array_ops.ones((10, 5)), array_ops.zeros((10, 5))
56 y_t = [array_ops.ones((10, 1)), array_ops.zeros((10, 1))]
57 y_p = [array_ops.ones((10, 1)), array_ops.ones((10, 1))]
89 y_t = {'out1': array_ops.ones((10, 1)), 'out2': array_ops.zeros((10, 1))}
90 y_p = {'out1': array_ops.ones((10, 1)), 'out2': array_ops.ones((10, 1))}
115 y_t = [array_ops.ones((10, 1)), array_ops.zeros((10, 1))]
116 y_p = [array_ops.ones((10, 1)), array_ops.ones((10, 1))]
138 y_t = {'out1': array_ops.ones((10, 1)), 'out2': array_ops.zeros((10, 1))}
139 y_p = {'out1': array_ops.ones((10, 1)), 'out2': array_ops.ones((10, 1))}
166 'b': [array_ops.ones((10, 1)),
[all …]
Dinput_layer_test.py131 self.assertAllEqual(model(array_ops.ones((3, 32))),
132 array_ops.ones((3, 32)) * 2.0)
142 self.assertAllEqual(model(array_ops.ones(x.shape)),
143 array_ops.ones(x.shape) * 2.0)
160 self.assertAllEqual(run_model(array_ops.ones((10, 8))),
161 array_ops.ones((10, 8)) * 2.0)
172 self.assertAllEqual(model(array_ops.ones(x.shape)),
173 array_ops.ones(x.shape) * 2.0)
192 self.assertAllEqual(run_model(array_ops.ones((10, 16))),
193 array_ops.ones((10, 16)) * 3.0)
[all …]
Dtraining_generator_test.py277 val_data = np.ones([10, 10], np.float32), np.ones([10, 1], np.float32)
281 yield np.ones([10, 10], np.float32), np.ones([10, 1], np.float32)
393 return np.zeros([10, 2]), np.ones([10, 4])
421 val_data = np.ones([10, 10], np.float32), np.ones([10, 1], np.float32)
426 return np.ones([10, 10], np.float32), np.ones([10, 1], np.float32)
435 return (np.ones([batch_size, 10], np.float32),
436 np.ones([batch_size, 1], np.float32))
450 model.fit(CustomSequence(), y=np.ones([10, 1]))
454 model.fit(CustomSequence(), sample_weight=np.ones([10, 1]))
471 return np.ones([10, 10], np.float32), np.ones([10, 1], np.float32)
[all …]
/external/libaom/libaom/aom_dsp/mips/
Dloopfilter_masks_dspr2.h37 uint32_t ones = 0xFFFFFFFF; in filter_hev_mask_dspr2() local
124 [ones] "r"(ones), [flimit] "r"(flimit)); in filter_hev_mask_dspr2()
136 uint32_t ones = 0xFFFFFFFF; in filter_hev_mask_flatmask4_dspr2() local
235 [thresh] "r"(thresh), [flat_thresh] "r"(flat_thresh), [ones] "r"(ones)); in filter_hev_mask_flatmask4_dspr2()
264 [ones] "r"(ones), [flimit] "r"(flimit)); in filter_hev_mask_flatmask4_dspr2()
275 uint32_t ones = 0xFFFFFFFF; in flatmask5() local
348 [flat_thresh] "r"(flat_thresh), [ones] "r"(ones)); in flatmask5()
/external/libvpx/libvpx/vpx_dsp/mips/
Dloopfilter_masks_dspr2.h35 uint32_t ones = 0xFFFFFFFF; in filter_hev_mask_dspr2() local
122 [ones] "r"(ones), [flimit] "r"(flimit)); in filter_hev_mask_dspr2()
134 uint32_t ones = 0xFFFFFFFF; in filter_hev_mask_flatmask4_dspr2() local
233 [thresh] "r"(thresh), [flat_thresh] "r"(flat_thresh), [ones] "r"(ones)); in filter_hev_mask_flatmask4_dspr2()
262 [ones] "r"(ones), [flimit] "r"(flimit)); in filter_hev_mask_flatmask4_dspr2()
273 uint32_t ones = 0xFFFFFFFF; in flatmask5() local
346 [flat_thresh] "r"(flat_thresh), [ones] "r"(ones)); in flatmask5()
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/io/
DNumberOutput.java99 int ones = (v - (newValue * 1000)); // == value % 1000 in outputInt() local
106 return _full3(ones, b, off); in outputInt()
145 int ones = (v - (newValue * 1000)); // == value % 1000 in outputInt() local
151 return _full3(ones, b, off); in outputInt()
313 int ones = v - (thousands * 1000); // == value % 1000 in _outputUptoBillion() local
314 return _outputUptoMillion(b, off, thousands, ones); in _outputUptoBillion()
317 int ones = (v - (thousands * 1000)); // == value % 1000 in _outputUptoBillion() local
328 enc = TRIPLET_TO_CHARS[ones]; in _outputUptoBillion()
339 int ones = (v - (thousands * 1000)); // == value % 1000 in _outputFullBillion() local
353 enc = TRIPLET_TO_CHARS[ones]; in _outputFullBillion()
[all …]
/external/tensorflow/tensorflow/python/ops/numpy_ops/
Dnp_interop_test.py34 x_np = np.ones([2, 1]) + np.ones([1, 2])
35 x_onp = onp.ones([2, 1]) + onp.ones([1, 2])
39 x_np = np.ones([1, 2], dtype=np.int16) + np.ones([2, 1], dtype=np.uint8)
40 x_onp = np.ones([1, 2], dtype=np.int16) + np.ones([2, 1], dtype=np.uint8)
45 x_np = np.sum(np.ones([1, 2]) + tf.ones([2, 1]))
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]))
57 x = np.ones([1, 2])
60 x = np.ones([1, 2])
[all …]
/external/tensorflow/tensorflow/python/eager/
Dremote_execution_test.py100 x1 = array_ops.ones([2, 2]).gpu()
110 x = array_ops.ones([2, 2])
122 x1 = array_ops.ones([2, 2])
124 x2 = array_ops.ones([2, 2])
133 x1 = array_ops.ones([2, 2])
135 x2 = array_ops.ones([2, 2])
190 x1 = array_ops.ones([2, 2])
205 x1 = array_ops.ones([2, 2])
216 x1 = array_ops.ones([2, 2])
217 x2 = array_ops.ones([2, 2])
[all …]
Dfunction_argument_naming_test.py46 fn(array_ops.ones([]), array_ops.ones([]))
70 fn(array_ops.ones([]), array_ops.ones([]))
89 fn(array_ops.ones([]))
139 HasMethod.method(has_method, array_ops.ones([]))
149 has_method.method(array_ops.ones([]))
184 has_method.method(array_ops.ones([], dtype=dtypes.float64))
206 variadic_fn(array_ops.ones([]), array_ops.ones([]))
234 variadic_fn(array_ops.ones([]), array_ops.ones([]),
235 array_ops.ones([]), array_ops.ones([]))
/external/tensorflow/tensorflow/python/keras/layers/
Dcore_test.py91 out = model(np.ones((20, 5, 10)), training=True)
138 x1 = np.ones([3, 2], np.float32)
139 x2 = np.ones([3, 5], np.float32)
145 l(keras.backend.variable(np.ones((1, 1))))
153 l(keras.backend.variable(np.ones((1, 1))))
215 layer(keras.backend.variable(np.ones((1, 1))))
237 x = keras.backend.ones(())
253 x = np.ones([5, 4, 3])
260 expected_mask = np.ones([5, 4])
307 x, y = np.ones((10, 10), 'float32'), 2 * np.ones((10, 10), 'float32')
[all …]
Dsimplernn_test.py158 x = keras.backend.variable(np.ones((2, 3, 2)))
186 out1 = model.predict(np.ones((num_samples, timesteps)))
191 np.ones((num_samples, timesteps)), np.ones((num_samples, units)))
192 out2 = model.predict(np.ones((num_samples, timesteps)))
200 out3 = model.predict(np.ones((num_samples, timesteps)))
205 out4 = model.predict(np.ones((num_samples, timesteps)))
209 out5 = model.predict(np.ones((num_samples, timesteps)))
215 left_padded_input = np.ones((num_samples, timesteps))
222 right_padded_input = np.ones((num_samples, timesteps))
234 _, state = cell(np.ones((batch_size, 20), dtype=np.float32), initial_state)
Dgru_test.py176 out1 = model.predict(np.ones((num_samples, timesteps)))
181 np.ones((num_samples, timesteps)), np.ones((num_samples, units)))
182 out2 = model.predict(np.ones((num_samples, timesteps)))
190 out3 = model.predict(np.ones((num_samples, timesteps)))
195 out4 = model.predict(np.ones((num_samples, timesteps)))
199 out5 = model.predict(np.ones((num_samples, timesteps)))
205 left_padded_input = np.ones((num_samples, timesteps))
212 right_padded_input = np.ones((num_samples, timesteps))
224 _, state = cell(np.ones((batch_size, 20), dtype=np.float32), initial_state)
278 x = keras.backend.variable(np.ones((2, 3, 2)))
/external/tensorflow/tensorflow/python/keras/tests/
Dmodel_subclassing_test.py68 dummy_data = array_ops.ones((32, 50))
104 model.fit(np.ones((10, 10)), np.ones((10, 1)), batch_size=2, epochs=2)
128 'a': np.ones((32, 10)),
129 'b': np.ones((32, 20))
130 }, np.ones((32, 1)))).batch(2)
207 model(array_ops.ones((32, timesteps, dim)))
224 model(array_ops.ones((32, input_dim)))
241 model(array_ops.ones((32, input_dim)))
259 model(array_ops.ones(batch_input_shape))
277 model(array_ops.ones((32,) + input_shape))
[all …]
Dmodel_subclassing_compiled_test.py54 x = np.ones((num_samples, input_dim))
73 x1 = np.ones((num_samples, input_dim))
74 x2 = np.ones((num_samples, input_dim))
94 x = np.ones((num_samples, input_dim), dtype=np.float32)
113 x1 = np.ones((num_samples, input_dim))
114 x2 = np.ones((num_samples, input_dim))
149 x = np.ones((num_samples, input_dim))
150 y = np.ones((num_samples, input_dim))
183 x = np.ones((num_samples, input_dim))
201 x1 = np.ones((num_samples, input_dim))
[all …]
Dcustom_training_loop_test.py88 x = array_ops.ones((10, 10))
111 x, y = array_ops.ones((10, 10)), array_ops.ones((10, 1))
137 x, y = array_ops.ones((10, 10)), array_ops.zeros((10, 1))
167 x = array_ops.ones((1, 1))
171 self.assertAllClose(results[2], array_ops.ones((1, 1)))
204 x = array_ops.ones((1, 1))
208 self.assertAllClose(results[2], array_ops.ones((1, 1)))
235 x = array_ops.ones((1, 1))
237 self.assertAllClose(results[0], array_ops.ones((1, 1)))
240 self.assertAllClose(results[3], array_ops.ones((1, 1)))
/external/tensorflow/tensorflow/python/kernel_tests/random/
Drandom_binomial_test.py111 counts=array_ops.ones([10], dtype=np.float32),
112 probs=0.3 * array_ops.ones([10], dtype=np.float32))
116 counts=array_ops.ones([2], dtype=np.float32),
117 probs=0.4 * array_ops.ones([2], dtype=np.float32))
124 probs=0.8 * array_ops.ones([10], dtype=np.float32))
130 counts=array_ops.ones([10], dtype=np.float32),
137 counts=array_ops.ones([2, 1], dtype=np.float32),
138 probs=0.9 * array_ops.ones([1, 3], dtype=np.float32))
144 counts=array_ops.ones([2, 1, 5], dtype=np.float32),
145 probs=0.9 * array_ops.ones([1, 3, 1], dtype=np.float32))

12345678910>>...67