Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 2,531 for expectGet (0.16 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/utils/bfloat16_type_test.cc

      auto context = CreateContext();
    
      EXPECT_EQ(ToBfloat16Type(Float8E4M3FNType::get(context.get())),
                Float8E4M3FNType::get(context.get()));
      EXPECT_EQ(ToBfloat16Type(Float16Type::get(context.get())),
                Float16Type::get(context.get()));
      EXPECT_EQ(ToBfloat16Type(BFloat16Type::get(context.get())),
                BFloat16Type::get(context.get()));
      EXPECT_EQ(ToBfloat16Type(Float32Type::get(context.get())),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 19 23:51:52 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/utils/tf_type_utils_test.cc

      ASSERT_TRUE(succeeded(dense_attr));
      EXPECT_THAT(dense_attr->getValues<int8_t>(), testing::SizeIs(4));
      EXPECT_EQ(dense_attr->getValues<int8_t>()[0], 1);
      EXPECT_EQ(dense_attr->getValues<int8_t>()[1], 2);
      EXPECT_EQ(dense_attr->getValues<int8_t>()[2], 3);
      EXPECT_EQ(dense_attr->getValues<int8_t>()[3], 4);
    }
    
    TEST(GetDenseAttrFromTensorProtoAttrTest, Qint8ToInt8Succeeds) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/func-attr-invalid.mlir

    // RUN: tf-opt %s -split-input-file -verify-diagnostics
    
    // Tests invalid #tf_type.func attributes.
    
    // expected-error@+1 {{expected '<'}}
    func.func @main() attributes {tf._implements = #tf_type.func} {
      func.return
    }
    
    // -----
    
    // expected-error@+2 {{expected attribute value}}
    // expected-error@+1 {{expected symbol while parsing tf.func attribute}}
    func.func @main() attributes {tf._implements = #tf_type.func<>} {
      func.return
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 06 09:05:45 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  4. pilot/pkg/util/network/ip_test.go

    			if tc.errStr != "" {
    				t.Errorf("[%s] no error seen, but expected failure: %s", tc.name, tc.errStr)
    			} else if actual != tc.expected {
    				t.Errorf("[%s] expected address %q, got %q", tc.name, tc.expected, actual)
    			}
    		}
    	}
    }
    
    func TestAllIPv6(t *testing.T) {
    	tests := []struct {
    		name     string
    		addrs    []string
    		expected bool
    	}{
    		{
    			name:     "ipv4 only",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Dec 08 16:24:15 UTC 2022
    - 6.7K bytes
    - Viewed (0)
  5. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishHttpsIntegTest.groovy

            module.jar.expectPut()
            module.jar.sha1.expectPut()
            module.jar.sha256.expectPut()
            module.jar.sha512.expectPut()
            module.ivy.expectPut()
            module.ivy.sha1.expectPut()
            module.ivy.sha256.expectPut()
            module.ivy.sha512.expectPut()
            module.moduleMetadata.expectPut()
            module.moduleMetadata.sha1.expectPut()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/utils/cluster_util_test.cc

      constexpr StringRef kTarget0 = "tpu0";
      EXPECT_EQ(clusters.count(kTarget0), 1);
      EXPECT_EQ(clusters[kTarget0].size(), 1);
      EXPECT_EQ(clusters[kTarget0][0].ops.size(), 2);
    
      constexpr StringRef kTarget1 = "tpu1";
      EXPECT_EQ(clusters.count(kTarget1), 1);
      EXPECT_EQ(clusters[kTarget1].size(), 1);
      EXPECT_EQ(clusters[kTarget1][0].ops.size(), 2);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  7. pkg/util/filesystem/util_test.go

    	type Case struct {
    		path     string
    		expected bool
    	}
    
    	// Credits https://github.com/kubernetes/kubernetes/pull/124084/files#r1557566941
    	cases := []Case{
    		{path: "/logs", expected: true},
    		{path: "/var/lib/something", expected: true},
    		{path: "var/lib/something", expected: true},
    		{path: "var\\lib\\something", expected: true},
    		{path: "/", expected: true},
    		{path: ".", expected: true},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 10 17:13:59 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. test/fixedbugs/issue31060.go

    	c = 1.0i
    
    	_ = ^f // ERROR "invalid operation|expected integer"
    	_ = ^c // ERROR "invalid operation|expected integer"
    
    	_ = f % f // ERROR "invalid operation|expected integer"
    	_ = c % c // ERROR "invalid operation|expected integer"
    
    	_ = f & f // ERROR "invalid operation|expected integer"
    	_ = c & c // ERROR "invalid operation|expected integer"
    
    	_ = f | f // ERROR "invalid operation|expected integer"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 17:46:55 UTC 2019
    - 901 bytes
    - Viewed (0)
  9. pkg/proxy/ipvs/testing/fake_test.go

    	fake.SetLocalAddresses("eth0", "1.2.3.4")
    	var expected, addr sets.Set[string]
    	expected = sets.New("1.2.3.4")
    	addr, _ = fake.GetLocalAddresses("eth0")
    	if !addr.Equal(expected) {
    		t.Errorf("Unexpected mismatch, expected: %v, got: %v", expected, addr)
    	}
    	addr, _ = fake.GetAllLocalAddresses()
    	if !addr.Equal(expected) {
    		t.Errorf("Unexpected mismatch, expected: %v, got: %v", expected, addr)
    	}
    	fake.SetLocalAddresses("lo", "127.0.0.1")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 2K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/cgroup_manager_linux_test.go

    			t.Errorf("Unexpected result, input: %v, expected: %v, actual: %v", testCase.input, testCase.expected, actual)
    		}
    	}
    }
    
    func TestParseSystemdToCgroupName(t *testing.T) {
    	testCases := []struct {
    		input    string
    		expected CgroupName
    	}{
    		{
    			input:    "/test",
    			expected: []string{"test"},
    		},
    		{
    			input:    "/test.slice",
    			expected: []string{"test"},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 24 18:21:21 UTC 2023
    - 6.1K bytes
    - Viewed (0)
Back to top