Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 22 for shardKey (0.32 sec)

  1. src/crypto/tls/handshake_client_tls13.go

    			return errors.New("tls: invalid Kyber server key share")
    		}
    		sharedKey = append(sharedKey, kyberShared...)
    	}
    	c.curveID = hs.serverHello.serverShare.group
    
    	earlySecret := hs.earlySecret
    	if !hs.usingPSK {
    		earlySecret = hs.suite.extract(nil, nil)
    	}
    
    	handshakeSecret := hs.suite.extract(sharedKey,
    		hs.suite.deriveSecret(earlySecret, "derived", nil))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  2. src/unique/handle_test.go

    // license that can be found in the LICENSE file.
    
    package unique
    
    import (
    	"fmt"
    	"internal/abi"
    	"reflect"
    	"runtime"
    	"testing"
    )
    
    // Set up special types. Because the internal maps are sharded by type,
    // this will ensure that we're not overlapping with other tests.
    type testString string
    type testIntArray [4]int
    type testEface any
    type testStringArray [3]string
    type testStringStruct struct {
    	a string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:14:07 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. src/crypto/internal/mlkem768/mlkem768.go

    // The shared key must be kept secret.
    func Encapsulate(encapsulationKey []byte) (ciphertext, sharedKey []byte, err error) {
    	// The actual logic is in a separate function to outline this allocation.
    	var cc [CiphertextSize]byte
    	return encapsulate(&cc, encapsulationKey)
    }
    
    func encapsulate(cc *[CiphertextSize]byte, encapsulationKey []byte) (ciphertext, sharedKey []byte, err error) {
    	if len(encapsulationKey) != EncapsulationKeySize {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/internal/passes/extract_outside_compilation.cc

          return mlir::failure();
        shard_output_types.push_back(shard_type);
        full_output_types.push_back(output.getType());
      }
    
      // Convert split sharded inputs to MANUAL sharded inputs.
      // common_split_sharding is the split sharding that is common to all inputs
      // and outputs.
      llvm::SmallVector<Value, 4> manual_inputs;
      manual_inputs.reserve(inputs.size());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 68.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/python/mlir.cc

    #include "tensorflow/core/lib/core/errors.h"
    #include "tensorflow/core/platform/types.h"
    
    namespace tensorflow {
    
    namespace {
    // All the passes we will make available to Python by default.
    // TODO(tf): this should be sharded instead of being monolithic like that.
    static void RegisterPasses() {
      static bool unique_registration = [] {
        mlir::registerAllPasses();
        mlir::registerTensorFlowPasses();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:16:49 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/internal/passes/clustering_passes.td

    }
    
    def TPUShardingIdentificationPass : Pass<"tf-tpu-sharding-identification", "ModuleOp"> {
      let summary = "Identifies and handles inputs/outputs of TPU computation that is "
               "sharded across logical cores.";
      let constructor = "tensorflow::tf2xla::internal::CreateTPUShardingIdentificationPass()";
      let description = [{
        Bubbles up sharding configuration from `cluster_func` regions into
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 02:01:13 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_cluster_formation.cc

      for (mlir::TF::IdentityOp to_erase : erase_list) {
        to_erase->erase();
      }
    
      return result_op;
    }
    
    // Return the cluster's per-replica result type, converting any full-shaped
    // tensor types into sharded-shaped ones if they're partitioned.
    llvm::SmallVector<Type, 8> GetClusterResultTypes(
        mlir::tf_device::ClusterOp cluster,
        const PartitionedClusterOutputMap& partitioned_outputs) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 39.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td

      let hasVerifier = 1;
    }
    
    def TF_TPUPartitionedOutputOp : TF_Op<"TPUPartitionedOutput", [Pure]> {
      let summary = [{
    An op that demultiplexes a tensor to be sharded by XLA to a list of partitioned
      }];
    
      let description = [{
    outputs outside the XLA computation.
      }];
    
      let arguments = (ins
        TF_Tensor:$inputs,
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 04:08:35 UTC 2024
    - 90.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/tpu_rewrite.mlir

        %1 = "tf.I"(%arg0) : (tensor<?xi32>) -> tensor<?xi32>
        func.return %1 : tensor<?xi32>
      }
    }
    
    // -----
    
    // Test `tf_device.cluster_func` on TPU with pre-split replicate sharded
    // input/output using `tf.TPUPartitionedInputV2` and `tf.TPUPartitionedOutputV2`.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 172.9K bytes
    - Viewed (0)
  10. src/cmd/dist/test.go

    	registerStdTestSpecially := map[string]bool{
    		// testdir can run normally as part of "go test std cmd", but because
    		// it's a very large test, we register is specially as several shards to
    		// enable better load balancing on sharded builders. Ideally the build
    		// system would know how to shard any large test package.
    		"cmd/internal/testdir": true,
    	}
    
    	// Fast path to avoid the ~1 second of `go list std cmd` when
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
Back to top