Model Implementation: Generating Sequences with GANs

Learn about the discriminator and generator models for GANs with ResNet architecture.

The discriminator and generator models used in the paper are 1D convolutions based on the ResNet architecture. We use 2D convolutions with a singleton dimension for better computational performance.

Helper functions

We start with the necessary imports and initializations:

Get hands-on with 1400+ tech skills courses.