Class: Xberg::PaddleOcrVlBackendOptions
- Inherits:
-
Object
- Object
- Xberg::PaddleOcrVlBackendOptions
- 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.
-
#model_id ⇒ String?
readonly
Returns the value of attribute model_id.
-
#model_path ⇒ String?
readonly
Returns the value of attribute model_path.
-
#task ⇒ enum_PaddleOcrVlTaskKind?
readonly
Returns the value of attribute task.
Instance Method Summary collapse
-
#initialize ⇒ PaddleOcrVlBackendOptions
constructor
A new instance of PaddleOcrVlBackendOptions.
Constructor Details
#initialize ⇒ PaddleOcrVlBackendOptions
Returns a new instance of PaddleOcrVlBackendOptions.
1866 |
# File 'sig/types.rbs', line 1866
def initialize: (?task: enum_PaddleOcrVlTaskKind, ?model_path: String, ?model_id: String, ?hf_revision: String, ?cache_dir: String, ?device: enum_CandleDevicePreference) -> void
|
Instance Attribute Details
#cache_dir ⇒ String? (readonly)
Returns the value of attribute cache_dir.
1863 1864 1865 |
# File 'sig/types.rbs', line 1863 def cache_dir @cache_dir end |
#device ⇒ enum_CandleDevicePreference? (readonly)
Returns the value of attribute device.
1864 1865 1866 |
# File 'sig/types.rbs', line 1864 def device @device end |
#hf_revision ⇒ String? (readonly)
Returns the value of attribute hf_revision.
1862 1863 1864 |
# File 'sig/types.rbs', line 1862 def hf_revision @hf_revision end |
#model_id ⇒ String? (readonly)
Returns the value of attribute model_id.
1861 1862 1863 |
# File 'sig/types.rbs', line 1861 def model_id @model_id end |
#model_path ⇒ String? (readonly)
Returns the value of attribute model_path.
1860 1861 1862 |
# File 'sig/types.rbs', line 1860 def model_path @model_path end |
#task ⇒ enum_PaddleOcrVlTaskKind? (readonly)
Returns the value of attribute task.
1859 1860 1861 |
# File 'sig/types.rbs', line 1859 def task @task end |