    def get_output_dim(self) -> int:
        """
        Returns the expected final dimension of the returned span representation.
        """
        raise NotImplementedError
Returns the expected final dimension of the returned span representation.
allennlp/modules/span_extractors/span_extractor.py