Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 291 for Advice (0.15 sec)

  1. tensorflow/compiler/jit/xla_platform_info.cc

      if (device_type == DEVICE_CPU) {
        platform_id = se::host::kHostPlatformId;
      } else if (device_type == DEVICE_GPU) {
        auto device = static_cast<Device*>(device_base);
        platform_id = device->tensorflow_accelerator_device_info()
                          ->stream->parent()
                          ->GetPlatform()
                          ->id();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 17:23:27 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util_test.cc

                          task)
                .str());
        for (int device = 0; device < num_devices_per_task; ++device)
          devices.push_back(
              llvm::formatv("/job:worker/replica:0/task:{0}/device:TPU:{1}", task,
                            device)
                  .str());
      }
    
      return devices;
    }
    
    TEST(TPURewriteDeviceUtilTest,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 46.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_async.td

        args: a list of fallback tensors.
        device: the name of the tensorflow device that is associated with the
          input fallback tensors.
    
        results: the converted corert tensorhandles.
      }];
    
      let arguments = (ins
        Variadic<TFTensorType>:$args,
        StrAttr:$device
      );
    
      let results = (outs
        Variadic<CoreRT_TensorHandleType>:$results
      );
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 15:01:21 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. tensorflow/c/eager/c_api_experimental.h

                                void* device_info) = nullptr;
    
      // Pins the op to `device` based on inputs to `op`. Returns true
      // signifying to pin to the current custom device. Returns false
      // to pin to the physical device.
      //
      // This function is guaranteed to be called only when all of the custom-device
      // inputs are on this device.
      bool (*shall_pin_to_this_device)(const TFE_Op* op, TF_Status* s) = nullptr;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 22:37:46 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/flags.h

        // `enabled_for_gpu_` below.
        bool enabled_for_all_;
    
        // If true, enable Device API (PjRt) for TF GPU device. This is a helper
        // flag so that individual tests can turn on PjRt for GPU specifically.
        // Once the rollout to GPU is complete, this flag can be deprecated.
        bool enabled_for_gpu_;
    
       private:
        // Devices for which using Device API (PjRt) is allowed in the XlaLaunch op.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 18:52:57 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  10. 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)
Back to top