Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Dmath_ops.cc47 static constexpr std::array<float, 4> denominator_coeffs{ in EmitFastTanh() local
60 llvm::Value* denominator = llvm::ConstantFP::get(type, denominator_coeffs[0]); in EmitFastTanh()
61 for (int i = 1; i < denominator_coeffs.size(); i++) { in EmitFastTanh()
64 llvm::ConstantFP::get(type, denominator_coeffs[i])); in EmitFastTanh()
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/transforms/
Dlegalize_trigonometric_to_approximation.cc116 static constexpr std::array<float, 4> denominator_coeffs{ in emitApproximation() local
134 loc, rewriter.getF32FloatAttr(denominator_coeffs[0])); in emitApproximation()
135 for (int i = 1; i < denominator_coeffs.size(); i++) { in emitApproximation()
139 loc, rewriter.getF32FloatAttr(denominator_coeffs[i]))); in emitApproximation()