Searched refs:TestUnaryOp (Results 1 – 2 of 2) sorted by relevance
/external/gemmlowp/test/ |
D | test_fixedpoint.cc | 325 void TestUnaryOp(const tUnaryOpType& unary_op, in TestUnaryOp() function in gemmlowp::__anon6f94b9cb0111::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/ |
D | hlo_evaluator_test.cc | 82 void TestUnaryOp(HloOpcode opcode, Literal expected, Literal input, in TestUnaryOp() function in xla::__anona47f93e20111::HloEvaluatorTest 400 TestUnaryOp(HloOpcode::kAbs, std::move(expected), std::move(operand)); in TEST_F() 405 TestUnaryOp(HloOpcode::kAbs, std::move(expected), std::move(operand)); in TEST_P() 410 TestUnaryOp(HloOpcode::kAbs, std::move(expected), std::move(operand)); in TEST_P() 416 TestUnaryOp(HloOpcode::kAbs, std::move(expected_real), std::move(x), 3e-06); in TEST_F() 424 TestUnaryOp(HloOpcode::kNegate, std::move(expected), std::move(operand)); in TEST_F() 429 TestUnaryOp(HloOpcode::kCos, std::move(expected), std::move(operand), in TEST_P() 435 TestUnaryOp(HloOpcode::kSin, std::move(expected), std::move(operand), in TEST_P() 445 TestUnaryOp(HloOpcode::kNot, std::move(expected), std::move(operand)); in TEST_F() 451 TestUnaryOp(HloOpcode::kReal, std::move(expected_real), std::move(x)); in TEST_F() [all …]
|