Class: Xberg::AccelerationConfig
- Inherits:
-
Object
- Object
- Xberg::AccelerationConfig
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#device_id ⇒ Integer
readonly
Returns the value of attribute device_id.
-
#provider ⇒ enum_ExecutionProviderType
readonly
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.
16 |
# File 'sig/types.rbs', line 16
def initialize: (?provider: enum_ExecutionProviderType, ?device_id: Integer) -> void
|
Instance Attribute Details
#device_id ⇒ Integer (readonly)
Returns the value of attribute device_id.
14 15 16 |
# File 'sig/types.rbs', line 14 def device_id @device_id end |
#provider ⇒ enum_ExecutionProviderType (readonly)
Returns the value of attribute provider.
13 14 15 |
# File 'sig/types.rbs', line 13 def provider @provider end |