DL-Art-School/codes/models/steps/losses/generator_losses.py

9 lines
181 B
Python
Raw Normal View History

2020-08-18 14:49:32 +00:00
def create_generator_loss(opt_loss):
pass
class GeneratorLoss:
def __init__(self, opt):
self.opt = opt
def get_loss(self, var_L, var_H, var_Gen, extras=None):