encoders

Collection of Encoders (i.e., GANs’ Discriminators) models.

Classes

Encoder Primitive Model for all fully connected encoder based architecture.
class ashpy.models.fc.encoders.Encoder(hidden_units, output_shape)[source]

Bases: ashpy.models.fc.interfaces.FCInterface

Primitive Model for all fully connected encoder based architecture.

Examples

encoder = Encoder(
    hidden_units=[256,128,64],
    output_shape=10)
print(encoder(tf.zeros((1,55))).shape)
(1, 10)
__init__(hidden_units, output_shape)[source]

Instantiate the Decoder.

Parameters:
Returns:

None