Home
last modified time | relevance | path

Searched refs:TanhOp (Results 1 – 24 of 24) sorted by relevance

/external/gemmlowp/test/
Dtest_fixedpoint.cc266 class TanhOp final : public UnaryOpBase { class in gemmlowp::__anon6f94b9cb0111::TestFixedPoint
527 TestUnaryOp(TanhOp<0>(), testvals); in RunTests()
528 TestUnaryOp(TanhOp<1>(), testvals); in RunTests()
529 TestUnaryOp(TanhOp<2>(), testvals); in RunTests()
530 TestUnaryOp(TanhOp<3>(), testvals); in RunTests()
531 TestUnaryOp(TanhOp<4>(), testvals); in RunTests()
532 TestUnaryOp(TanhOp<5>(), testvals); in RunTests()
533 TestUnaryOp(TanhOp<6>(), testvals); in RunTests()
/external/llvm-project/mlir/lib/Dialect/StandardOps/Transforms/
DExpandTanh.cpp29 struct TanhOpConverter : public OpRewritePattern<TanhOp> {
33 LogicalResult matchAndRewrite(TanhOp op, in matchAndRewrite()
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/transforms/
Dlegalize_trigonometric_to_approximation.cc78 : public ApproximateOnExtendedF32Lowering<math::TanhOp> {
81 : ApproximateOnExtendedF32Lowering<math::TanhOp>(ctx) {} in ApproximateTanhLowering()
Dtransform_unranked_hlo.cc44 sep fn(TanhOp)
Dhlo_legalize_to_lhlo.cc688 HloToLhloOpConverter<mhlo::TanhOp>, in populateHLOToLHLOConversionPattern()
Dlegalize_to_linalg.cc1426 PointwiseToLinalgConverter<lmhlo::TanhOp>, in populateLHLOToLinalgConversionPattern()
1553 PointwiseToLinalgConverter<mhlo::TanhOp, false>, in populateHLOToLinalgConversionPattern()
/external/tensorflow/tensorflow/compiler/mlir/hlo/include/mlir-hlo/Dialect/mhlo/transforms/
Dmap_hlo_to_lhlo_op.h88 MAP_HLO_TO_LHLO(TanhOp);
Dmap_lmhlo_to_scalar_op.h799 inline Value MapLhloOpToStdScalarOp<lmhlo::TanhOp>(Location loc,
803 return MapLhloOpToStdScalarOpImpl<FloatType, ::mlir::math::TanhOp>{}(
/external/llvm-project/mlir/include/mlir/Dialect/Linalg/EDSC/
DFoldedIntrinsics.h58 using folded_std_tanh = FoldedValueBuilder<TanhOp>;
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/
Dload_quantization_recipe.cc137 return builder->create<TanhOp>(loc, int16, s5->getResult(0)); in CreateGate()
185 auto new_cell_tanh = builder->create<TanhOp>(loc, int16, new_cell); in LoadForLSTMOp()
/external/llvm-project/mlir/include/mlir/Dialect/StandardOps/EDSC/
DIntrinsics.h49 using std_tanh = ValueBuilder<TanhOp>;
/external/llvm-project/mlir/lib/Conversion/GPUToROCDL/
DLowerGpuOpsToROCDLOps.cpp118 patterns.insert<OpToFuncCallLowering<TanhOp>>(converter, "__ocml_tanh_f32", in populateGpuToROCDLConversionPatterns()
/external/llvm-project/mlir/lib/Conversion/GPUToNVVM/
DLowerGpuOpsToNVVMOps.cpp198 patterns.insert<OpToFuncCallLowering<TanhOp>>(converter, "__nv_tanhf", in populateGpuToNVVMConversionPatterns()
/external/tensorflow/tensorflow/compiler/mlir/xla/
Dhlo_utils.cc414 } else if (isa<mlir::mhlo::TanhOp, mlir::lmhlo::TanhOp>(op)) { in MhloToHloOpcode()
Dhlo_function_importer.cc790 NoAttributeCase(kTanh, TanhOp); in ImportInstructionImpl()
/external/llvm-project/mlir/lib/Conversion/StandardToSPIRV/
DConvertStandardToSPIRV.cpp1099 UnaryAndBinaryOpPattern<TanhOp, spirv::GLSLTanhOp>, in populateStandardToSPIRVPatterns()
/external/tensorflow/tensorflow/compiler/mlir/tosa/transforms/
Dlegalize_tf.cc1891 auto tf_tanh_op = cast<TF::TanhOp>(op); in matchAndRewrite()
1896 rewriter.replaceOpWithNewOp<tosa::TanhOp>(op, output_type, tf_tanh_op.x()); in matchAndRewrite()
Dlegalize_tfl.cc2628 auto tfl_tanh_op = cast<TFL::TanhOp>(op); in matchAndRewrite()
2691 rewriter.replaceOpWithNewOp<tosa::TanhOp>(op, output_type, in matchAndRewrite()
Dlegalize_common.cc2296 .create<tosa::TanhOp>(op->getLoc(), input_type, input_value) in convertFusedActivation()
/external/tensorflow/tensorflow/compiler/mlir/xla/transforms/
Dmhlo_to_lhlo_with_xla.cc381 return CreateOpWithoutAttrs<lmhlo::TanhOp>(instr); in EmitOp()
Dlegalize_tf.cc2662 auto tanh_op = rewriter.create<TanhOp>(loc, scaled_input); in matchAndRewrite()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dauto_mixed_precision_test.cc1170 TEST_F(AutoMixedPrecisionTest, TanhOp) { in TEST_F() argument
/external/llvm-project/mlir/include/mlir/Dialect/StandardOps/IR/
DOps.td3419 // TanhOp
3422 def TanhOp : FloatUnaryOp<"tanh"> {
/external/llvm-project/mlir/lib/Conversion/StandardToLLVM/
DStandardToLLVM.cpp4167 this->addIllegalOp<TanhOp>(); in LLVMConversionTarget()