Class: Xberg::SparseEmbedding

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeSparseEmbedding

Returns a new instance of SparseEmbedding.

Parameters:

  • indices: (Array[Integer])
  • values: (Array[Float])


1851
# File 'sig/types.rbs', line 1851

def initialize: (indices: Array[Integer], values: Array[Float]) -> void

Instance Attribute Details

#indicesArray[Integer] (readonly)

Returns the value of attribute indices.

Returns:

  • (Array[Integer])


1848
1849
1850
# File 'sig/types.rbs', line 1848

def indices
  @indices
end

#valuesArray[Float] (readonly)

Returns the value of attribute values.

Returns:

  • (Array[Float])


1849
1850
1851
# File 'sig/types.rbs', line 1849

def values
  @values
end