Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Dmath_ops.cc42 static constexpr std::array<float, 7> numerator_coeffs{ in EmitFastTanh() local
52 llvm::Value* numerator = llvm::ConstantFP::get(type, numerator_coeffs[0]); in EmitFastTanh()
53 for (int i = 1; i < numerator_coeffs.size(); i++) { in EmitFastTanh()
55 llvm::ConstantFP::get(type, numerator_coeffs[i])); in EmitFastTanh()
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/transforms/
Dlegalize_trigonometric_to_approximation.cc111 static constexpr std::array<float, 7> numerator_coeffs{ in emitApproximation() local
123 loc, rewriter.getF32FloatAttr(numerator_coeffs[0])); in emitApproximation()
124 for (int i = 1; i < numerator_coeffs.size(); i++) { in emitApproximation()
128 loc, rewriter.getF32FloatAttr(numerator_coeffs[i]))); in emitApproximation()