pytorch3d.implicitron.models.global_encoder.global_encoder
global_encoder
- class pytorch3d.implicitron.models.global_encoder.global_encoder.GlobalEncoderBase(*args, **kwargs)[source]
Bases:
ReplaceableBase
A base class for implementing encoders of global frame-specific quantities.
The latter includes e.g. the harmonic encoding of a frame timestamp (HarmonicTimeEncoder), or an autodecoder encoding of the frame’s sequence (SequenceAutodecoder).
- class pytorch3d.implicitron.models.global_encoder.global_encoder.SequenceAutodecoder(*args, **kwargs)[source]
Bases:
GlobalEncoderBase
,Module
A global encoder implementation which provides an autodecoder encoding of the frame’s sequence identifier.
- autodecoder: Autodecoder
- class pytorch3d.implicitron.models.global_encoder.global_encoder.HarmonicTimeEncoder(*args, **kwargs)[source]
Bases:
GlobalEncoderBase
,Module
A global encoder implementation which provides harmonic embeddings of each frame’s timestamp.
- n_harmonic_functions: int = 10
- append_input: bool = True
- time_divisor: float = 1.0