Skip to content

Commit

Permalink
Replace subclassing with proper alias
Browse files Browse the repository at this point in the history
  • Loading branch information
galeone committed Aug 23, 2019
1 parent 1c3fed0 commit 73e31b2
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions ashpy/models/gans.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,6 @@
from ashpy.models.convolutional.encoders import BaseEncoder


class Generator(BaseDecoder):
"""GAN Generator Model."""


class Discriminator(BaseEncoder):
"""GAN Discriminator Model."""


class Encoder(BaseEncoder):
"""GAN Encoder Model."""
Generator = BaseDecoder
Discriminator = BaseEncoder
Encoder = BaseEncoder

0 comments on commit 73e31b2

Please sign in to comment.