Searched refs:getF32FloatAttr (Results 1 – 15 of 15) sorted by relevance
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/transforms/ |
D | legalize_trigonometric_to_approximation.cc | 94 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/ |
D | lstm_utils.cc | 419 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/ |
D | fused_kernel_matcher.cc | 165 Attribute epsilon = rewriter.getF32FloatAttr(0); in matchAndRewrite()
|
/external/llvm-project/mlir/lib/IR/ |
D | Builders.cpp | 182 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/ |
D | legalize_common.cc | 2236 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()
|
D | legalize_tf.cc | 149 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()
|
D | legalize_tfl.cc | 181 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/ |
D | flatbuffer_operator.cc | 190 return builder.getF32FloatAttr(value); in BuildF32Attr()
|
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/ |
D | legalize_tf.cc | 502 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/ |
D | Builders.h | 110 FloatAttr getF32FloatAttr(float value);
|
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/ |
D | quantization_utils.h | 345 FloatAttr tolerance = rewriter.getF32FloatAttr(error_tolerance); in matchAndRewrite()
|
/external/llvm-project/mlir/lib/Conversion/StandardToSPIRV/ |
D | ConvertStandardToSPIRV.cpp | 97 return builder.getF32FloatAttr(dstVal.convertToFloat()); in convertFloatAttr()
|
/external/tensorflow/tensorflow/compiler/mlir/xla/ |
D | hlo_function_importer.cc | 276 "epsilon", builder_->getF32FloatAttr(instruction->epsilon()))); \ in ImportInstructionImpl()
|
/external/llvm-project/mlir/docs/ |
D | OpDefinitions.md | 616 $_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/ |
D | mhlo_to_lhlo_with_xla.cc | 861 op.epsilonAttr(builder_.getF32FloatAttr(epsilon_value)); in EmitDnnBatchNorm()
|