src/transformers/models/fsmt/modeling_fsmt.py/SinusoidalPositionalEmbedding/__init__
class SinusoidalPositionalEmbedding:    def __init__(self, num_positions, embedding_dim, padding_idx):
        self.make_weight(num_positions, embedding_dim, padding_idx)