Class: Xberg::MultiVectorEmbedding
- Inherits:
-
Object
- Object
- Xberg::MultiVectorEmbedding
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#data ⇒ Array[Float]
readonly
Returns the value of attribute data.
-
#dim ⇒ Integer
readonly
Returns the value of attribute dim.
-
#num_tokens ⇒ Integer
readonly
Returns the value of attribute num_tokens.
Instance Method Summary collapse
-
#initialize ⇒ MultiVectorEmbedding
constructor
A new instance of MultiVectorEmbedding.
- #is_well_formed ⇒ Boolean
Constructor Details
#initialize ⇒ MultiVectorEmbedding
Returns a new instance of MultiVectorEmbedding.
1870 |
# File 'sig/types.rbs', line 1870
def initialize: (num_tokens: Integer, dim: Integer, data: Array[Float]) -> void
|
Instance Attribute Details
#data ⇒ Array[Float] (readonly)
Returns the value of attribute data.
1868 1869 1870 |
# File 'sig/types.rbs', line 1868 def data @data end |
#dim ⇒ Integer (readonly)
Returns the value of attribute dim.
1867 1868 1869 |
# File 'sig/types.rbs', line 1867 def dim @dim end |
#num_tokens ⇒ Integer (readonly)
Returns the value of attribute num_tokens.
1866 1867 1868 |
# File 'sig/types.rbs', line 1866 def num_tokens @num_tokens end |
Instance Method Details
#is_well_formed ⇒ Boolean
1871 |
# File 'sig/types.rbs', line 1871
def is_well_formed: () -> bool
|