Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for has_func (0.22 sec)

  1. tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.cc

      try_use_original_func_name(node_def.mutable_op());
    
      // Change any function attributes in the attrs.
      for (auto& iter : attrs) {
        auto& attr = iter.second;
        if (attr.has_func()) {
          try_use_original_func_name(attr.mutable_func()->mutable_name());
        } else if (attr.has_list()) {
          for (auto& func_attr : *attr.mutable_list()->mutable_func()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc

      try_use_original_func_name(node_def.mutable_op());
    
      // Change any function attributes in the attrs.
      for (auto& iter : attrs) {
        auto& attr = iter.second;
        if (attr.has_func()) {
          try_use_original_func_name(attr.mutable_func()->mutable_name());
        } else if (attr.has_list()) {
          for (auto& func_attr : *attr.mutable_list()->mutable_func()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 23:04:51 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  3. src/crypto/ed25519/ed25519.go

    	return bytes.Clone(priv[:SeedSize])
    }
    
    // Sign signs the given message with priv. rand is ignored and can be nil.
    //
    // If opts.HashFunc() is [crypto.SHA512], the pre-hashed variant Ed25519ph is used
    // and message is expected to be a SHA-512 hash, otherwise opts.HashFunc() must
    // be [crypto.Hash](0) and the message must not be hashed, as Ed25519 performs two
    // passes over messages to be signed.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  4. src/crypto/tls/auth.go

    		}
    		if err := rsa.VerifyPKCS1v15(pubKey, hashFunc, signed, sig); err != nil {
    			return err
    		}
    	case signatureRSAPSS:
    		pubKey, ok := pubkey.(*rsa.PublicKey)
    		if !ok {
    			return fmt.Errorf("expected an RSA public key, got %T", pubkey)
    		}
    		signOpts := &rsa.PSSOptions{SaltLength: rsa.PSSSaltLengthEqualsHash}
    		if err := rsa.VerifyPSS(pubKey, hashFunc, signed, sig, signOpts); err != nil {
    			return err
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:45:37 UTC 2024
    - 10K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/asmdecl/asmdecl.go

    	retRegs []string
    	// calculated during initialization
    	sizes    types.Sizes
    	intSize  int
    	ptrSize  int
    	maxAlign int
    }
    
    // An asmFunc describes the expected variables for a function on a given architecture.
    type asmFunc struct {
    	arch        *asmArch
    	size        int // size of all arguments
    	vars        map[string]*asmVar
    	varByOffset map[int]*asmVar
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph_test.cc

              %outputs_5, %control_6 = tf_executor.island(%control_4) wraps "tf._XlaHostComputeMlir"() {host_mlir_module = "module {\0A func.func @host_func() -> tensor<1x2xf32> {\0A %0 = \22tf.Const\22() {value = dense<0.1> : tensor<1x2xf32>} : () -> tensor<1x2xf32> \0A return %0 : tensor<1x2xf32>}}", manual_sharding = true, recv_key = "host_compute_channel_1_retvals", send_key = "host_compute_channel_1_args"}...
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 08:08:57 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  7. src/crypto/tls/key_agreement.go

    func hashForServerKeyExchange(sigType uint8, hashFunc crypto.Hash, version uint16, slices ...[]byte) []byte {
    	if sigType == signatureEd25519 {
    		var signed []byte
    		for _, slice := range slices {
    			signed = append(signed, slice...)
    		}
    		return signed
    	}
    	if version >= VersionTLS12 {
    		h := hashFunc.New()
    		for _, slice := range slices {
    			h.Write(slice)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 14:56:25 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  8. src/crypto/rsa/pss.go

    	// zero, it overrides the hash function passed to SignPSS. It's required
    	// when using PrivateKey.Sign.
    	Hash crypto.Hash
    }
    
    // HashFunc returns opts.Hash so that [PSSOptions] implements [crypto.SignerOpts].
    func (opts *PSSOptions) HashFunc() crypto.Hash {
    	return opts.Hash
    }
    
    func (opts *PSSOptions) saltLength() int {
    	if opts == nil {
    		return PSSSaltLengthAuto
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. tensorflow/c/c_api_function.cc

    }
    
    int TF_GraphGetFunctions(TF_Graph* g, TF_Function** funcs, int max_func,
                             TF_Status* status) {
      tensorflow::FunctionDefLibrary lib;
      {
        tensorflow::mutex_lock l(g->mu);
        lib = g->graph.flib_def().ToProto();
      }
      const auto len = std::min(max_func, static_cast<int>(lib.function_size()));
      for (int i = 0; i < len; ++i) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  10. src/internal/concurrent/hashtriemap.go

    // and deletes as well, especially if the map is larger. It's primary use-case is
    // the unique package, but can be used elsewhere as well.
    type HashTrieMap[K, V comparable] struct {
    	root     *indirect[K, V]
    	keyHash  hashFunc
    	keyEqual equalFunc
    	valEqual equalFunc
    	seed     uintptr
    }
    
    // NewHashTrieMap creates a new HashTrieMap for the provided key and value.
    func NewHashTrieMap[K, V comparable]() *HashTrieMap[K, V] {
    	var m map[K]V
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 16:01:55 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top