| /external/cronet/stable/third_party/icu/source/data/rbnf/ |
| D | pl.txt | 60 "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/icu/icu4c/source/data/rbnf/ |
| D | pl.txt | 60 "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/cronet/tot/third_party/icu/source/data/rbnf/ |
| D | pl.txt | 60 "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/cldr/common/rbnf/ |
| D | pl.xml | 71 … <rbnfrule value="1000">tysiąc[ →%%spellout-cardinal-masculine-genitive-ones→];</rbnfrule> 72 …$(cardinal,few{tysiące}other{tysięcy})$[ →%%spellout-cardinal-masculine-genitive-ones→];</rbnfrule> 75 … <rbnfrule value="1000000000">miliard[ →%%spellout-cardinal-masculine-genitive-ones→];</rbnfrule> 77 … <rbnfrule value="1000000000000">bilion[ →%%spellout-cardinal-masculine-genitive-ones→];</rbnfrule> 79 …nfrule value="1000000000000000">biliard[ →%%spellout-cardinal-masculine-genitive-ones→];</rbnfrule> 106 … <rbnfrule value="20">←%%spellout-cardinal-tens←[ →%%spellout-cardinal-feminine-ones→];</rbnfrule> 107 <rbnfrule value="100">sto[ →%%spellout-cardinal-feminine-ones→];</rbnfrule> 108 <rbnfrule value="200">dwieście[ →%%spellout-cardinal-feminine-ones→];</rbnfrule> 109 …rule value="300">←%spellout-cardinal-feminine←sta[ →%%spellout-cardinal-feminine-ones→];</rbnfrule> 110 …rule value="500">←%spellout-cardinal-feminine←set[ →%%spellout-cardinal-feminine-ones→];</rbnfrule> [all …]
|
| /external/pytorch/benchmarks/instruction_counts/definitions/ |
| D | setup.py | 9 _TRIVIAL_2D = GroupedSetup(r"x = torch.ones((4, 4))", r"auto x = torch::ones({4, 4});") 13 r"x = torch.ones((4, 4, 4))", r"auto x = torch::ones({4, 4, 4});" 18 r"x = torch.ones((4, 4, 4, 4))", r"auto x = torch::ones({4, 4, 4, 4});" 28 x = torch.ones((1,)) | auto x = torch::ones({1}); 29 y = torch.ones((1,)) | auto y = torch::ones({1}); 32 w0 = torch.ones( | auto w0 = torch::ones({1}); 34 w1 = torch.ones( | auto w1 = torch::ones({1}); 36 w2 = torch.ones( | auto w2 = torch::ones({2});
|
| /external/tensorflow/tensorflow/compiler/tests/ |
| D | ftrl_ops_test.py | 86 var=np.ones((1, 3, 2)), 96 var=np.ones((1, 3, 2)), 97 accum=np.ones((1, 3, 2)), 99 grad=np.ones((1, 3, 2)), 101 self.assertAllClose(1.75 * np.ones((1, 3, 2)), linear) 106 var=np.ones((1, 3, 2)), 107 accum=np.ones((1, 3, 2)), 109 grad=np.ones((1, 3, 2)), 111 self.assertAllClose(0.8 * np.ones((1, 3, 2)), linear) 116 var=np.ones((1, 3, 2)), [all …]
|
| /external/pytorch/test/ |
| D | test_functionalization.py | 170 self.assert_functionalization(f, torch.ones(4)) 182 _functionalize(f, reapply_views=True, crossref=self.crossref)(torch.ones(3, 3)) 191 torch.ones(2, 2) 197 y = torch.ones(2) 203 r = _functionalize(f, reapply_views=True, crossref=False)(torch.ones(2)) 210 val = torch.ones(3, 1) 238 logs = self.get_logs(g, torch.ones(16, 64, 128, 128, requires_grad=True)) 277 tmp = torch.ones(4, 2) 283 self.assert_functionalization(f, torch.ones(4, 2)) 284 logs = self.get_logs(f, torch.ones(4, 2)) [all …]
|
| D | test_futures.py | 82 f.set_result(torch.ones(2, 2)) 93 f1.set_result(torch.ones(2, 2)) 103 f.set_result(torch.ones(2, 2)) 105 self.assertEqual(f.wait(), torch.ones(2, 2)) 115 t = threading.Thread(target=slow_set_future, args=(f, torch.ones(2, 2))) 118 self.assertEqual(f.wait(), torch.ones(2, 2)) 141 fut.set_result(torch.ones(2, 2)) 142 self.assertEqual(fut.wait(), torch.ones(2, 2)) 143 self.assertEqual(then_fut.wait(), torch.ones(2, 2) + 1) 153 fut.set_result(torch.ones(2, 2)) [all …]
|
| /external/mesa3d/src/util/tests/ |
| D | u_atomic_test.cpp | 51 const TypeParam ones = TypeParam(-1); in TYPED_TEST() local 53 p_atomic_set(&v, ones); in TYPED_TEST() 54 ASSERT_EQ(v, ones) << "p_atomic_set"; in TYPED_TEST() 57 ASSERT_EQ(r, ones) << "p_atomic_read"; in TYPED_TEST() 60 ASSERT_EQ(r, ones) << "p_atomic_read_relaxed"; in TYPED_TEST() 62 v = ones; in TYPED_TEST() 64 ASSERT_EQ(v, ones) << "p_atomic_cmpxchg"; in TYPED_TEST() 65 ASSERT_EQ(r, ones) << "p_atomic_cmpxchg"; in TYPED_TEST() 67 r = p_atomic_cmpxchg(&v, ones, 0); in TYPED_TEST() 69 ASSERT_EQ(r, ones) << "p_atomic_cmpxchg"; in TYPED_TEST() [all …]
|
| /external/executorch/runtime/core/exec_aten/util/test/ |
| D | tensor_util_test.cpp | 41 Tensor t = tf_byte_.ones({2, 2}); in TEST_F() 58 Tensor a = tf_byte_.ones({2, 2}); in TEST_F() 59 Tensor b = tf_int_.ones({2, 2}); in TEST_F() 60 Tensor c = tf_float_.ones({2, 2}); in TEST_F() 84 Tensor a = tf_int_.ones({1, 4}); in TEST_F() 85 Tensor b = tf_int_.ones({2, 2}); in TEST_F() 87 Tensor b2 = tf_int_.ones({2, 2}); in TEST_F() 115 Tensor t = tf_int_.ones({}); in TEST_F() 131 Tensor t = tf_int_.ones({0}); in TEST_F() 148 Tensor t = tf_int_.ones({2, 3, 4}); in TEST_F() [all …]
|
| /external/pytorch/aten/src/ATen/test/ |
| D | scalar_tensor_test.cpp | 54 auto t = ones(*s, T); in test() 67 auto t2 = ones(*s, T); in test() 69 require_equal_size_dim(t2, ones({0}, T)); in test() 76 auto t2 = ones(*s, T); in test() 99 require_equal_size_dim(result, ones(size_without_ones, T)); in test() 104 auto t2 = ones(*s, T); in test() 116 auto t2 = ones(*s, T); in test() 124 require_equal_size_dim(t2, ones(size_without_ones, T)); in test() 162 auto lhs = ones(*lhs_it, T); in test() 163 auto rhs = ones(*rhs_it, T); in test() [all …]
|
| /external/executorch/kernels/portable/test/ |
| D | op_allclose_test.cpp | 31 Tensor a = tf_float.ones(/*sizes=*/{2, 2}); in TEST() 32 Tensor b = tf_float.ones(/*sizes=*/{2, 2}); in TEST() 51 Tensor a = tf_double.ones(/*sizes=*/{2, 2}); in TEST() 52 Tensor b = tf_double.ones(/*sizes=*/{2, 2}); in TEST() 111 Tensor a = tf_int.ones(/*sizes=*/{2, 2}); in TEST() 112 Tensor b = tf_int.ones(/*sizes=*/{2, 2}); in TEST() 149 Tensor a = tf_bool.ones(/*sizes=*/{2, 2}); in TEST() 150 Tensor b = tf_bool.ones(/*sizes=*/{2, 2}); in TEST() 167 Tensor a = tf_bool.ones(/*sizes=*/{2, 2}); in TEST() 168 Tensor b = tf_bool.ones(/*sizes=*/{2, 2}); in TEST() [all …]
|
| /external/rust/android-crates-io/crates/glam/src/features/ |
| D | impl_approx.rs | 163 ($prim:ident, $type:ident, $ones:expr) => { 164 let one_eps = $ones * $type::default_epsilon(); 167 let one_ulp = $ones * $prim::from_bits($prim::to_bits(1.0) + 1); 168 let four_ulp = $ones * $prim::from_bits($prim::to_bits(1.0) + 16); 170 approx::assert_abs_diff_eq!($ones, $ones); 171 approx::assert_abs_diff_eq!($ones, $ones + one_eps); 172 approx::assert_abs_diff_eq!($ones, $ones - one_eps); 174 approx::assert_abs_diff_ne!($ones, $ones + two_eps); 175 approx::assert_abs_diff_ne!($ones, $ones - two_eps); 177 approx::assert_relative_eq!($ones, $ones); [all …]
|
| /external/tensorflow/tensorflow/python/kernel_tests/array_ops/ |
| D | inplace_ops_test.py | 32 x = array_ops.ones([7, 3], dtype) 33 y = np.ones([7, 3], dtype.as_numpy_dtype) 35 x = inplace_ops.inplace_update(x, [3], array_ops.ones([1, 3], dtype)) 39 array_ops.ones([1, 3], dtype) * 2) 42 x = inplace_ops.inplace_update(x, 5, array_ops.ones([3], dtype) * 7) 48 x = array_ops.ones([7, 3], dtypes.bool) 49 y = np.ones([7, 3], dtypes.bool.as_numpy_dtype) 51 x = inplace_ops.inplace_update(x, [3], array_ops.ones([1, 3], 66 x = array_ops.ones([7, 3], dtype) 67 y = np.ones([7, 3], dtype.as_numpy_dtype) [all …]
|
| /external/pytorch/test/distributed/ |
| D | test_multi_threaded_pg.py | 43 input_tensor = torch.ones(3, 3) * dist.get_rank() # perform 1st all gather 60 input_tensor = torch.ones(3, 3) * dist.get_rank() # perform 1st all gather 77 input_tensor = torch.ones(3, 3) * dist.get_rank() # perform 1st all gather 108 sizes = torch.ones(world_size, dtype=torch.int64) 151 input_tensor = torch.ones(3, 3) * dist.get_rank() 157 self.assertEqual(out_tensor, torch.ones(3, 3) * rank) 160 input_tensor = torch.ones(3, 3) * dist.get_rank() 164 self.assertEqual(cloned_input, torch.ones(3, 3) * rank) 168 scatter_list = [torch.ones(3, 3) * rank for rank in range(self.world_size)] 174 self.assertEqual(output_tensor, torch.ones(3, 3) * dist.get_rank()) [all …]
|
| D | test_c10d_spawn.py | 87 c2p.put((rank, torch.ones(2, 2) * 2, xs[0].to("cpu"))) 99 c2p.put((rank, torch.ones(2, 2) * i, ys[0][i].to("cpu"))) 132 x = torch.ones(5, 5, device=device) + self.rank 135 self.assertEqual(y, 1 + torch.ones(5, 5)) 152 x = torch.ones(5, 5, device=device) + self.rank 157 self.assertEqual(y, 3 * torch.ones(5, 5, device=device)) 162 x_g = (3 * torch.ones(5, 5, device=device)).cos() 173 x = torch.ones(5, 5, device=device) + self.rank 177 self.assertEqual(y, 3 * torch.ones(5, 5, device=device)) 181 x_g = 2 * (3 * torch.ones(5, 5, device=device)).cos() [all …]
|
| /external/tensorflow/tensorflow/python/ops/ |
| D | nn_fused_batchnorm_test.py | 702 x = array_ops.ones((2, 2, 2, 2)) 703 scale = array_ops.ones((3,)) 704 offset = array_ops.ones((2,)) 710 x = array_ops.ones((2, 2, 2, 2)) 711 scale = array_ops.ones((2,)) 712 offset = array_ops.ones((3,)) 718 x = array_ops.ones((2, 2, 2, 2)) 719 scale = array_ops.ones((2,)) 720 offset = array_ops.ones((2,)) 721 mean = array_ops.ones((0,)) [all …]
|
| /external/pytorch/test/dynamo/ |
| D | test_hooks.py | 340 x0 = torch.ones(4, requires_grad=True) 342 eager_out[0].backward(torch.ones(4)) 344 x1 = torch.ones(4, requires_grad=True) 347 aot_out[0].backward(torch.ones(4)) 349 x2 = torch.ones(4, requires_grad=True) 352 dynamo_out[0].backward(torch.ones(4)) 377 x0 = torch.ones(4, requires_grad=True) 379 eager_out[0].backward(torch.ones(4)) 381 x1 = torch.ones(4, requires_grad=True) 384 aot_out[0].backward(torch.ones(4)) [all …]
|
| /external/pytorch/test/inductor/ |
| D | test_split_cat_fx_passes.py | 316 [torch.ones(2, 5, 32, 16)] + split_output + [torch.ones(2, 6, 32, 16)], 323 [torch.ones(2, 4, 32, 16)] 325 + [torch.ones(2, 4, 32, 16), torch.ones(2, 4, 32, 16)], 332 [torch.ones(2, 32, 5, 16)] + split_output + [torch.ones(2, 32, 6, 16)], 340 [torch.ones(2, 4, 32, 16)] + split_output + [torch.ones(2, 4, 32, 16)], 347 [torch.ones(2, 4, 32, 16)] + split_output + [torch.ones(2, 4, 32, 16)], 355 [torch.ones(2, 4, 32, 16)] + split_output + [torch.ones(2, 4, 32, 16)], 362 [torch.ones(2, 4, 32, 16)] + split_output + [torch.ones(2, 4, 32, 16)], 370 [torch.ones(2, 32, 4, 16)] + split_output + [torch.ones(2, 32, 4, 16)], 377 [torch.ones(2, 32, 4, 16)] + split_output + [torch.ones(2, 32, 4, 16)], [all …]
|
| /external/tensorflow/tensorflow/compiler/xla/experimental/xla_sharding/ |
| D | xla_sharding_test.py | 50 xla_sharding.Sharding.tile(np.ones([3], dtype=int)), 53 xla_sharding.Sharding.partial_tile(np.ones([3], dtype=int)), 57 array_ops.ones([3, 8, 7], dtype=dtypes.int32), 1, 2), 61 np.ones([2, 3, 3], dtype=int), [ 75 array_ops.ones([4, 5, 6], dtype=dtypes.float32)) 83 in_tensor = array_ops.ones([4, 5, 6], dtype=dtypes.float32) 84 result = replicate_helper(array_ops.ones([4, 5, 6], dtype=dtypes.float32)) 101 in_tensor = array_ops.ones([4, 5, 6], dtype=dtypes.float32) 102 result = tile_helper(array_ops.ones([4, 5, 6], dtype=dtypes.float32)) 118 in_tensor = array_ops.ones([4, 5, 6], dtype=dtypes.float32) [all …]
|
| /external/pytorch/test/jit/ |
| D | test_profiler.py | 92 x = torch.ones(1, requires_grad=True) 93 y = torch.ones(1, requires_grad=True) 110 x = torch.ones([2, 2], requires_grad=True) 111 y = torch.ones([1], requires_grad=True) 114 b.backward(torch.ones([2, 2], dtype=torch.float), retain_graph=True) 115 b.backward(torch.ones([2, 2], dtype=torch.float)) 116 # warmup_backward(b, torch.ones([2, 2], dtype=torch.float)) 151 x = torch.ones(1) 152 y = torch.ones(1) 193 x = torch.ones(1) [all …]
|
| /external/pytorch/test/cpp/api/ |
| D | inference_mode.cpp | 65 torch::Tensor c = torch::ones({1, 2, 3}); in TEST() 71 torch::Tensor tmp = torch::ones({1, 2, 3}).set_requires_grad(true); in TEST() 75 tmp = torch::ones({1, 2, 3}).set_requires_grad(false); in TEST() 82 torch::Tensor s = torch::ones({1, 2, 3}).set_requires_grad(true); in TEST() 101 torch::Tensor c = torch::ones({1, 2, 3}).set_requires_grad(requires_grad); in TEST() 112 torch::Tensor c = torch::ones({1, 2, 3}).set_requires_grad(requires_grad); in TEST() 123 torch::Tensor c = torch::ones({1, 2, 3}).set_requires_grad(requires_grad); in TEST() 139 torch::ones({1, 2, 3}).set_requires_grad(requires_grad); in TEST() 160 torch::ones({1, 2, 3}).set_requires_grad(requires_grad); in TEST() 175 torch::ones({1, 2, 3}).set_requires_grad(requires_grad); in TEST() [all …]
|
| /external/pytorch/torch/testing/_internal/distributed/rpc/ |
| D | rpc_test.py | 62 return torch.add(torch.ones(1), torch.ones(1)) 72 t1, t2 = torch.ones(1), torch.ones(1) 81 "aten::ones", 82 "aten::ones", 152 PythonUDF(my_tensor_function, (torch.ones(2, 2), torch.ones(2, 2)), None) 231 a = torch.ones(3, 3) 297 return rpc.rpc_sync(dst, torch.add, args=(torch.ones(2, 2), 1)) 324 rpc.remote(dst, torch.add, args=(torch.ones(2, 2), 1)), 325 rpc.remote(dst, torch.add, args=(torch.ones(2, 2), 2)), 345 rref = rpc.remote(dst, torch.add, args=(torch.ones(2, 2), 3)) [all …]
|
| /external/executorch/exir/tests/ |
| D | test_tracer.py | 106 y = torch.ones(x.shape[0]) 110 M(), (torch.ones(3),), dynamic_shapes={"x": {0: torch.export.Dim("x")}} 116 return torch.add(torch.ones(5), torch.ones(5), out=x) 177 inputs = (torch.ones(1, 2, 3),) 203 (torch.ones(1),), 219 example_input = torch.ones(10, dtype=torch.int64) 244 (torch.ones(3, 2, dtype=torch.int64),), 276 inp = ((torch.ones(6), (torch.ones(6), torch.ones(6))),) 388 foo, (torch.ones(6, 2), torch.ones(6, 3)), capture_config 411 captured_ep = exir.capture(FooWithBuffer(), (torch.ones(6, 2),), capture_config) [all …]
|
| /external/executorch/exir/program/test/ |
| D | test_program.py | 158 return torch.add(x, torch.ones(1)) 166 torch.ones(1), 172 (torch.ones(1),), 233 executorch_module.run_method("forward", (torch.ones(1), torch.zeros(1)))[0], 234 torch.ones(1), 237 executorch_module.run_method("foo", (torch.ones(1),))[0], 238 torch.ones(1) + torch.ones(1), 292 ep = to_edge(torch.export.export(mul, (torch.ones(1),))).exported_program() 322 torch.ones(1), torch.ones(1) 339 torch.ones(1), torch.ones(1) [all …]
|