Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_evaluator.cc64 compare_op = [](OperandT lhs_el, OperandT rhs_el) { in Compare() argument
65 return lhs_el == rhs_el; in Compare()
69 compare_op = [](OperandT lhs_el, OperandT rhs_el) { in Compare() argument
70 return lhs_el != rhs_el; in Compare()
74 compare_op = [](OperandT lhs_el, OperandT rhs_el) { in Compare() argument
75 return lhs_el >= rhs_el; in Compare()
79 compare_op = [](OperandT lhs_el, OperandT rhs_el) { in Compare() argument
80 return lhs_el > rhs_el; in Compare()
84 compare_op = [](OperandT lhs_el, OperandT rhs_el) { in Compare() argument
85 return lhs_el <= rhs_el; in Compare()
[all …]
Dhlo_evaluator_typed_visitor.h626 ElementwiseT rhs_el) { in HandleMinimum()
627 return std::min(lhs_el, rhs_el); in HandleMinimum()
638 ElementwiseT rhs_el) { in HandleMinimum()
639 return ((lhs_el <= rhs_el) || std::isnan(lhs_el)) ? lhs_el : rhs_el; in HandleMinimum()
659 power, [](ElementwiseT lhs_el, ElementwiseT rhs_el) { in HandlePower()
660 return lhs_el == ElementwiseT(0) && rhs_el == ElementwiseT(0) in HandlePower()
662 : std::pow(lhs_el, rhs_el); in HandlePower()
689 ElementwiseT rhs_el) { in HandleRemainder()
690 return std::fmod(lhs_el, rhs_el); in HandleRemainder()
701 ElementwiseT rhs_el) { in HandleRemainder()
[all …]