Flattens input and output, same as nn$BaseLoss

BaseLoss(...)

Arguments

...

parameters to pass

Value

Loss object