class_docstr: Wrapper around `crit_loss_func` and `gen_loss_func`
class_docstr_tok: ["Wrapper","around","`","crit_loss_func","`","and","`","gen_loss_func","`"]
code: def __init__(
      self,
      gen_loss_func: callable,  # Generator loss function
      crit_loss_func: callable,  # Critic loss function
      gan_model: GANModule,  # The GAN model
  ):
      super().__init__()
      store_attr("gen_loss_func,crit_loss_func,gan_model")
  
imports: from __future__ import annotations
  from ..basics import *
  from .all import *
label_desc: Use image node_id 1 to create a new GANLoss object from inherited base classes: GANModule with example: obj = GANLoss(gen_loss_func, crit_loss_func, gan_model)