Class GPUInfo

  • All Implemented Interfaces:
    org.apache.flink.api.common.externalresource.ExternalResourceInfo

    public class GPUInfo
    extends Object
    implements org.apache.flink.api.common.externalresource.ExternalResourceInfo
    Information for GPU resource. Currently only including the GPU index.
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getProperty

        public Optional<String> getProperty​(String key)
        Specified by:
        getProperty in interface org.apache.flink.api.common.externalresource.ExternalResourceInfo
      • getKeys

        public Collection<String> getKeys()
        Specified by:
        getKeys in interface org.apache.flink.api.common.externalresource.ExternalResourceInfo