Class: Xberg::TrocrBackendOptions
- Inherits:
-
Object
- Object
- Xberg::TrocrBackendOptions
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#cache_dir ⇒ String?
readonly
Returns the value of attribute cache_dir.
-
#device ⇒ enum_CandleDevicePreference?
readonly
Returns the value of attribute device.
-
#hf_revision ⇒ String?
readonly
Returns the value of attribute hf_revision.
-
#variant ⇒ enum_CandleTrocrVariant?
readonly
Returns the value of attribute variant.
Instance Method Summary collapse
-
#initialize ⇒ TrocrBackendOptions
constructor
A new instance of TrocrBackendOptions.
Constructor Details
#initialize ⇒ TrocrBackendOptions
Returns a new instance of TrocrBackendOptions.
2664 |
# File 'sig/types.rbs', line 2664
def initialize: (?variant: enum_CandleTrocrVariant, ?device: enum_CandleDevicePreference, ?cache_dir: String, ?hf_revision: String) -> void
|
Instance Attribute Details
#cache_dir ⇒ String? (readonly)
Returns the value of attribute cache_dir.
2661 2662 2663 |
# File 'sig/types.rbs', line 2661 def cache_dir @cache_dir end |
#device ⇒ enum_CandleDevicePreference? (readonly)
Returns the value of attribute device.
2660 2661 2662 |
# File 'sig/types.rbs', line 2660 def device @device end |
#hf_revision ⇒ String? (readonly)
Returns the value of attribute hf_revision.
2662 2663 2664 |
# File 'sig/types.rbs', line 2662 def hf_revision @hf_revision end |
#variant ⇒ enum_CandleTrocrVariant? (readonly)
Returns the value of attribute variant.
2659 2660 2661 |
# File 'sig/types.rbs', line 2659 def variant @variant end |