Class: Xberg::SparseEmbeddingPreset
- Inherits:
-
Object
- Object
- Xberg::SparseEmbeddingPreset
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#additional_files ⇒ Array[String]
readonly
Returns the value of attribute additional_files.
-
#description ⇒ String
readonly
Returns the value of attribute description.
-
#max_length ⇒ Integer
readonly
Returns the value of attribute max_length.
-
#model_file ⇒ String
readonly
Returns the value of attribute model_file.
-
#model_repo ⇒ String
readonly
Returns the value of attribute model_repo.
-
#name ⇒ String
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize ⇒ SparseEmbeddingPreset
constructor
A new instance of SparseEmbeddingPreset.
Constructor Details
#initialize ⇒ SparseEmbeddingPreset
Returns a new instance of SparseEmbeddingPreset.
2406 |
# File 'sig/types.rbs', line 2406
def initialize: (name: String, model_repo: String, model_file: String, additional_files: Array[String], max_length: Integer, description: String) -> void
|
Instance Attribute Details
#additional_files ⇒ Array[String] (readonly)
Returns the value of attribute additional_files.
2402 2403 2404 |
# File 'sig/types.rbs', line 2402 def additional_files @additional_files end |
#description ⇒ String (readonly)
Returns the value of attribute description.
2404 2405 2406 |
# File 'sig/types.rbs', line 2404 def description @description end |
#max_length ⇒ Integer (readonly)
Returns the value of attribute max_length.
2403 2404 2405 |
# File 'sig/types.rbs', line 2403 def max_length @max_length end |
#model_file ⇒ String (readonly)
Returns the value of attribute model_file.
2401 2402 2403 |
# File 'sig/types.rbs', line 2401 def model_file @model_file end |
#model_repo ⇒ String (readonly)
Returns the value of attribute model_repo.
2400 2401 2402 |
# File 'sig/types.rbs', line 2400 def model_repo @model_repo end |
#name ⇒ String (readonly)
Returns the value of attribute name.
2399 2400 2401 |
# File 'sig/types.rbs', line 2399 def name @name end |