Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 440 for Scalar (0.5 sec)

  1. 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)
  2. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ScalarTypesInManagedModelIntegrationTest.groovy

                        }
                    }
                }
    
                apply type: RulePlugin
            '''
    
            then:
            succeeds "check"
    
        }
    
        def "can view property with scalar type as ModelElement"() {
            given:
            buildScript '''
                @Managed
                interface PrimitiveTypes {
                    int getIntProp()
                    void setIntProp(int value)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 27.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/transforms/unfold_splat_constant_pass.cc

        if (mlir::isa<ComplexType>(element_type) ||
            mlir::isa<quant::QuantizedType>(element_type)) {
          return;
        }
        op_builder->setInsertionPoint(const_op);
        Value scalar = op_builder->create<mhlo::ConstantOp>(
            const_op->getLoc(),
            DenseElementsAttr::get(
                RankedTensorType::get(/*shape=*/{}, element_type),
                splat_elements_attr.getSplatValue<Attribute>()));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. src/crypto/internal/nistec/p256_ordinv.go

    //
    //go:noescape
    func p256OrdSqr(res, in *p256OrdElement, n int)
    
    func P256OrdInverse(k []byte) ([]byte, error) {
    	if len(k) != 32 {
    		return nil, errors.New("invalid scalar length")
    	}
    
    	x := new(p256OrdElement)
    	p256OrdBigToLittle(x, (*[32]byte)(k))
    	p256OrdReduce(x)
    
    	// Inversion is implemented as exponentiation by n - 2, per Fermat's little theorem.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. src/crypto/ecdh/x25519.go

    	if isZero(out) {
    		return nil, errors.New("crypto/ecdh: bad X25519 remote ECDH input: low order point")
    	}
    	return out, nil
    }
    
    func x25519ScalarMult(dst, scalar, point []byte) {
    	var e [32]byte
    
    	copy(e[:], scalar[:])
    	e[0] &= 248
    	e[31] &= 127
    	e[31] |= 64
    
    	var x1, x2, z2, x3, z3, tmp0, tmp1 field.Element
    	x1.SetBytes(point[:])
    	x2.One()
    	x3.Set(&x1)
    	z3.One()
    
    	swap := 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td

    cond: A Tensor. If the tensor is a scalar of non-boolean type, the
        scalar is converted to a boolean according to the
        following rule: if the scalar is a numerical value, non-zero means
        True and zero means False; if the scalar is a string, non-empty
        means True and empty means False. If the tensor is not a scalar,
        being empty means False and being non-empty means True.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 04:08:35 UTC 2024
    - 90.5K bytes
    - Viewed (0)
  7. docs/en/data/sponsors_badge.yml

      - nihpo
      - armand-sauzay
      - databento-bot
      - databento
      - nanram22
      - Flint-company
      - porter-dev
      - fern-api
      - ndimares
      - svixhq
      - Alek99
      - codacy
      - zanfaruqui
      - scalar
      - bump-sh
      - andrew-propelauth
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Jan 31 22:13:52 UTC 2024
    - 415 bytes
    - Viewed (0)
  8. tensorflow/cc/experimental/libtf/tests/function_test.cc

      TF_DeleteTensor(result_t);
    }
    
    // TODO(srbs): Add tests for captures.
    // TODO(srbs): Add tests for polymorphism (different shapes and dtypes).
    TEST_P(FunctionTest, Square) {
      // Construct a scalar.
      impl::TaggedValueTensor x = CreateScalarTensor<float, TF_FLOAT>(2.0f);
      FunctionDef fdef = SquareFunc();
      AbstractFunctionPtr trace(new GraphFunction(fdef), /*add_ref=*/false);
      Function tf_function;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 19 21:44:52 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  9. src/crypto/internal/nistec/generate.go

    	})
    	return {{.p}}GeneratorTable
    }
    
    // ScalarBaseMult sets p = scalar * B, where B is the canonical generator, and
    // returns p.
    func (p *{{.P}}Point) ScalarBaseMult(scalar []byte) (*{{.P}}Point, error) {
    	if len(scalar) != {{.p}}ElementLength {
    		return nil, errors.New("invalid scalar length")
    	}
    	tables := p.generatorTable()
    
    	// This is also a scalar multiplication with a four-bit window like in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  10. 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)
Back to top