gan.trainer.train_hooks # => [...]
Train hooks are setup and invoked by the trainer.
Override these methods to change the train loop
before_step(step, feed_dict)after_step(step, feed_dict)after_create()gradients(d_grads, g_grads)
Executed before/after the step takes place.
feed_dict is what is being sent to the graph during the training step.
Ran after the trainer is created.
Refines the gradients before they are applied to the optimizer.