Method: CooCoo::WeightDeltas#initialize
- Defined in:
- lib/coo-coo/weight_deltas.rb
#initialize(bias, weights) ⇒ WeightDeltas
Returns a new instance of WeightDeltas.
6 7 8 9 |
# File 'lib/coo-coo/weight_deltas.rb', line 6 def initialize(bias, weights) @bias_deltas = bias @weight_deltas = weights end |