Home
last modified time | relevance | path

Searched refs:scalar1 (Results 1 – 25 of 33) sorted by relevance

12

/external/eigen/unsupported/test/
Dcxx11_tensor_fixed_size.cpp20 TensorFixedSize<float, Sizes<> > scalar1; in test_0d() local
22 VERIFY_IS_EQUAL(scalar1.rank(), 0); in test_0d()
23 VERIFY_IS_EQUAL(scalar1.size(), 1); in test_0d()
24 VERIFY_IS_EQUAL(array_prod(scalar1.dimensions()), 1); in test_0d()
26 scalar1() = 7.0; in test_0d()
30 TensorFixedSize<float, Sizes<> > copy = scalar1; in test_0d()
31 VERIFY_IS_NOT_EQUAL(scalar1.data(), copy.data()); in test_0d()
32 VERIFY_IS_APPROX(scalar1(), copy()); in test_0d()
33 copy = scalar1; in test_0d()
34 VERIFY_IS_NOT_EQUAL(scalar1.data(), copy.data()); in test_0d()
[all …]
Dcxx11_tensor_simple.cpp19 Tensor<int, 0> scalar1; in test_0d() local
27 scalar1() = 7; in test_0d()
32 VERIFY_IS_EQUAL(scalar1.rank(), 0); in test_0d()
33 VERIFY_IS_EQUAL(scalar1.size(), 1); in test_0d()
35 VERIFY_IS_EQUAL(scalar1(), 7); in test_0d()
40 Tensor<int, 0> scalar5(scalar1); in test_0d()
Dcxx11_tensor_map.cpp19 Tensor<int, 0> scalar1; in test_0d() local
22 TensorMap<Tensor<const int, 0> > scalar3(scalar1.data()); in test_0d()
25 scalar1() = 7; in test_0d()
28 VERIFY_IS_EQUAL(scalar1.rank(), 0); in test_0d()
29 VERIFY_IS_EQUAL(scalar1.size(), 1); in test_0d()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/lowlevel/
DLowLevelApiTest.java57 ScalarEvent scalar1 = (ScalarEvent) etalonEvent; in testLowLevel() local
59 assertEquals(scalar1.getAnchor(), scalar2.getAnchor()); in testLowLevel()
60 assertEquals(scalar1.getValue(), scalar2.getValue()); in testLowLevel()
/external/snakeyaml/src/test/java/org/pyyaml/
DPyStructureTest.java68 ScalarEvent scalar1 = (ScalarEvent) event1; in compareEvents() local
70 if (scalar1.getImplicit().bothFalse() && scalar2.getImplicit().bothFalse()) { in compareEvents()
71 assertEquals(scalar1.getTag(), scalar2.getTag()); in compareEvents()
73 assertEquals(scalar1.getValue(), scalar2.getValue()); in compareEvents()
127 ScalarNode scalar1 = (ScalarNode) node1; in compareNodes() local
129 assertEquals(scalar1.getTag(), scalar2.getTag()); in compareNodes()
130 assertEquals(scalar1.getValue(), scalar2.getValue()); in compareNodes()
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/SystemZ/
Dvec-add-02.ll20 %scalar1 = extractelement <4 x float> %val1, i32 0
22 %ret = fadd float %scalar1, %scalar2
Dvec-mul-03.ll20 %scalar1 = extractelement <4 x float> %val1, i32 0
22 %ret = fmul float %scalar1, %scalar2
Dvec-div-02.ll20 %scalar1 = extractelement <4 x float> %val1, i32 0
22 %ret = fdiv float %scalar1, %scalar2
Dvec-sub-02.ll20 %scalar1 = extractelement <4 x float> %val1, i32 0
22 %ret = fsub float %scalar1, %scalar2
Dvec-mul-01.ll56 %scalar1 = extractelement <2 x double> %val1, i32 0
58 %ret = fmul double %scalar1, %scalar2
Dvec-add-01.ll56 %scalar1 = extractelement <2 x double> %val1, i32 0
58 %ret = fadd double %scalar1, %scalar2
Dvec-div-01.ll79 %scalar1 = extractelement <2 x double> %val1, i32 0
81 %ret = fdiv double %scalar1, %scalar2
Dvec-sub-01.ll82 %scalar1 = extractelement <2 x double> %val1, i32 0
84 %ret = fsub double %scalar1, %scalar2
/external/tensorflow/tensorflow/compiler/xla/tests/
Dconstants_test.cc201 auto scalar1 = ConstantR0WithType(&b, F32, 1); in TEST_F() local
202 auto scalar2 = FullLike(scalar1, 2); in TEST_F()
203 scalar1 - scalar2; in TEST_F()
/external/llvm/test/CodeGen/NVPTX/
Dmachine-sink.ll5 @scalar1 = internal addrspace(3) global float 0.000000e+00, align 4
17 %0 = load float, float* addrspacecast (float addrspace(3)* @scalar1 to float*), align 4
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/NVPTX/
Dmachine-sink.ll5 @scalar1 = internal addrspace(3) global float 0.000000e+00, align 4
17 %0 = load float, float* addrspacecast (float addrspace(3)* @scalar1 to float*), align 4
/external/llvm/test/CodeGen/SystemZ/
Dvec-mul-01.ll56 %scalar1 = extractelement <2 x double> %val1, i32 0
58 %ret = fmul double %scalar1, %scalar2
Dvec-add-01.ll56 %scalar1 = extractelement <2 x double> %val1, i32 0
58 %ret = fadd double %scalar1, %scalar2
Dvec-div-01.ll79 %scalar1 = extractelement <2 x double> %val1, i32 0
81 %ret = fdiv double %scalar1, %scalar2
Dvec-sub-01.ll83 %scalar1 = extractelement <2 x double> %val1, i32 0
85 %ret = fsub double %scalar1, %scalar2
/external/skqp/tests/
DWriter32Test.cpp190 const SkScalar scalar1 = 1234.5678f; in testOverwriteT() local
201 writer->writeScalar(scalar1); in testOverwriteT()
210 padding + sizeof(uint32_t) + sizeof(SkRect)) == scalar1); in testOverwriteT()
/external/skia/tests/
DWriter32Test.cpp190 const SkScalar scalar1 = 1234.5678f; in testOverwriteT() local
201 writer->writeScalar(scalar1); in testOverwriteT()
210 padding + sizeof(uint32_t) + sizeof(SkRect)) == scalar1); in testOverwriteT()
/external/tensorflow/tensorflow/python/kernel_tests/distributions/
Dutil_test.py386 scalar1 = array_ops.placeholder(dtype=dtypes.float32)
400 du.same_dynamic_shape(scalar, scalar1).eval({
401 scalar1: 2.0
435 du.same_dynamic_shape(scalar1, vector1).eval({
436 scalar1: 2.0,
444 du.same_dynamic_shape(scalar1, multidimensional1).eval(
446 scalar1: 2.0,
/external/wpa_supplicant_8/src/common/
Dsae.c1374 const struct crypto_bignum *scalar1, in sae_cn_confirm() argument
1394 crypto_bignum_to_bin(scalar1, scalar_b1, sizeof(scalar_b1), in sae_cn_confirm()
1412 const struct crypto_bignum *scalar1, in sae_cn_confirm_ecc() argument
1426 sae_cn_confirm(sae, sc, scalar1, element_b1, 2 * sae->tmp->prime_len, in sae_cn_confirm_ecc()
1432 const struct crypto_bignum *scalar1, in sae_cn_confirm_ffc() argument
1446 sae_cn_confirm(sae, sc, scalar1, element_b1, sae->tmp->prime_len, in sae_cn_confirm_ffc()
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AMDGPU/
Dpacked-op-sel.ll221 %scalar1 = load volatile half, half addrspace(3)* %arg2.gep, align 2
223 %neg.scalar1 = fsub half -0.0, %scalar1
225 %vec2 = insertelement <2 x half> %vec.ins0, half %neg.scalar1, i32 1
249 %scalar1 = load volatile half, half addrspace(3)* %arg2.gep, align 2
252 %vec2 = insertelement <2 x half> %vec.ins0, half %scalar1, i32 1
674 %scalar1 = load volatile half, half addrspace(1)* undef

12