Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testExpr (0.09 sec)

  1. src/crypto/internal/bigmod/nat_test.go

    	if x.Equal(expected) != 1 {
    		t.Errorf("%+v != %+v", x, expected)
    	}
    	x.Add(y, m)
    	expected = &Nat{[]uint{7}}
    	if x.Equal(expected) != 1 {
    		t.Errorf("%+v != %+v", x, expected)
    	}
    }
    
    func TestExp(t *testing.T) {
    	m := modulusFromBytes([]byte{13})
    	x := &Nat{[]uint{3}}
    	out := &Nat{[]uint{0}}
    	out.Exp(x, []byte{12}, m)
    	expected := &Nat{[]uint{1}}
    	if out.Equal(expected) != 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 12 00:56:20 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  2. src/math/big/int_test.go

    	},
    }
    
    func TestExp(t *testing.T) {
    	for i, test := range expTests {
    		x, ok1 := new(Int).SetString(test.x, 0)
    		y, ok2 := new(Int).SetString(test.y, 0)
    
    		var ok3, ok4 bool
    		var out, m *Int
    
    		if len(test.out) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 58.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/ops.mlir

      %0 = "tfl.cos"(%arg0): (tensor<?xi32>) -> tensor<?xi32>
      func.return %0#0 : tensor<?xi32>
    }
    
    // -----
    
    // CHECK-LABEL: testExp
    func.func @testExp(tensor<? x f32>) -> tensor<? x f32> {
    ^bb0(%arg0: tensor<? x f32>):
      // CHECK: "tfl.exp"(%arg0)
      %0 = "tfl.exp"(%arg0): (tensor<? x f32>) -> tensor<? x f32>
      func.return %0 : tensor<? x f32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 189.2K bytes
    - Viewed (0)
Back to top