yamle.losses package#
- yamle.losses.loss_factory(loss_type=None)[source]#
This function is used to create a loss instance based on the loss type.
- Parameters:
loss_type¶ (str) – The type of loss to create.
- Return type:
Type[Callable]
This function is used to create a loss instance based on the loss type.
loss_type¶ (str) – The type of loss to create.
Type[Callable]