nn_mixup_loss | R Documentation |
callbacks_mixup()
.In the training phase, computes individual losses with regard to two targets, weights them item-wise, and averages the linear combinations to yield the mean batch loss. For validation and testing, defers to the passed-in loss.
nn_mixup_loss(loss)
loss |
the underlying loss |
It should be used together with luz_callback_mixup()
.
luz_callback_mixup()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.