Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 45 for coshe1 (0.15 sec)

  1. tensorflow/cc/training/queue_runner_test.cc

    using ops::Variable;
    
    constexpr char kAssignOpName[] = "assign";
    constexpr char kCancelOp0[] = "cancel0";
    constexpr char kCancelOp1[] = "cancel1";
    constexpr char kCloseOp0[] = "close0";
    constexpr char kCloseOp1[] = "close1";
    constexpr char kCountUpToOpName[] = "count";
    constexpr char kDequeueOp0[] = "dequeue0";
    constexpr char kDequeueOp1[] = "dequeue1";
    constexpr char kEnqueueOp0[] = "enqueue0";
    constexpr char kEnqueueOp1[] = "enqueue1";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Sep 21 06:27:51 UTC 2019
    - 14.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/fuse_test.go

    			Goto("z1")),
    		Bloc("exit",
    			Exit("mem"),
    		))
    
    	CheckFunc(fun.f)
    	fuseLate(fun.f)
    
    	for k, b := range fun.blocks {
    		if k[:1] == "z" && b.Kind != BlockInvalid {
    			t.Errorf("case1 %s was not eliminated, but should have", k)
    		}
    	}
    
    	// Case 2, empty blocks with If branch, z0 and z1 will be eliminated.
    	//     entry
    	//     /  \
    	//    z0  z1
    	//     \  /
    	//     exit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:45:54 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  3. src/math/export_s390x_test.go

    // license that can be found in the LICENSE file.
    
    package math
    
    // Export internal functions and variable for testing.
    var Log10NoVec = log10
    var CosNoVec = cos
    var CoshNoVec = cosh
    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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 08 19:52:30 UTC 2017
    - 732 bytes
    - Viewed (0)
  4. src/math/arith_s390x_test.go

    		t.Skipf("no vector support")
    	}
    	for i := 0; i < len(vf); i++ {
    		if f := CoshNoVec(vf[i]); !close(cosh[i], f) {
    			t.Errorf("Cosh(%g) = %g, want %g", vf[i], f, cosh[i])
    		}
    	}
    	for i := 0; i < len(vfcoshSC); i++ {
    		if f := CoshNoVec(vfcoshSC[i]); !alike(coshSC[i], f) {
    			t.Errorf("Cosh(%g) = %g, want %g", vfcoshSC[i], f, coshSC[i])
    		}
    	}
    }
    func TestSinNovec(t *testing.T) {
    	if !HasVX {
    		t.Skipf("no vector support")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 08 19:52:30 UTC 2017
    - 10.8K bytes
    - Viewed (0)
  5. src/math/tanh.go

    //      MINLOG = -8.872283911167299960540e+01 = log(2**-128)
    //
    // A rational function is used for |x| < 0.625.  The form
    // x + x**3 P(x)/Q(x) of Cody & Waite is employed.
    // Otherwise,
    //      tanh(x) = sinh(x)/cosh(x) = 1  -  2/(exp(2x) + 1).
    //
    // ACCURACY:
    //
    //                      Relative error:
    // arithmetic   domain     # trials      peak         rms
    //    IEEE      -2,2        30000       2.5e-16     5.8e-17
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  6. tensorflow/cc/gradients/math_grad_test.cc

    }
    
    TEST_F(CWiseUnaryGradTest, Cosh) {
      auto x_fn = [this](const int i) { return RV({0, -1, 1, -2, 2, -3, 3}); };
      TestCWiseGrad<float, float>(COSH, x_fn);
    }
    
    TEST_F(CWiseUnaryGradTest, Cosh_Complex) {
      auto x_fn = [this](const int i) {
        return CRV({{0.5, 0.25}, {0.25, 0.5}, {1.5, -1}, {1, 1.5}});
      };
      TestCWiseGrad<complex64, complex64>(COSH, x_fn);
    }
    
    TEST_F(CWiseUnaryGradTest, Tanh) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 25 18:20:20 UTC 2023
    - 36K bytes
    - Viewed (0)
  7. src/math/example_test.go

    	fmt.Printf("%.2f", math.Copysign(3.2, -1))
    	// Output: -3.20
    }
    
    func ExampleCos() {
    	fmt.Printf("%.2f", math.Cos(math.Pi/2))
    	// Output: 0.00
    }
    
    func ExampleCosh() {
    	fmt.Printf("%.2f", math.Cosh(0))
    	// Output: 1.00
    }
    
    func ExampleSin() {
    	fmt.Printf("%.2f", math.Sin(math.Pi))
    	// Output: 0.00
    }
    
    func ExampleSincos() {
    	sin, cos := math.Sincos(0)
    	fmt.Printf("%.2f, %.2f", sin, cos)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 07 18:09:53 UTC 2021
    - 3.7K bytes
    - Viewed (0)
  8. src/math/stubs_s390x.s

    TEXT ·coshTrampolineSetup(SB), NOSPLIT, $0
    	MOVB   ·hasVX(SB), R1
    	CMPBEQ R1, $1, vectorimpl                // vectorfacility = 1, vector supported
    	MOVD   $·coshvectorfacility+0x00(SB), R1
    	MOVD   $·cosh(SB), R2
    	MOVD   R2, 0(R1)
    	BR     ·cosh(SB)
    
    vectorimpl:
    	MOVD $·coshvectorfacility+0x00(SB), R1
    	MOVD $·coshAsm(SB), R2
    	MOVD R2, 0(R1)
    	BR   ·coshAsm(SB)
    
    GLOBL ·coshvectorfacility+0x00(SB), NOPTR, $8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 15 15:48:19 UTC 2021
    - 12.4K bytes
    - Viewed (0)
  9. test/escape_reflect.go

    func send2(ch chan string, x string) bool { // ERROR "ch does not escape" "leaking param: x$"
    	vc := reflect.ValueOf(ch)
    	vx := reflect.ValueOf(x) // ERROR "x escapes to heap"
    	return vc.TrySend(vx)
    }
    
    func close1(ch chan string) { // ERROR "ch does not escape"
    	v := reflect.ValueOf(ch)
    	v.Close()
    }
    
    func select1(ch chan string) string { // ERROR "leaking param: ch$"
    	v := reflect.ValueOf(ch)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:50:24 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/transforms/legalization_op_config.cc

            TypeID::get<TF::ComplexAbsOp>(),
            TypeID::get<TF::ConjugateTransposeOp>(),
            TypeID::get<TF::ConcatV2Op>(),
            TypeID::get<TF::ConvOp>(),
            TypeID::get<TF::CoshOp>(),
            TypeID::get<TF::CrossOp>(),
            TypeID::get<TF::CumulativeLogsumexpOp>(),
            TypeID::get<TF::DataFormatDimMapOp>(),
            TypeID::get<TF::DataFormatVecPermuteOp>(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 04:08:35 UTC 2024
    - 21.7K bytes
    - Viewed (0)
Back to top