For the complete documentation index, see llms.txt. This page is also available as Markdown.

Trainer

Trains the GAN object.

Creation

The trainer creates the optimizer, and any associated train hooks.

trainable_gan = TrainableGAN(gan)

Access

trainable_gan.trainer

Actions

trainer.step(feed_dict) # Step forward

Events

trainer.before_step(step, feed_dict)
trainer.after_step(step, feed_dict)

Last updated