Class: Xberg::AccelerationConfig

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeAccelerationConfig

Returns a new instance of AccelerationConfig.

Parameters:

  • provider: (enum_ExecutionProviderType)
  • device_id: (Integer)


16
# File 'sig/types.rbs', line 16

def initialize: (?provider: enum_ExecutionProviderType, ?device_id: Integer) -> void

Instance Attribute Details

#device_idInteger (readonly)

Returns the value of attribute device_id.

Returns:

  • (Integer)


14
15
16
# File 'sig/types.rbs', line 14

def device_id
  @device_id
end

#providerenum_ExecutionProviderType (readonly)

Returns the value of attribute provider.

Returns:

  • (enum_ExecutionProviderType)


13
14
15
# File 'sig/types.rbs', line 13

def provider
  @provider
end