src/transformers/models/perceiver/modeling_perceiver.py/PerceiverFourierPositionEncoding/__init__
class PerceiverFourierPositionEncoding:    def __init__(self, num_bands, max_resolution, concat_pos=True, sine_only=False):
        super().__init__()
        self.num_bands = num_bands
        self.max_resolution = max_resolution
        self.concat_pos = concat_pos
        self.sine_only = sine_only