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.
1851 |
# File 'sig/types.rbs', line 1851
def initialize: (indices: Array[Integer], values: Array[Float]) -> void
|
Instance Attribute Details
#indices ⇒ Array[Integer] (readonly)
Returns the value of attribute indices.
1848 1849 1850 |
# File 'sig/types.rbs', line 1848 def indices @indices end |
#values ⇒ Array[Float] (readonly)
Returns the value of attribute values.
1849 1850 1851 |
# File 'sig/types.rbs', line 1849 def values @values end |