Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_evaluator.cc66 compare_op = [](OperandT lhs_el, OperandT rhs_el) { in Compare() argument
67 return lhs_el == rhs_el; in Compare()
71 compare_op = [](OperandT lhs_el, OperandT rhs_el) { in Compare() argument
72 return lhs_el != rhs_el; in Compare()
76 compare_op = [](OperandT lhs_el, OperandT rhs_el) { in Compare() argument
77 return lhs_el >= rhs_el; in Compare()
81 compare_op = [](OperandT lhs_el, OperandT rhs_el) { in Compare() argument
82 return lhs_el > rhs_el; in Compare()
86 compare_op = [](OperandT lhs_el, OperandT rhs_el) { in Compare() argument
87 return lhs_el <= rhs_el; in Compare()
[all …]
Dhlo_evaluator_typed_visitor.h670 ElementWiseBinaryOp(minimum, [](ElementwiseT lhs_el,
672 return std::min(lhs_el, rhs_el);
682 ElementWiseBinaryOp(minimum, [](ElementwiseT lhs_el,
684 return ((lhs_el <= rhs_el) || std::isnan(lhs_el)) ? lhs_el : rhs_el;
704 power, [](ElementwiseT lhs_el, ElementwiseT rhs_el) {
705 return lhs_el == ElementwiseT(0) && rhs_el == ElementwiseT(0)
707 : std::pow(lhs_el, rhs_el);
765 ElementWiseBinaryOp(remainder, [](ElementwiseT lhs_el,
767 return std::fmod(lhs_el, rhs_el);
777 ElementWiseBinaryOp(remainder, [](ElementwiseT lhs_el,
[all …]