|
|
|
@ -100,11 +100,12 @@ REGISTER_COMPARE_OP(less_than, "Out = X < Y");
|
|
|
|
|
REGISTER_COMPARE_KERNEL(less_than, CPU, paddle::operators::LessThanFunctor);
|
|
|
|
|
REGISTER_COMPARE_OP(less_equal, "Out = X <= Y");
|
|
|
|
|
REGISTER_COMPARE_KERNEL(less_equal, CPU, paddle::operators::LessEqualFunctor);
|
|
|
|
|
REGISTER_COMPARE_OP(larger_than, "Out = X > Y");
|
|
|
|
|
REGISTER_COMPARE_KERNEL(larger_than, CPU, paddle::operators::LargerThanFunctor);
|
|
|
|
|
REGISTER_COMPARE_OP(larger_equal, "Out = X >= Y");
|
|
|
|
|
REGISTER_COMPARE_KERNEL(larger_equal, CPU,
|
|
|
|
|
paddle::operators::LargerEqualFunctor);
|
|
|
|
|
REGISTER_COMPARE_OP(greater_than, "Out = X > Y");
|
|
|
|
|
REGISTER_COMPARE_KERNEL(greater_than, CPU,
|
|
|
|
|
paddle::operators::GreaterThanFunctor);
|
|
|
|
|
REGISTER_COMPARE_OP(greater_equal, "Out = X >= Y");
|
|
|
|
|
REGISTER_COMPARE_KERNEL(greater_equal, CPU,
|
|
|
|
|
paddle::operators::GreaterEqualFunctor);
|
|
|
|
|
REGISTER_COMPARE_OP(equal, "Out = X == Y");
|
|
|
|
|
REGISTER_COMPARE_KERNEL(equal, CPU, paddle::operators::EqualFunctor);
|
|
|
|
|
REGISTER_COMPARE_OP(not_equal, "Out = X != Y");
|
|
|
|
|