1. torchgan.losses

This losses subpackage is a collection of popular loss functions used in the training of GANS. Currently the following losses are supported:

These losses are tested with the current available trainers. So if you need to implement you custom loss for using with the trainer it is recommended that you subclass the GeneratorLoss and DiscriminatorLoss