Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 79 for computations (0.33 sec)

  1. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.h

    // use_tuple_args: when this is true, always create a tuple argument for the
    //   entry computation.
    // enable_op_fallback: when this is true, prefer tf2xla fallback kernels over
    // MLIR
    //   native kernels for legalization to HLO.
    // return_tuple: when this is true, always create a tuple result for the
    //   entry computation.
    // shape_determination_fns: Contains layout preference fn and shape
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 17:24:39 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.cc

        // TODO(ycao): Support tensorlist-type output.
        out_desc.is_tensor_list = false;
      }
    
      // XLA computation always uses Tuple shape.
      *xla_output_shape = xla::ShapeUtil::MakeTupleShape(shapes);
      return absl::OkStatus();
    }
    
    // Creates a vector that maps from the parameters of the XLA computation to
    // their original argument positions.
    // MLIR-based TF-Compiler bridge doesn't have constant analysis yet, thus no
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 17:24:39 UTC 2024
    - 45.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_rewrite_pass.cc

          old_parallel_execute, new_parallel_execute);
    
      // Extract inputs for each block of the parallel_execute op. The i-th
      // element in the list represents the input lists to TPU computation for
      // i-th logical core.
      llvm::SmallVector<llvm::SmallVector<mlir::Value, 4>, 4> input_list;
      builder->setInsertionPoint(*new_parallel_execute);
      auto result = tensorflow::ExtractInputsForLogicalDevices(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex.go

    	})
    	WorkloadServices.RegisterBatch(krt.BatchedEventFilter(
    		func(a model.ServiceInfo) *workloadapi.Service {
    			// Only trigger push if the XDS object changed; the rest is just for computation of others
    			return a.Service
    		},
    		PushXds(a.XDSUpdater, func(i model.ServiceInfo) model.ConfigKey {
    			return model.ConfigKey{Kind: kind.Address, Name: i.ResourceName()}
    		})), false)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 19 17:19:41 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  5. tensorflow/cc/framework/ops.h

    #include "tensorflow/core/lib/strings/strcat.h"
    
    namespace tensorflow {
    
    /// @defgroup core Core Tensorflow API
    
    class Output;
    
    /// @addtogroup core
    /// @{
    
    /// Represents a node in the computation graph.
    class Operation {
     public:
      Operation() : node_(nullptr) {}
      explicit Operation(Node* n);
    
      int32 num_inputs() const { return node_->num_inputs(); }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  6. src/crypto/internal/mlkem768/mlkem768.go

    		}
    	}
    
    	return nil
    }
    
    // pkeEncrypt encrypt a plaintext message.
    //
    // It implements K-PKE.Encrypt according to FIPS 203 (DRAFT), Algorithm 13,
    // although the computation of t and AT is done in parseEK.
    func pkeEncrypt(cc *[CiphertextSize]byte, ex *encryptionKey, m *[messageSize]byte, rnd []byte) []byte {
    	var N byte
    	r, e1 := make([]nttElement, k), make([]ringElement, k)
    	for i := range r {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/prepare_tpu_computation_for_tf_export.cc

      for (Region* region : regions_with_token) {
        // Initialize the token with the special argument token. This gets mapped to
        // input token in the parent op or a new token for the entry computation.
        auto token = StringAttr::get(ctx, tensorflow::kXlaTokenArgNodeName);
        for (Operation& op : region->getOps()) {
          // Only communication related ops that needs to have token should have the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/internal/clustering_bridge_passes.cc

      // outlined, as the constant operand is replaced by an argument.
      pm.addPass(mlir::createInlinerPass({}, NoCanonicalization));
      // Lift resource operations out of device computation. This step needs to be
      // done after inlining.
      pm.addPass(mlir::TFDevice::CreateResourceOpLiftingPass());
      // Outline clusters into cluster functions.
      pm.addPass(mlir::TFDevice::CreateClusterOutliningPass());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 16:09:14 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  9. src/cmd/go/main.go

    		if cfg.ExperimentErr != nil {
    			base.Fatal(cfg.ExperimentErr)
    		}
    	}
    
    	// Set environment (GOOS, GOARCH, etc) explicitly.
    	// In theory all the commands we invoke should have
    	// the same default computation of these as we do,
    	// but in practice there might be skew
    	// This makes sure we all agree.
    	cfg.OrigEnv = toolchain.FilterEnv(os.Environ())
    	cfg.CmdEnv = envcmd.MkEnv()
    	for _, env := range cfg.CmdEnv {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:09:11 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/passes/passes.h

    // AssignVariableOps.
    std::unique_ptr<OperationPass<ModuleOp>> CreateUnfreezeConstantsPass();
    
    // Creates a pass that duplicates constants that affect the shape of a tensor
    // after some computation.
    std::unique_ptr<OperationPass<func::FuncOp>>
    CreateDuplicateShapeDeterminingConstantsPass();
    
    // Creates a pass that creates a RestoreV2 op in the initializer function with
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 12.3K bytes
    - Viewed (0)
Back to top