Decoder

[source]

Decoder

polyaxon.decoders.base.Decoder(mode, modules, name='Decoder', features=None)

An abstract base class for defining a decoder.

  • Args:
    • mode: str. Specifies if this training, evaluation or prediction. See Modes.
    • name: str. The name of this bridge, used for creating the scope.

_build

_build(self, incoming)

Creates the encoder logic and returns an DecoderSpec.


decode

decode(self, incoming)

Subclasses should implement their logic here.