Home
last modified time | relevance | path

Searched refs:getF32FloatAttr (Results 1 – 15 of 15) sorted by relevance

/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/transforms/
Dlegalize_trigonometric_to_approximation.cc94 loc, rewriter.getF32FloatAttr(kCanUseApprox)); in emitApproximation()
99 loc, rewriter.getF32FloatAttr(7.90531110763549805f)); in emitApproximation()
105 loc, rewriter.getF32FloatAttr(-7.90531110763549805f)); in emitApproximation()
123 loc, rewriter.getF32FloatAttr(numerator_coeffs[0])); in emitApproximation()
128 loc, rewriter.getF32FloatAttr(numerator_coeffs[i]))); in emitApproximation()
134 loc, rewriter.getF32FloatAttr(denominator_coeffs[0])); in emitApproximation()
139 loc, rewriter.getF32FloatAttr(denominator_coeffs[i]))); in emitApproximation()
/external/tensorflow/tensorflow/compiler/mlir/lite/utils/
Dlstm_utils.cc419 builder_.getF32FloatAttr(10.0), builder_.getF32FloatAttr(0.0), in RewriteFunc()
747 builder->getF32FloatAttr(10.0), builder->getF32FloatAttr(0.0), in ConvertKerasLSTMLayer()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dfused_kernel_matcher.cc165 Attribute epsilon = rewriter.getF32FloatAttr(0); in matchAndRewrite()
/external/llvm-project/mlir/lib/IR/
DBuilders.cpp182 FloatAttr Builder::getF32FloatAttr(float value) { in getF32FloatAttr() function in Builder
248 values, [this](float v) -> Attribute { return getF32FloatAttr(v); })); in getF32ArrayAttr()
/external/tensorflow/tensorflow/compiler/mlir/tosa/transforms/
Dlegalize_common.cc2236 rewriter.getF32FloatAttr(0)); in convertFusedActivation()
2247 rewriter.getF32FloatAttr(0.0f)); in convertFusedActivation()
2261 rewriter.getF32FloatAttr(0.0f), rewriter.getF32FloatAttr(0.0f)); in convertFusedActivation()
2279 rewriter.getF32FloatAttr(std::numeric_limits<float>::max())) in convertFusedActivation()
2285 rewriter.getF32FloatAttr(6.0)) in convertFusedActivation()
2292 rewriter.getF32FloatAttr(-1.0), rewriter.getF32FloatAttr(1.0)) in convertFusedActivation()
Dlegalize_tf.cc149 rewriter.getF32FloatAttr(std::numeric_limits<float>::max())); in matchAndRewrite()
154 rewriter.getF32FloatAttr(0.0f)); in matchAndRewrite()
171 rewriter.getF32FloatAttr(6.0f)); in matchAndRewrite()
175 rewriter.getF32FloatAttr(0.0f)); in matchAndRewrite()
Dlegalize_tfl.cc181 rewriter.getF32FloatAttr(0.0f)); in matchAndRewrite()
191 rewriter.getF32FloatAttr(std::numeric_limits<float>::max())); in matchAndRewrite()
239 rewriter.getI64IntegerAttr(rescaled_6), rewriter.getF32FloatAttr(0.0f)); in matchAndRewrite()
248 rewriter.getI64IntegerAttr(0), rewriter.getF32FloatAttr(6.0f)); in matchAndRewrite()
2534 rewriter.getI64IntegerAttr(0), rewriter.getF32FloatAttr(6.0)); in matchAndRewrite()
/external/tensorflow/tensorflow/compiler/mlir/lite/
Dflatbuffer_operator.cc190 return builder.getF32FloatAttr(value); in BuildF32Attr()
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/
Dlegalize_tf.cc502 rewriter.getNamedAttr("cell_clip", rewriter.getF32FloatAttr(0.0))); in matchAndRewrite()
505 rewriter.getNamedAttr("proj_clip", rewriter.getF32FloatAttr(0.0))); in matchAndRewrite()
/external/llvm-project/mlir/include/mlir/IR/
DBuilders.h110 FloatAttr getF32FloatAttr(float value);
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/
Dquantization_utils.h345 FloatAttr tolerance = rewriter.getF32FloatAttr(error_tolerance); in matchAndRewrite()
/external/llvm-project/mlir/lib/Conversion/StandardToSPIRV/
DConvertStandardToSPIRV.cpp97 return builder.getF32FloatAttr(dstVal.convertToFloat()); in convertFloatAttr()
/external/tensorflow/tensorflow/compiler/mlir/xla/
Dhlo_function_importer.cc276 "epsilon", builder_->getF32FloatAttr(instruction->epsilon()))); \ in ImportInstructionImpl()
/external/llvm-project/mlir/docs/
DOpDefinitions.md616 $_state.addAttribute("attr", $_builder.getF32FloatAttr(val));
638 $_state.addAttribute("attr", $_builder.getF32FloatAttr(val));
658 state.addAttribute("attr", builder.getF32FloatAttr(val));
/external/tensorflow/tensorflow/compiler/mlir/xla/transforms/
Dmhlo_to_lhlo_with_xla.cc861 op.epsilonAttr(builder_.getF32FloatAttr(epsilon_value)); in EmitDnnBatchNorm()