Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for RuntimeDevices (0.21 sec)

  1. tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.cc

    }
    
    bool HasTPUDevice(const mlir::TF::RuntimeDevices& devices) {
      for (const auto& device : devices.device_names()) {
        if (device.has_type && device.type == "TPU") return true;
      }
      return false;
    }
    
    mlir::LogicalResult GetHostDeviceOutsideCompilationInGenericPipeline(
        mlir::TF::RuntimeDevices devices, std::string* host_device) {
      for (const auto& device : devices.device_names()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 20:10:40 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/internal/passes/xla_broadcast.cc

    }
    
    LogicalResult GetTpuDeviceAssignment(
        ClusterOp cluster, ReplicateOp replicate, mlir::ModuleOp module,
        absl::StatusOr<TPUDeviceAssignment>& status_or_tpu_device_assignment) {
      mlir::TF::RuntimeDevices devices;
      if (failed(tensorflow::GetDevicesFromOp(module, &devices))) return failure();
    
      uint32_t num_replicas = replicate.getN();
    
      auto num_cores_per_replica_attr = cluster->getAttrOfType<mlir::IntegerAttr>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 18:52:07 UTC 2024
    - 13.9K bytes
    - Viewed (0)
Back to top