src/transformers/models/oneformer/modeling_oneformer.py/OneFormerTextMapper/forward
class OneFormerTextMapper:    def forward(
        self,
        inputs: Tensor,
    ) -> Tensor:
        text_queries = self.encode_text(inputs)

        return text_queries