Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 28 for tanh (0.04 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_lowering_patterns.td

              (variadic $inputs),
              ConstantStrAttr<StrAttr, "aten.gelu.default">, $attrs, $_, $_),
            (TFL_GeluOp $inputs, ConstBoolAttrTrue),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/lstm.json

              "intermediates": [
                25, 26, 27, 28, 29
              ],
              "builtin_options_type": "UnidirectionalSequenceLSTMOptions",
              "builtin_options": {
                "fused_activation_function": "TANH",
                "cell_clip": 50.0
              },
              "mutating_variable_inputs": [
                false,
                false, false, false, false,
                false, false, false, false,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 06:25:50 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. src/math/example_test.go

    	// Output: 0.00, 1.00
    }
    
    func ExampleSinh() {
    	fmt.Printf("%.2f", math.Sinh(0))
    	// Output: 0.00
    }
    
    func ExampleTan() {
    	fmt.Printf("%.2f", math.Tan(0))
    	// Output: 0.00
    }
    
    func ExampleTanh() {
    	fmt.Printf("%.2f", math.Tanh(0))
    	// Output: 0.00
    }
    
    func ExampleSqrt() {
    	const (
    		a = 3
    		b = 4
    	)
    	c := math.Sqrt(a*a + b*b)
    	fmt.Printf("%.1f", c)
    	// Output: 5.0
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 07 18:09:53 UTC 2021
    - 3.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/ir/tfl_op_enums.td

    def TFL_AFEnum_Relu  : I32EnumAttrCase<"RELU", 1>;
    def TFL_AFEnum_Relu1 : I32EnumAttrCase<"RELU_N1_TO_1", 2>;
    def TFL_AFEnum_Relu6 : I32EnumAttrCase<"RELU6", 3>;
    def TFL_AFEnum_Tanh  : I32EnumAttrCase<"TANH", 4>;
    def TFL_AFEnum_Sign  : I32EnumAttrCase<"SIGN_BIT", 5>;
    
    def TFL_AFAttr : TFL_AnyStrAttrOf<[
          TFL_AFEnum_None.symbol,  TFL_AFEnum_Relu.symbol, TFL_AFEnum_Relu1.symbol,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 20 00:05:24 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/experimental/tac/hardwares/gpu_hardware.cc

    // tfl.relu / tfl.relu6 / tfl.rsqrt / tfl.sin / tfl.slice / tfl.softmax /
    // tfl.space_to_depth / tfl.sqrt / tfl.square / tfl.squared_difference /
    // tfl.strided_slice / tfl.tanh / tfl.transpose / tfl.transpose_conv
    class GpuBasicSupportedOpNoCost : public TargetHardwareOperation {
      double GetOpCost(mlir::Operation* op) const override { return 0; }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 03:08:33 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/get-arithmetic-count.mlir

      func.return %0 : tensor<10x10xf32>
    }
    
    func.func @testTanh(%arg0: tensor<10x10xf32>) -> tensor<10x10xf32> {
      // CHECK: _arithmetic_count = 6400 : i64
      %0 = "tfl.tanh"(%arg0) : (tensor<10x10xf32>) -> tensor<10x10xf32>
      func.return %0 : tensor<10x10xf32>
    }
    
    func.func @testAddN(%arg0: tensor<10x10xf32>, %arg1: tensor<10x10xf32>, %arg2: tensor<10x10xf32>) -> tensor<10x10xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 14 04:58:17 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  7. src/math/atanh.go

    //
    
    // Atanh returns the inverse hyperbolic tangent of x.
    //
    // Special cases are:
    //
    //	Atanh(1) = +Inf
    //	Atanh(±0) = ±0
    //	Atanh(-1) = -Inf
    //	Atanh(x) = NaN if x < -1 or x > 1
    //	Atanh(NaN) = NaN
    func Atanh(x float64) float64 {
    	if haveArchAtanh {
    		return archAtanh(x)
    	}
    	return atanh(x)
    }
    
    func atanh(x float64) float64 {
    	const NearZero = 1.0 / (1 << 28) // 2**-28
    	// special cases
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 2K bytes
    - Viewed (0)
  8. src/math/tan.go

    	-5.38695755929454629881e7, // 0xc189afe03cbe5a31
    }
    
    // Tan returns the tangent of the radian argument x.
    //
    // Special cases are:
    //
    //	Tan(±0) = ±0
    //	Tan(±Inf) = NaN
    //	Tan(NaN) = NaN
    func Tan(x float64) float64 {
    	if haveArchTan {
    		return archTan(x)
    	}
    	return tan(x)
    }
    
    func tan(x float64) float64 {
    	const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 08 17:27:54 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  9. src/math/atanh_s390x.s

    DATA ·atanhtabh2075<> + 8(SB)/8, $-.5
    GLOBL ·atanhtabh2075<> + 0(SB), RODATA, $16
    
    // Atanh returns the inverse hyperbolic tangent of the argument.
    //
    // Special cases are:
    //      Atanh(1) = +Inf
    //      Atanh(±0) = ±0
    //      Atanh(-1) = -Inf
    //      Atanh(x) = NaN if x < -1 or x > 1
    //      Atanh(NaN) = NaN
    // The algorithm used is minimax polynomial approximation
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 23 20:52:57 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types/universe.go

    		SimType[et] = et
    	}
    
    	Types[TANY] = newType(TANY) // note: an old placeholder type, NOT the new builtin 'any' alias for interface{}
    	Types[TINTER] = NewInterface(nil)
    	CheckSize(Types[TINTER])
    
    	defBasic := func(kind Kind, pkg *Pkg, name string) *Type {
    		typ := newType(kind)
    		obj := defTypeName(pkg.Lookup(name), typ)
    		typ.obj = obj
    		if kind != TANY {
    			CheckSize(typ)
    		}
    		return typ
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:56:49 UTC 2023
    - 4K bytes
    - Viewed (0)
Back to top