Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 2,088 for expectGet (0.27 sec)

  1. tensorflow/compiler/mlir/lite/utils/lstm_utils_test.cc

      // verify transpose
      EXPECT_EQ(
          fused_lstm_func_->getAttrOfType<StringAttr>(kTFImplements).getValue(),
          convert.GetCompositeOpName());
      EXPECT_EQ(fused_lstm_func_.getNumArguments(), 5);
      EXPECT_EQ(fused_lstm_func_.getFunctionType().getNumResults(), 1);
    
      auto transpose_op = fused_lstm_func_.getBody().front().begin();
      transpose_op++;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/saved_model/internal/saved_model_api_test.cc

      EXPECT_EQ(0, TF_ShapeDims(shape_a));
    
      const TF_SignatureDefParam* param_b = TF_SignatureDefParamListGet(args, 1);
      const TF_TensorSpec* tensor_spec_b = TF_SignatureDefParamTensorSpec(param_b);
      const TF_Shape* shape_b = TF_TensorSpecShape(tensor_spec_b);
    
      // Input "b" is a scalar, float32 tensor
      EXPECT_EQ("b", std::string(TF_SignatureDefParamName(param_b)));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 08:08:45 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

          for (RoundingMode mode : ALL_SAFE_ROUNDING_MODES) {
            BigDecimal expected = new BigDecimal(d).setScale(0, mode);
            boolean isInBounds =
                expected.compareTo(MAX_INT_AS_BIG_DECIMAL) <= 0
                    & expected.compareTo(MIN_INT_AS_BIG_DECIMAL) >= 0;
    
            try {
              assertEquals(expected.intValue(), DoubleMath.roundToInt(d, mode));
              assertTrue(isInBounds);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 28.1K 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. maven-di/src/test/java/org/apache/maven/di/impl/TypeUtilsTest.java

                Type expected = new Key<Set<Integer>>() {}.getType();
                assertEquals(expected, simplifyType(type));
            }
    
            {
                Type type = new Key<Set<? extends Set<? extends Set<? extends Integer>>>>() {}.getType();
                Type expected = new Key<Set<Set<Set<Integer>>>>() {}.getType();
                assertEquals(expected, simplifyType(type));
            }
    
            {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Feb 09 17:13:31 UTC 2024
    - 7K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/constants/constants_test.go

    			manifestsDir:  "/etc/bar/",
    			expected:      "/etc/bar/foo.yaml",
    		},
    	}
    	for _, rt := range tests {
    		t.Run(rt.componentName, func(t *testing.T) {
    			actual := GetStaticPodFilepath(rt.componentName, rt.manifestsDir)
    			expected := filepath.FromSlash(rt.expected)
    			if actual != expected {
    				t.Errorf(
    					"failed GetStaticPodFilepath:\n\texpected: %s\n\t  actual: %s",
    					rt.expected,
    					actual,
    				)
    			}
    		})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 03:26:36 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/util/marshal_test.go

    	if pod2.Name != pod.Name {
    		t.Errorf("expected %q, got %q", pod.Name, pod2.Name)
    	}
    
    	if pod2.Namespace != pod.Namespace {
    		t.Errorf("expected %q, got %q", pod.Namespace, pod2.Namespace)
    	}
    
    	if !reflect.DeepEqual(pod2.Labels, pod.Labels) {
    		t.Errorf("expected %v, got %v", pod.Labels, pod2.Labels)
    	}
    
    	if pod2.Spec.RestartPolicy != pod.Spec.RestartPolicy {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 11.6K bytes
    - Viewed (0)
Back to top