Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 110 for scalar2 (0.32 sec)

  1. pkg/scheduler/framework/types_test.go

    				AllowedPodNumber: 80,
    				ScalarResources:  map[v1.ResourceName]int64{"scalar.test/scalar1": 1, "hugepages-test": 2},
    			},
    			expected: &Resource{
    				MilliCPU:         4,
    				Memory:           2000,
    				EphemeralStorage: 5000,
    				AllowedPodNumber: 80,
    				ScalarResources:  map[v1.ResourceName]int64{"scalar.test/scalar1": 1, "hugepages-test": 2},
    			},
    		},
    	}
    
    	for i, test := range tests {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 45.9K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_test.cc

      TF_Operation* scalar3 = TF_GraphOperationByName(graph, "imported3/scalar");
      TF_Operation* feed3 = TF_GraphOperationByName(graph, "imported3/feed");
      TF_Operation* neg3 = TF_GraphOperationByName(graph, "imported3/neg");
      ASSERT_TRUE(scalar3 != nullptr);
      ASSERT_TRUE(feed3 != nullptr);
      ASSERT_TRUE(neg3 != nullptr);
    
      // Check that newly-imported scalar and feed have control deps (neg3 will
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 96.9K bytes
    - Viewed (0)
  3. src/crypto/internal/edwards25519/scalar.go

    func (s *Scalar) Add(x, y *Scalar) *Scalar {
    	// s = 1 * x + y mod l
    	fiatScalarAdd(&s.s, &x.s, &y.s)
    	return s
    }
    
    // Subtract sets s = x - y mod l, and returns s.
    func (s *Scalar) Subtract(x, y *Scalar) *Scalar {
    	// s = -1 * y + x mod l
    	fiatScalarSub(&s.s, &x.s, &y.s)
    	return s
    }
    
    // Negate sets s = -x mod l, and returns s.
    func (s *Scalar) Negate(x *Scalar) *Scalar {
    	// s = -1 * x + 0 mod l
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. pkg/scheduler/apis/config/v1/defaults_test.go

    					{Name: string(v1.ResourceCPU)},
    					{Name: "scalar.io/scalar0"},
    					{Name: "scalar.io/scalar1", Weight: 1},
    				},
    			},
    			want: &configv1.NodeResourcesBalancedAllocationArgs{
    				Resources: []configv1.ResourceSpec{
    					{Name: string(v1.ResourceCPU), Weight: 1},
    					{Name: "scalar.io/scalar0", Weight: 1},
    					{Name: "scalar.io/scalar1", Weight: 1},
    				},
    			},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 06 15:03:04 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  5. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/compile/UpToDateScalaCompileIntegrationTest.groovy

            buildScript """
                apply plugin: 'scala'
    
                ${mavenCentralRepository()}
    
                dependencies {
                    implementation "org.scala-lang:scala-library:${ScalaCoverage.SCALA_2.last()}"
                }
    
                scala {
                    zincVersion = "1.7.1"
                }
    
                java {
                    toolchain {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/ScalaConcurrencyIntegrationTest.groovy

                    plugins {
                        id 'scala'
                    }
                """
                file("${project}/src/main/scala/${project}/${project.toUpperCase()}.scala") << """
                    package ${project}
                    trait ${project.toUpperCase()}
                """
                file("${project}/src/test/scala/${project}/${project.toUpperCase()}Test.scala") << """
                    package ${project}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 16:10:12 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/util/jsonmergepatch/patch_test.go

            - 2
            - 3
      - description: patch with different scalar type
        original:
          foo: 1
        modified:
          foo: true
        current:
          foo: 1
          bar: 2
        threeWay:
          foo: true
        result:
          foo: true
          bar: 2
      - description: patch from scalar to list
        original:
          foo: 0
        modified:
          foo:
          - 1
          - 2
        current:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  8. src/crypto/ecdh/nist.go

    	// invalid points and the point at infinity, and NewPrivateKey rejects
    	// invalid scalars and the zero value. BytesX returns an error for the point
    	// at infinity, but in a prime order group such as the NIST curves that can
    	// only be the result of a scalar multiplication if one of the inputs is the
    	// zero scalar or the point at infinity.
    
    	if boring.Enabled {
    		return boring.ECDH(local.boring, remote.boring)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  9. tensorflow/cc/experimental/libtf/impl/BUILD

        deps = [
            ":iostream",
            ":none",
            ":scalars",
            ":string",
            ":tensor_spec",
            "//tensorflow/core:framework",
            "//tensorflow/core:protos_all_cc",
            "//tensorflow/core:test",
            "//tensorflow/core:test_main",
        ],
    )
    
    cc_library(
        name = "scalars",
        hdrs = [
            "scalars.h",
        ],
    )
    
    tf_cc_test(
        name = "scalars_test",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 09:47:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.cc

        ConvertToTensorShapeProto(tensor_type.getShape(), &tensor_shape_proto);
        return PartialTensorShape(tensor_shape_proto);
      }
    
      // If type is not a RankedTensor or UnrankedTensor, it must be a scalar.
      // Empty TensorShape indicates a scalar.
      return TensorShape();
    }
    
    mlir::TF::ShapeAttr ConvertTypeToTensorShapeAttr(const mlir::Type& type) {
      if (mlir::isa<mlir::UnrankedTensorType>(type)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 20.5K bytes
    - Viewed (0)
Back to top