Class: DNN::Losses::HuberLoss

Inherits:
Loss
  • Object
show all
Defined in:
lib/dnn/core/losses.rb

Instance Method Summary collapse

Methods inherited from Loss

#backward, #to_hash

Instance Method Details

#forward(x, y, layers) ⇒ Object



76
77
78
# File 'lib/dnn/core/losses.rb', line 76

def forward(x, y, layers)
  @loss_value = super(x, y, layers)
end