Skip to content
View as Markdown

Resource allocations for one additional whole-GPU node.

def initialize(cpu:, memory:, disk:)

Returns:

  • NodeResources - a new instance of NodeResources
def cpu()

Returns the value of attribute cpu.

def memory()

Returns the value of attribute memory.

def disk()

Returns the value of attribute disk.

def to_h()