Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 94 for tanh (0.17 sec)

  1. tensorflow/compiler/jit/mark_for_compilation_pass_test.cc

                                   builder.opts().WithName("A"));
        Node* tanh0 = ops::UnaryOp("Tanh", call, builder.opts().WithName("tanh0"));
        Node* tanh1 = ops::UnaryOp("Tanh", tanh0, builder.opts().WithName("tanh1"));
        ops::UnaryOp("Tanh", tanh1, builder.opts().WithName("tanh2"));
        TF_EXPECT_OK(GraphDefBuilderToGraph(builder, graph.get()));
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 10:11:10 UTC 2024
    - 79.6K bytes
    - Viewed (0)
  2. src/math/cmplx/tan.go

    }
    
    // Complex hyperbolic tangent
    //
    // DESCRIPTION:
    //
    // tanh z = (sinh 2x  +  i sin 2y) / (cosh 2x + cos 2y) .
    //
    // ACCURACY:
    //
    //                      Relative error:
    // arithmetic   domain     # trials      peak         rms
    //    IEEE      -10,+10     30000       1.7e-14     2.4e-16
    
    // Tanh returns the hyperbolic tangent of x.
    func Tanh(x complex128) complex128 {
    	switch re, im := real(x), imag(x); {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 01 03:16:37 UTC 2020
    - 8.5K bytes
    - Viewed (0)
  3. src/math/export_s390x_test.go

    var SinNoVec = sin
    var SinhNoVec = sinh
    var TanhNoVec = tanh
    var Log1pNovec = log1p
    var AtanhNovec = atanh
    var AcosNovec = acos
    var AcoshNovec = acosh
    var AsinNovec = asin
    var AsinhNovec = asinh
    var ErfNovec = erf
    var ErfcNovec = erfc
    var AtanNovec = atan
    var Atan2Novec = atan2
    var CbrtNovec = cbrt
    var LogNovec = log
    var TanNovec = tan
    var ExpNovec = exp
    var Expm1Novec = expm1
    var PowNovec = pow
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 08 19:52:30 UTC 2017
    - 732 bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/basic.mlir

      // CHECK-NEXT: [[r2:%.*]] = tfrt_fallback_async.executeop {{.*}} "tf.Tanh"([[r1]]) {T = f32}
      %4 = "tf.Tanh"(%3) {T = f32, _output_shapes = ["tfshape$dim { size: 3 } dim { size: 3 }"], device = "/device:CPU:0"} : (tensor<3x3xf32>) -> tensor<3x3xf32>
      // CHECK-NOT: tf.Identity
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 00:18:59 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. src/math/arith_s390x_test.go

    		if f := TanNovec(vfsinSC[i]); !alike(sinSC[i], f) {
    			t.Errorf("Tan(%g) = %g, want %g", vfsinSC[i], f, sinSC[i])
    		}
    	}
    }
    
    func TestTanhNovec(t *testing.T) {
    	if !HasVX {
    		t.Skipf("no vector support")
    	}
    	for i := 0; i < len(vf); i++ {
    		if f := TanhNoVec(vf[i]); !veryclose(tanh[i], f) {
    			t.Errorf("Tanh(%g) = %g, want %g", vf[i], f, tanh[i])
    		}
    	}
    	for i := 0; i < len(vftanhSC); i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 08 19:52:30 UTC 2017
    - 10.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfr/README.md

      res = tf.raw_ops.Add(x=res, y=bias)
      if act == 'RELU':
        return tf.raw_ops.Relu(features=res)
      elif act == 'RELU6':
        return tf.raw_ops.Relu6(features=res)
      elif act == 'TANH':
        return tf.raw_ops.Tanh(x=res)
      else:
        return res
    
    ```
    
    Besides defining new ops, composition can be specified for an existing op
    for portability. The following code defines the semantics of `AddNOp`:
    
    ```python
    @Composite('AddNOp')
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 29 18:32:13 UTC 2022
    - 6.2K bytes
    - Viewed (0)
  7. tensorflow/cc/gradients/math_grad_test.cc

            break;
          case COSH:
            y = Cosh(scope_, x);
            break;
          case TANH:
            y = Tanh(scope_, x);
            break;
          case ASINH:
            y = Asinh(scope_, x);
            break;
          case ACOSH:
            y = Acosh(scope_, x);
            break;
          case ATANH:
            y = Atanh(scope_, x);
            break;
          case SIGMOID:
            y = Sigmoid(scope_, x);
            break;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 25 18:20:20 UTC 2023
    - 36K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/tests/prepare-quantize-post-training-16bits.mlir

        %9, %9, %9, %9) {
          asymmetric_quantize_inputs = false,
          cell_clip = 1.000000e+01 : f32,
          effective_hidden_scale_intermediate = tensor<0x!quant.calibrated<f32<0.0:1.0>>>,
          fused_activation_function = "TANH",
          input_to_cell_intermediate = tensor<0xf32>,
          input_to_forget_intermediate = tensor<0xf32>,
          input_to_input_intermediate = tensor<0xf32>,
          input_to_output_intermediate = tensor<0xf32>,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  9. src/math/all_test.go

    	for i := 0; i < len(vf); i++ {
    		if f := Tanh(vf[i]); !veryclose(tanh[i], f) {
    			t.Errorf("Tanh(%g) = %g, want %g", vf[i], f, tanh[i])
    		}
    	}
    	for i := 0; i < len(vftanhSC); i++ {
    		if f := Tanh(vftanhSC[i]); !alike(tanhSC[i], f) {
    			t.Errorf("Tanh(%g) = %g, want %g", vftanhSC[i], f, tanhSC[i])
    		}
    	}
    }
    
    func TestTrunc(t *testing.T) {
    	for i := 0; i < len(vf); i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 07 17:39:26 UTC 2023
    - 86.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/lstm.mlir

    "tfl.lstm"(%arg0, %arg1, %arg2, %arg3, %arg4, %arg5, %arg6, %arg7, %arg8, %cst, %cst, %cst, %arg9, %arg10, %arg11, %arg12, %arg13, %arg14, %arg19, %arg20, %arg15, %arg16, %arg17, %arg18) ({}) {cell_clip = 1.000000e+01 : f32, fused_activation_function = "TANH", input_to_input_intermediate = tensor<0x!quant.uniform<i16:f32, 0.0049890000373125076>>, input_to_forget_intermediate = tensor<0x!quant.uniform<i16:f32, 0.0078849997371435165>>, input_to_cell_intermediate = tensor<0x!quant.uniform<i16:f32, 0.0087630003690719604>>,...
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 20.4K bytes
    - Viewed (0)
Back to top