Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 23 of 23 for set_device (0.34 sec)

  1. pkg/volume/local/local.go

    	*localVolume
    	readOnly bool
    }
    
    var _ volume.BlockVolumeMapper = &localVolumeMapper{}
    var _ volume.CustomBlockVolumeMapper = &localVolumeMapper{}
    
    // SetUpDevice prepares the volume to the node by the plugin specific way.
    func (m *localVolumeMapper) SetUpDevice() (string, error) {
    	return "", nil
    }
    
    // MapPodDevice provides physical device path for the local PV.
    func (m *localVolumeMapper) MapPodDevice() (string, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/tpu_dynamic_layout_pass.cc

                                entry.value().get(), &builder);
    
        auto device_list = mlir::cast<ArrayAttr>(
            replicate.getDevices().value().get(execute_launch.getDevice()));
        copy_with_layout->setAttr(kDeviceAttr,
                                  device_list.getValue()[entry.index()]);
    
        entry.value().set(copy_with_layout);
      }
      return true;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/replicate_to_island.cc

        // Map aliased devices to explicit devices based on replica.
        if (auto launch = dyn_cast<tf_device::LaunchOp>(op))
          if (auto device_by_replica = devices.value().get(launch.getDevice()))
            launch->setAttr(
                kDeviceAttr,
                device_by_replica.cast<ArrayAttr>()[replica_id].cast<StringAttr>());
    
        return WalkResult::advance();
      });
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jul 24 21:01:40 UTC 2023
    - 16.9K bytes
    - Viewed (0)
Back to top