src/transformers/models/informer/modeling_informer.py/InformerSinusoidalPositionalEmbedding/__init__
class InformerSinusoidalPositionalEmbedding:    def __init__(self, num_positions: int, embedding_dim: int, padding_idx: Optional[int] = None) -> None:
        super().__init__(num_positions, embedding_dim)
        self.weight = self._init_weight(self.weight)