Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SinusoidalPositionalEncoder ¶
type SinusoidalPositionalEncoder struct { nn.BaseModel Config Config Delegate *pe.SinusoidalPositionalEncoder }
SinusoidalPositionalEncoder contains positional embeddings fine-tuned during the training phase.
func New ¶
func New(config Config) *SinusoidalPositionalEncoder
New returns a new SinusoidalPositionalEncoder.
Click to show internal directories.
Click to hide internal directories.