def METHOD_NAME(
    self,
    feat: Optional[torch.Tensor] = None,
    out_enc: Optional[torch.Tensor] = None,
    data_samples: Optional[Sequence[TextRecogDataSample]] = None
) -> torch.Tensor:
    """Forward for testing.
    Args:
        feat (torch.Tensor, optional): The feature map from backbone of
            shape :math:`(N, E, H, W)`. Defaults to None.
        out_enc (torch.Tensor, optional): Encoder output. Defaults to None.
        data_samples (Sequence[TextRecogDataSample]): Batch of
            TextRecogDataSample, containing gt_text information. Defaults
            to None.
    """
    raise NotImplementedError