Class: Xberg::SparseEmbedding
- Inherits:
-
Object
- Object
- Xberg::SparseEmbedding
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#indices ⇒ Array[Integer]
readonly
Returns the value of attribute indices.
-
#values ⇒ Array[Float]
readonly
Returns the value of attribute values.
Instance Method Summary collapse
-
#initialize ⇒ SparseEmbedding
constructor
A new instance of SparseEmbedding.
Constructor Details
#initialize ⇒ SparseEmbedding
Returns a new instance of SparseEmbedding.
1841 |
# File 'sig/types.rbs', line 1841
def initialize: (indices: Array[Integer], values: Array[Float]) -> void
|
Instance Attribute Details
#indices ⇒ Array[Integer] (readonly)
Returns the value of attribute indices.
1838 1839 1840 |
# File 'sig/types.rbs', line 1838 def indices @indices end |
#values ⇒ Array[Float] (readonly)
Returns the value of attribute values.
1839 1840 1841 |
# File 'sig/types.rbs', line 1839 def values @values end |