Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for GetDeviceOrdinal (0.28 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/replicate_to_island.cc

    // `logical_core` is the index of the TPU core in [0, num_cores_per_replica).
    // `device_ordinal` is the index of the TPU core relative to its host.
    LogicalResult GetDeviceOrdinal(const std::optional<DictionaryAttr>& devices,
                                   const unsigned replica_id,
                                   const uint64_t logical_core,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jul 24 21:01:40 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/xla_launch_util.h

    xla::ExecuteOptions GetPjRtExecuteOptions(
        const DeviceType& device_type,
        absl::flat_hash_set<int> non_donatable_input_indices);
    
    // Returns the device ordinal from the parsed name of the device.
    int GetDeviceOrdinal(const DeviceBase* device);
    
    // Returns the device type from the OpKernelContext.
    DeviceType GetDeviceType(OpKernelContext* ctx);
    
    // Runs `executable` and populates the outputs in `ctx`. `inputs` and
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

      return GetAbsDeviceStr(*this, getDeviceOrdinal());
    }
    
    std::optional<std::string>
    EnqueueTPUEmbeddingBatchOp::GetResourceInstanceStr() {
      return GetAbsDeviceStr(*this, getDeviceOrdinal());
    }
    
    std::optional<std::string>
    EnqueueTPUEmbeddingIntegerBatchOp::GetResourceInstanceStr() {
      return GetAbsDeviceStr(*this, getDeviceOrdinal());
    }
    
    std::optional<std::string>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
Back to top