Searched refs:TestUnaryOp (Results 1 – 2 of 2) sorted by relevance
/external/gemmlowp/test/ |
D | test_fixedpoint.cc | 256 void TestUnaryOp(const tUnaryOpType& unary_op, in TestUnaryOp() function 411 TestUnaryOp(RoundingDivideByPOTOp(s), testvals_int32); in main() 414 TestUnaryOp(SaturatingRoundingMultiplyByPOTOp<-31>(), testvals_int32); in main() 415 TestUnaryOp(SaturatingRoundingMultiplyByPOTOp<-30>(), testvals_int32); in main() 416 TestUnaryOp(SaturatingRoundingMultiplyByPOTOp<-29>(), testvals_int32); in main() 417 TestUnaryOp(SaturatingRoundingMultiplyByPOTOp<-17>(), testvals_int32); in main() 418 TestUnaryOp(SaturatingRoundingMultiplyByPOTOp<-16>(), testvals_int32); in main() 419 TestUnaryOp(SaturatingRoundingMultiplyByPOTOp<-15>(), testvals_int32); in main() 420 TestUnaryOp(SaturatingRoundingMultiplyByPOTOp<-4>(), testvals_int32); in main() 421 TestUnaryOp(SaturatingRoundingMultiplyByPOTOp<-3>(), testvals_int32); in main() [all …]
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | hlo_evaluator_test.cc | 81 void TestUnaryOp(HloOpcode opcode, Literal expected, Literal input, in TestUnaryOp() function in xla::__anon67d5331b0111::HloEvaluatorTest 330 TestUnaryOp(HloOpcode::kAbs, std::move(expected), std::move(operand)); in TEST_F() 335 TestUnaryOp(HloOpcode::kAbs, std::move(expected), std::move(operand)); in TEST_P() 340 TestUnaryOp(HloOpcode::kAbs, std::move(expected), std::move(operand)); in TEST_P() 347 TestUnaryOp(HloOpcode::kNegate, std::move(expected), std::move(operand)); in TEST_F() 352 TestUnaryOp(HloOpcode::kCos, std::move(expected), std::move(operand), in TEST_P() 358 TestUnaryOp(HloOpcode::kSin, std::move(expected), std::move(operand), in TEST_P() 368 TestUnaryOp(HloOpcode::kNot, std::move(expected), std::move(operand)); in TEST_F() 374 TestUnaryOp(HloOpcode::kReal, std::move(expected_real), std::move(x)); in TEST_F() 380 TestUnaryOp(HloOpcode::kImag, std::move(expected_imag), std::move(x)); in TEST_F()
|