Home
last modified time | relevance | path

Searched refs:values0 (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/tests/
Darray_elementwise_ops_test.cc1609 std::vector<float> values0 = {1.0f, 2.0f, 3.2f, -4.0f, 0.0f, 5.7f}; in XLA_TEST_F() local
1612 Literal literal0 = LiteralUtil::CreateR1<float>(values0); in XLA_TEST_F()
1622 std::vector<float> expected(values0.size()); in XLA_TEST_F()
1623 for (int64 i = 0; i < values0.size(); ++i) { in XLA_TEST_F()
1624 expected[i] = std::pow(std::exp(values0[i]), values1[i]); in XLA_TEST_F()
1634 std::vector<float> values0 = {1.0f, -10.0f, -2.0f, 2.0f, in XLA_TEST_F() local
1639 Literal literal0 = LiteralUtil::CreateR1<float>(values0); in XLA_TEST_F()
1649 std::vector<float> expected(values0.size()); in XLA_TEST_F()
1650 for (int64 i = 0; i < values0.size(); ++i) { in XLA_TEST_F()
1651 expected[i] = std::log(std::pow(values0[i], values1[i])); in XLA_TEST_F()
[all …]
/external/skia/tests/
DJSONTest.cpp366 const Value values0[] = { v0, v3, v9 }; in DEF_TEST() local
367 const auto v10 = ArrayValue(values0, SK_ARRAY_COUNT(values0), alloc); in DEF_TEST()
/external/skqp/tests/
DJSONTest.cpp366 const Value values0[] = { v0, v3, v9 }; in DEF_TEST() local
367 const auto v10 = ArrayValue(values0, SK_ARRAY_COUNT(values0), alloc); in DEF_TEST()
/external/tensorflow/tensorflow/compiler/xla/service/
Dalgebraic_simplifier_test.cc3584 auto values0 = builder.AddInstruction( in TEST_F() local
3590 {keys, values0, values1}, 0, /*is_stable=*/false, in TEST_F()
3597 GmockMatch(m::Tuple(m::Op().Is(keys), m::Op().Is(values0), in TEST_F()