Home
last modified time | relevance | path

Searched refs:TestUnaryOp (Results 1 – 2 of 2) sorted by relevance

/external/gemmlowp/test/
Dtest_fixedpoint.cc325 void TestUnaryOp(const tUnaryOpType& unary_op, in TestUnaryOp() function in gemmlowp::__anon843601290111::TestFixedPoint
482 TestUnaryOp(RoundingDivideByPOTOp(s), testvals); in RunTests()
485 TestUnaryOp(SaturatingRoundingMultiplyByPOTOp<1 - kScalarTypeBits>(), in RunTests()
487 TestUnaryOp(SaturatingRoundingMultiplyByPOTOp<2 - kScalarTypeBits>(), in RunTests()
489 TestUnaryOp(SaturatingRoundingMultiplyByPOTOp<3 - kScalarTypeBits>(), in RunTests()
491 TestUnaryOp(SaturatingRoundingMultiplyByPOTOp<14 - kScalarTypeBits>(), in RunTests()
493 TestUnaryOp(SaturatingRoundingMultiplyByPOTOp<15 - kScalarTypeBits>(), in RunTests()
495 TestUnaryOp(SaturatingRoundingMultiplyByPOTOp<-15>(), testvals); in RunTests()
496 TestUnaryOp(SaturatingRoundingMultiplyByPOTOp<-4>(), testvals); in RunTests()
497 TestUnaryOp(SaturatingRoundingMultiplyByPOTOp<-3>(), testvals); in RunTests()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_evaluator_test.cc80 void TestUnaryOp(HloOpcode opcode, Literal expected, Literal input, in TestUnaryOp() function in xla::__anonc6f6d3400111::HloEvaluatorTest
425 TestUnaryOp(HloOpcode::kAbs, std::move(expected), std::move(operand)); in TEST_F()
430 TestUnaryOp(HloOpcode::kAbs, std::move(expected), std::move(operand)); in TEST_P()
435 TestUnaryOp(HloOpcode::kAbs, std::move(expected), std::move(operand)); in TEST_P()
441 TestUnaryOp(HloOpcode::kAbs, std::move(expected_real), std::move(x), 3e-06); in TEST_F()
449 TestUnaryOp(HloOpcode::kNegate, std::move(expected), std::move(operand)); in TEST_F()
454 TestUnaryOp(HloOpcode::kCos, std::move(expected), std::move(operand), in TEST_P()
460 TestUnaryOp(HloOpcode::kSin, std::move(expected), std::move(operand), in TEST_P()
470 TestUnaryOp(HloOpcode::kNot, std::move(expected), std::move(operand)); in TEST_F()
476 TestUnaryOp(HloOpcode::kReal, std::move(expected_real), std::move(x)); in TEST_F()
[all …]