Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 190 for Scalar (0.11 sec)

  1. 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)
  2. 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)
  3. 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)
  4. tensorflow/c/kernels_experimental.cc

      }
    
      auto* ctx = reinterpret_cast<TF_OpKernelContext*>(cc_ctx);
      if (cc_a.dtype() == ::tensorflow::DT_VARIANT) {
        return VariantBinaryAddFunc(
            cc_ctx, cc_a.scalar<Variant>()(), cc_b.scalar<Variant>()(),
            cc_out->scalar<Variant>().data(), binary_add_func);
      } else {
        binary_add_func(ctx, a, b, out);
        return cc_ctx->status();
      }
    }
    
    static Status VariantBinaryAddFunc(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 06:12:29 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/lift_tflite_flex_ops.cc

          }
        }
    
        // Special type fixes for scalar tensor types.
        // TFLite flatbuffer schema doesn't distinguish scalar tensor shapes
        // and unranked tensor shapes (i.e. they are both represented as an empty
        // INT32 list), see b/138865275. MLIR importer conservatively treats them as
        // unranked tensor types. Here we set them to scalar tensor types when it is
        // safe.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  6. src/crypto/ed25519/ed25519.go

    		panic("ed25519: bad seed length: " + strconv.Itoa(l))
    	}
    
    	h := sha512.Sum512(seed)
    	s, err := edwards25519.NewScalar().SetBytesWithClamping(h[:32])
    	if err != nil {
    		panic("ed25519: internal error: setting scalar failed")
    	}
    	A := (&edwards25519.Point{}).ScalarBaseMult(s)
    
    	publicKey := A.Bytes()
    
    	copy(privateKey, seed)
    	copy(privateKey[32:], publicKey)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/ir/tf_arith_ops_folder.h

                                      ShapedType result_ty) -> bool {
        // Scalar identity is broadcastable to any operand shape, we only need to
        // check that operand has the same shape as a result.
        bool scalar_identity = identity_ty.hasRank() && identity_ty.getRank() == 0;
        if (scalar_identity) return operand_ty == result_ty;
    
        // If identity is not a scalar, we must verify that identity shape is
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. tensorflow/cc/framework/ops.h

      /// construct an Initializer. Initializer stores the value it got constructed
      /// with in a Tensor object.
      struct Initializer {
        /// Construct from a scalar value of an arithmetic type or a type that can
        /// be converted to a string (eg. a string literal).
        template <typename T, typename = typename std::enable_if<
                                  std::is_arithmetic<T>::value ||
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/AbstractIsolatableScalarValue.java

    package org.gradle.internal.snapshot.impl;
    
    import org.gradle.internal.isolation.Isolatable;
    import org.gradle.internal.snapshot.ValueSnapshot;
    
    import javax.annotation.Nullable;
    
    /**
     * An isolated immutable scalar value. Should only be used for immutable JVM provided or core Gradle types.
     *
     * @param <T> the type of the value
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:36 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. tensorflow/c/eager/unified_api_test.cc

      }
    
     public:
      bool UseMlir() const { return strcmp(std::get<0>(GetParam()), "mlir") == 0; }
      bool UseFunction() const { return std::get<2>(GetParam()); }
    };
    
    // Checks that inputs[0] is a scalar.
    Status TestScalarShape(AbstractContext* ctx,
                           absl::Span<AbstractTensorHandle* const> inputs,
                           absl::Span<AbstractTensorHandle*> outputs) {
      PartialTensorShape shape;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 13:57:45 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top