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:



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

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

Instance Attribute Details

#device_idInteger?

Returns the value of attribute device_id.

Returns:

  • (Integer, nil)


24
25
26
# File 'sig/types.rbs', line 24

def device_id
  @device_id
end

#providerExecutionProviderType?

Returns the value of attribute provider.

Returns:



23
24
25
# File 'sig/types.rbs', line 23

def provider
  @provider
end