MixMo
mixmo
mixmo.augmentations
mixmo.core
mixmo.core.loss
mixmo.core.loss.get_loss
mixmo.core.loss.AbstractLoss
mixmo.core.loss.SoftCrossEntropyLoss
mixmo.core.loss.WrapperLoss
mixmo.core.metrics_ensemble
mixmo.core.metrics_wrapper
mixmo.core.optimizer
mixmo.core.scheduler
mixmo.core.temperature_scaling
mixmo.learners
mixmo.loaders
mixmo.networks
mixmo.utils
MixMo
»
mixmo
»
mixmo.core
»
mixmo.core.loss
»
mixmo.core.loss.get_loss
View page source
mixmo.core.loss.get_loss
¶
mixmo.core.loss.
get_loss
(
config_loss
,
device
=
None
,
config_args
=
None
)
[source]
¶
Construct loss object, wrapped if there are multiple losses