Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 69 for testAll (0.57 sec)

  1. tensorflow/compiler/mlir/lite/tests/get-arithmetic-count.mlir

      %0 = "tfl.sub"(%arg0, %arg1) {fused_activation_function = "NONE"} : (tensor<10x10x10xf32>, tensor<10xf32>) -> tensor<10x10x10xf32>
      func.return %0 : tensor<10x10x10xf32>
    }
    
    func.func @testMul(%arg0: tensor<10x10x10xf32>, %arg1: tensor<10x10x10xf32>) -> tensor<10x10x10xf32> {
      // CHECK: _arithmetic_count = 1000 : i64
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 14 04:58:17 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  2. tensorflow/c/eager/gradient_checker_test.cc

      ASSERT_NO_FATAL_FAILURE(CompareNumericalAndManualGradients(
          MatMulModel, ctx_.get(), {A.get(), B.get()}, 0, expected_dA, 4,
          UseFunction()));
    }
    
    TEST_P(GradientCheckerTest, TestMul) {
      AbstractTensorHandlePtr x;
      {
        AbstractTensorHandle* x_raw = nullptr;
        Status s =
            TestScalarTensorHandle<float, TF_FLOAT>(ctx_.get(), 2.0f, &x_raw);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 14 10:03:59 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  3. tensorflow/cc/experimental/libtf/tests/object_test.cc

      return TaggedValue(args[0].i64() + args[1].i64());
    }
    
    TEST(ObjectTest, TestCast) {
      Integer i(3);
      auto result = Cast<String>(i);
      ASSERT_TRUE(!result.ok());
    }
    
    TEST(ObjectTest, TestCall) {
      TaggedValue add_func(AddIntegers);
      Callable add(add_func);
      TF_ASSERT_OK_AND_ASSIGN(Integer i,
                              add.Call<Integer>(Integer(1), Integer(10)));
      EXPECT_EQ(i.get(), 11);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jul 28 21:37:07 UTC 2021
    - 5.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java

            .build();
      }
    
      private static Iterable<Striped<?>> allImplementations() {
        return concat(strongImplementations(), weakImplementations());
      }
    
      public void testNull() throws Exception {
        for (Striped<?> striped : allImplementations()) {
          new NullPointerTester().testAllPublicInstanceMethods(striped);
        }
      }
    
      public void testSizes() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 09 22:57:07 UTC 2022
    - 8.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/StripedTest.java

            .build();
      }
    
      private static Iterable<Striped<?>> allImplementations() {
        return concat(strongImplementations(), weakImplementations());
      }
    
      public void testNull() throws Exception {
        for (Striped<?> striped : allImplementations()) {
          new NullPointerTester().testAllPublicInstanceMethods(striped);
        }
      }
    
      public void testSizes() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 09 22:57:07 UTC 2022
    - 8.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

        assertCrc(0x8a9136aa, zeros);
      }
    
      public void testZeros100() {
        // Test 100 byte array of 0x00.
        byte[] zeros = new byte[100];
        assertCrc(0x07cb9ff6, zeros);
      }
    
      public void testFull() {
        // Test 32 byte array of 0xFF.
        byte[] fulls = new byte[32];
        Arrays.fill(fulls, (byte) 0xFF);
        assertCrc(0x62a8ab43, fulls);
      }
    
      public void testFull100() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Dec 23 18:30:33 UTC 2020
    - 6.5K bytes
    - Viewed (0)
  7. src/reflect/all_test.go

    func TestMapSetNil(t *testing.T) {
    	m := make(map[string]int)
    	vm := ValueOf(&m)
    	vm.Elem().Set(Zero(vm.Elem().Type()))
    	if m != nil {
    		t.Errorf("got non-nil (%p), want nil", m)
    	}
    }
    
    func TestAll(t *testing.T) {
    	testType(t, 1, TypeOf((int8)(0)), "int8")
    	testType(t, 2, TypeOf((*int8)(nil)).Elem(), "int8")
    
    	typ := TypeOf((*struct {
    		c chan *int32
    		d float32
    	})(nil))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  8. src/iter/pull_test.go

    			}
    		}
    	}
    }
    
    func squares(n int) Seq2[int, int64] {
    	return func(yield func(int, int64) bool) {
    		for i := range n {
    			if !yield(i, int64(i)*int64(i)) {
    				break
    			}
    		}
    	}
    }
    
    func TestPull(t *testing.T) {
    	for end := 0; end <= 3; end++ {
    		t.Run(fmt.Sprint(end), func(t *testing.T) {
    			ng := stableNumGoroutine()
    			wantNG := func(want int) {
    				if xg := runtime.NumGoroutine() - ng; xg != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:09:28 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. pkg/controller/volume/persistentvolume/delete_test.go

    }
    
    // Test multiple calls to syncClaim/syncVolume and periodic sync of all
    // volume/claims. The test follows this pattern:
    //  0. Load the controller with initial data.
    //  1. Call controllerTest.testCall() once as in TestSync()
    //  2. For all volumes/claims changed by previous syncVolume/syncClaim calls,
    //     call appropriate syncVolume/syncClaim (simulating "volume/claim changed"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  10. pkg/controller/volume/persistentvolume/recycle_test.go

    }
    
    // Test multiple calls to syncClaim/syncVolume and periodic sync of all
    // volume/claims. The test follows this pattern:
    //  0. Load the controller with initial data.
    //  1. Call controllerTest.testCall() once as in TestSync()
    //  2. For all volumes/claims changed by previous syncVolume/syncClaim calls,
    //     call appropriate syncVolume/syncClaim (simulating "volume/claim changed"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:37:30 UTC 2023
    - 14.2K bytes
    - Viewed (0)
Back to top