Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 94 for Advice (0.31 sec)

  1. tensorflow/compiler/jit/kernels/xla_ops.cc

                            XlaRunOp);
    REGISTER_KERNEL_BUILDER(
        Name("_XlaRun").Device(DEVICE_DEFAULT).HostMemory("key"), XlaRunOp);
    
    REGISTER_KERNEL_BUILDER(Name("_XlaMerge").Device(DEVICE_CPU), XlaMergeOp);
    REGISTER_KERNEL_BUILDER(Name("_XlaMerge").Device(DEVICE_GPU), XlaMergeOp);
    REGISTER_KERNEL_BUILDER(Name("_XlaMerge").Device(DEVICE_DEFAULT), XlaMergeOp);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 22:46:36 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/xla_device_context.cc

                                                  Device* device,
                                                  Tensor* output_tensor,
                                                  StatusCallback done) const {
      done(errors::Unimplemented("XLA->XLA same-device copies not implemented."));
    }
    
    void XlaDeviceContext::CopyCPUTensorToDevice(const Tensor* cpu_tensor,
                                                 Device* device,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 00:36:08 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/xla_tpu_device.cc

      // Creates a device that represents a TPU distributed system.
      const DeviceAttributes attrs = Device::BuildDeviceAttributes(
          absl::StrCat(name_prefix, "/device:", DEVICE_TPU_SYSTEM, ":", 0),
          DeviceType(DEVICE_TPU_SYSTEM), Bytes(memory_limit), DeviceLocality(),
          absl::StrCat("device: ", DEVICE_TPU_SYSTEM, " device"));
      devices->push_back(std::make_unique<VirtualDevice>(options.env, attrs));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 22:53:47 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/tests/mlrt/tf_to_mlrt.mlir

      %0 = "tf.Const"() {__op_key = 0: i32, device = "/device:CPU:0", value = dense<0> : tensor<i64>} : () -> tensor<i64>
      %1 = "tf.Const"() {__op_key = 1: i32, device = "/device:CPU:0", value = dense<5> : tensor<i64>} : () -> tensor<i64>
      %2 = "tf.Const"() {__op_key = 2: i32, device = "/device:CPU:0", value = dense<1> : tensor<i64>} : () -> tensor<i64>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.td

      let description = [{
        The ExecuteOp executes an operation on the specified device using a custom device.
      }];
    
      let arguments = (ins
        TFDeviceType:$device,
        Variadic<TFTensorType>:$args,
        StrAttr:$node_def,
        I32Attr:$op_key
      );
    
      let results = (outs
        Variadic<TFTensorType>:$results
      );
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/xla_device.cc

        DeviceBase* device, const XlaDevice::Metadata** metadata) {
      *metadata = nullptr;
      XlaDevice* xla_device = dynamic_cast<XlaDevice*>(device->UnderlyingDevice());
      if (xla_device == nullptr) {
        return errors::Internal(
            "Cannot get XLA metadata from non-XLA device \"", device->name(),
            "\". GetMetadata must only be called on an XLA device. Either an "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 21:05:42 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/passes.h

    CreateConvertReadonlyReferenceVariablesToResourceVariablesPass();
    
    // Creates a simple device assignment pass on TF dialect for CoreRT use case.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateSimpleTFDeviceAssignmentPass(
        llvm::StringRef default_device = "cpu");
    
    // Creates a pass to perform device assignment for TF dialect ops that do not
    // have device assignment, by using the device attribute of the function.
    std::unique_ptr<OperationPass<func::FuncOp>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/stream_executor/stream_executor.cc

        const StreamExecutorConfig& config) {
      // Fill device creation params
      SE_CreateDeviceParams device_params{SE_CREATE_DEVICE_PARAMS_STRUCT_SIZE};
      SP_Device device{SP_DEVICE_STRUCT_SIZE};
      device_params.device = &device;
      device_params.ext = nullptr;
      device_params.ordinal = config.ordinal;
      OwnedTFStatus c_status(TF_NewStatus());
    
      // Create Device
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 14 07:39:19 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  9. pkg/volume/volume.go

    // and pod device map path.
    type BlockVolume interface {
    	// GetGlobalMapPath returns a global map path which contains
    	// bind mount associated to a block device.
    	// ex. plugins/kubernetes.io/{PluginName}/{DefaultKubeletVolumeDevicesDirName}/{volumePluginDependentPath}/{pod uuid}
    	GetGlobalMapPath(spec *Spec) (string, error)
    	// GetPodDeviceMapPath returns a pod device map path
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  10. pkg/volume/local/local.go

    	}
    	baseMountPath := plugin.generateBlockDeviceBaseGlobalPath()
    	for _, ref := range refs {
    		if mount.PathWithinBase(ref, baseMountPath) {
    			// If the global mount for block device exists, the source is block
    			// device.
    			// The resolved device path may not be the exact same as path in
    			// local PV object if symbolic link is used. However, it's the true
    			// source and can be used in reconstructed volume.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 22.2K bytes
    - Viewed (0)
Back to top