Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ParsedDevice (0.17 sec)

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

        "bad '{0}' attribute at index {1}, not an int";
    
    using ParsedDevice = DeviceNameUtils::ParsedName;
    using ParsedDevices = llvm::ArrayRef<DeviceNameUtils::ParsedName>;
    
    namespace {
    // Find matching devices in `devices` based on pattern `spec`.
    llvm::SmallVector<ParsedDevice, 8> FindMatchingDevices(
        ParsedDevices devices, const ParsedDevice& spec) {
      llvm::SmallVector<ParsedDevice, 8> matching_devices;
      for (const auto& device : devices)
    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. pkg/kubelet/cm/util/cdi/cdi.go

    	}
    
    	return vendor, class, name, nil
    }
    
    // parseDevice tries to split a device name into vendor, class, and name.
    // If this fails, for instance in the case of unqualified device names,
    // parseDevice returns an empty vendor and class together with name set
    // to the verbatim input.
    func parseDevice(device string) (string, string, string) {
    	if device == "" || device[0] == '/' {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 09:48:24 UTC 2023
    - 9.5K bytes
    - Viewed (0)
Back to top