Dimension of noise vector

Hey there

What exactly is the dimension of the noise vector being input to the generator in the GAN?
Is it a 1 x n (or n x 1) dimensional vector (meaning is it 1D)? Or am I understanding this wrong? In which case, what is the dimension of the noise vector that’s input to the generator.

Thank you.

Each vector has z_dim elements and there are num_samples of them, so you end up with a 2D tensor of dimensions (num_samples, z_dim). So the individual noise samples are the rows of that tensor and each one would have dimensions 1 x z_dim.

1 Like

Thank you for the clarification!