Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 2,940 for Devices (0.14 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/tpu-multiple-while-body-func.mlir

      "func.func"() ({
      ^bb0(%arg0: tensor<i32>):
        %0 = "tf.Less"(%arg0, %arg0) {device = ""} : (tensor<i32>, tensor<i32>) -> tensor<*xi1>
        %1 = "tf.Less"(%arg0, %arg0) {device = ""} : (tensor<i32>, tensor<i32>) -> tensor<*xi1>
        %2 = "tf.LogicalAnd"(%0, %1) {device = ""} : (tensor<*xi1>, tensor<*xi1>) -> tensor<*xi1>
        "func.return"(%2) : (tensor<*xi1>) -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 13 21:23:47 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/replicate_invariant_op_hoisting.mlir

      %0:8 = tf_device.replicate([%arg0, %arg1] as %ri: tensor<*xf32>) {devices = {TPU_REPLICATED_CORE_0 = ["/device:TPU:0", "/device:TPU:1"]}, n = 2: i32} {
        %1 = "tf.Shape"(%ri) {device = "", T = "tfdtype$DT_FLOAT", out_type = "tfdtype$DT_INT32"} : (tensor<*xf32>) -> tensor<?xi32>
        %2 = "tf.opA"(%1) {device = "TPU_REPLICATED_CORE_0"} : (tensor<?xi32>) -> tensor<*xi32>
        %3 = "tf_device.launch"() ({
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/pjrt_device_context.h

      void CopyCPUTensorToDevice(const Tensor* cpu_tensor, Device* device,
                                 Tensor* device_tensor, StatusCallback done,
                                 bool sync_dst_compute) const override;
      void CopyDeviceTensorToCPU(const Tensor* device_tensor,
                                 absl::string_view tensor_name, Device* device,
                                 Tensor* cpu_tensor, StatusCallback done) override;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jul 19 19:27:39 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/xla_launch_util_gpu_test.cc

        // Set flag to use PJRT for device compilation and execution.
        auto& rollout_config = GetXlaOpsCommonFlags()->tf_xla_use_device_api;
        rollout_config.enabled_for_xla_launch_ = true;
        rollout_config.enabled_for_compile_on_demand_ = true;
        rollout_config.enabled_for_gpu_ = true;
    
        // Set flag to enable using XLA devices. PJRT currently is only supported
        // for XLA devices.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 10K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/api/v1/cluster_tf.h

    #include "tensorflow/core/lib/core/status.h"
    
    namespace tensorflow {
    namespace tf2xla {
    namespace v1 {
    
    // Run all the passes involved in transforming the graph before execution so
    // that it is suitable for targeting devices when called via the TF1 Session
    // API.
    // These transformations take as input a Tensorflow Graph as an MLIR Module
    // and transforms the module in place to cluster the given ops for compilation
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 26 14:08:41 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/utils/xla_sharding_util.cc

        const auto sharding_type = sharding.type();
        if (sharding_type == xla::OpSharding::OTHER) {
          for (const auto& device : sharding.tile_assignment_devices()) {
            CHECK(device >= 0 && device < input_mappings.size());
            input_mappings[device].push_back(idx);
          }
        } else if (sharding_type == xla::OpSharding::REPLICATED) {
          for (auto& input : input_mappings) input.push_back(idx);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 21:28:13 UTC 2024
    - 34K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/cluster_tf_ops_pass.cc

    std::string GetHost(Operation *op) {
      std::string device = "";
      if (StringAttr attr = op->getAttrOfType<StringAttr>(kDeviceAttr)) {
        device = attr.getValue().str();
      }
      return GetHost(device);
    }
    
    // The device is considered to be on the localhost iff one of the following is
    // true:
    // 1) None of the job/replica/task is specified in the device name.
    // 2) The job/replica/task in the device name are explicitly specified as
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/OverflowAvoidingLockSupport.java

    import java.util.concurrent.locks.LockSupport;
    import javax.annotation.CheckForNull;
    
    /**
     * Works around an android bug, where parking for more than INT_MAX seconds can produce an abort
     * signal on 32 bit devices running Android Q.
     */
    @J2ktIncompatible
    @ElementTypesAreNonnullByDefault
    final class OverflowAvoidingLockSupport {
      // Represents the max nanoseconds representable on a linux timespec with a 32 bit tv_sec
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/OverflowAvoidingLockSupport.java

    import java.util.concurrent.locks.LockSupport;
    import javax.annotation.CheckForNull;
    
    /**
     * Works around an android bug, where parking for more than INT_MAX seconds can produce an abort
     * signal on 32 bit devices running Android Q.
     */
    @J2ktIncompatible
    @ElementTypesAreNonnullByDefault
    final class OverflowAvoidingLockSupport {
      // Represents the max nanoseconds representable on a linux timespec with a 32 bit tv_sec
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/ir/tf_structs.h

    // Tensorflow devices available at runtime with corresponding metadata if it is
    // available. It's completely valid to have a device without any metadata
    // attached to it.
    class RuntimeDevices {
      using DeviceNameUtils = ::tensorflow::DeviceNameUtils;
      using ParsedName = ::tensorflow::DeviceNameUtils::ParsedName;
    
     public:
      // Adds a device with and empty metadata. Device can be of any type.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 02 20:41:19 UTC 2023
    - 2.6K bytes
    - Viewed (0)
Back to top