Class: Xberg::AccelerationConfig
- Inherits:
-
Object
- Object
- Xberg::AccelerationConfig
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#device_id ⇒ Integer?
Returns the value of attribute device_id.
-
#provider ⇒ ExecutionProviderType?
Returns the value of attribute provider.
Instance Method Summary collapse
-
#initialize ⇒ AccelerationConfig
constructor
A new instance of AccelerationConfig.
Constructor Details
#initialize ⇒ AccelerationConfig
Returns a new instance of AccelerationConfig.
26 |
# File 'sig/types.rbs', line 26
def initialize: (?provider: ExecutionProviderType, ?device_id: Integer) -> void
|
Instance Attribute Details
#device_id ⇒ Integer?
Returns the value of attribute device_id.
24 25 26 |
# File 'sig/types.rbs', line 24 def device_id @device_id end |
#provider ⇒ ExecutionProviderType?
Returns the value of attribute provider.
23 24 25 |
# File 'sig/types.rbs', line 23 def provider @provider end |