Class: Xberg::GlmOcrBackendOptions
- Inherits:
-
Object
- Object
- Xberg::GlmOcrBackendOptions
- 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.
-
#enable_chart_understanding ⇒ Boolean?
readonly
Returns the value of attribute enable_chart_understanding.
-
#layout_mode ⇒ enum_GlmOcrLayoutMode?
readonly
Returns the value of attribute layout_mode.
-
#task ⇒ enum_GlmOcrTaskKind?
readonly
Returns the value of attribute task.
Instance Method Summary collapse
-
#initialize ⇒ GlmOcrBackendOptions
constructor
A new instance of GlmOcrBackendOptions.
Constructor Details
#initialize ⇒ GlmOcrBackendOptions
Returns a new instance of GlmOcrBackendOptions.
1142 |
# File 'sig/types.rbs', line 1142
def initialize: (?task: enum_GlmOcrTaskKind, ?device: enum_CandleDevicePreference, ?layout_mode: enum_GlmOcrLayoutMode, ?enable_chart_understanding: bool, ?cache_dir: String) -> void
|
Instance Attribute Details
#cache_dir ⇒ String? (readonly)
Returns the value of attribute cache_dir.
1140 1141 1142 |
# File 'sig/types.rbs', line 1140 def cache_dir @cache_dir end |
#device ⇒ enum_CandleDevicePreference? (readonly)
Returns the value of attribute device.
1137 1138 1139 |
# File 'sig/types.rbs', line 1137 def device @device end |
#enable_chart_understanding ⇒ Boolean? (readonly)
Returns the value of attribute enable_chart_understanding.
1139 1140 1141 |
# File 'sig/types.rbs', line 1139 def enable_chart_understanding @enable_chart_understanding end |
#layout_mode ⇒ enum_GlmOcrLayoutMode? (readonly)
Returns the value of attribute layout_mode.
1138 1139 1140 |
# File 'sig/types.rbs', line 1138 def layout_mode @layout_mode end |
#task ⇒ enum_GlmOcrTaskKind? (readonly)
Returns the value of attribute task.
1136 1137 1138 |
# File 'sig/types.rbs', line 1136 def task @task end |