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.
1852 |
# File 'sig/types.rbs', line 1852
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.
1848 1849 1850 |
# File 'sig/types.rbs', line 1848 def additional_files @additional_files end |
#description ⇒ String (readonly)
Returns the value of attribute description.
1850 1851 1852 |
# File 'sig/types.rbs', line 1850 def description @description end |
#max_length ⇒ Integer (readonly)
Returns the value of attribute max_length.
1849 1850 1851 |
# File 'sig/types.rbs', line 1849 def max_length @max_length end |
#model_file ⇒ String (readonly)
Returns the value of attribute model_file.
1847 1848 1849 |
# File 'sig/types.rbs', line 1847 def model_file @model_file end |
#model_repo ⇒ String (readonly)
Returns the value of attribute model_repo.
1846 1847 1848 |
# File 'sig/types.rbs', line 1846 def model_repo @model_repo end |
#name ⇒ String (readonly)
Returns the value of attribute name.
1845 1846 1847 |
# File 'sig/types.rbs', line 1845 def name @name end |