class_docstr: Many NLP models deal with representations of spans inside a sentence.
  SpanExtractors define methods for extracting and representing spans
  from a sentence.
  
  SpanExtractors take a sequence tensor of shape (batch_size, timetsteps, embedding_dim)
  and indices of shape (batch_size, num_spans, 2) and return a tensor of
  shape (batch_size, num_spans, ...), forming some representation of the
  spans.
docstr: Returns the expected final dimension of the returned span representation.
code: def get_output_dim(self):
      """
      Returns the expected final dimension of the returned span representation.
      """
      raise NotImplementedError
  
file_path: magnitude/pymagnitude/third_party/allennlp/modules/span_extractors/span_extractor.py
imports: from __future__ import absolute_import
  import torch
  from allennlp.common.registrable import Registrable
label_desc: Use image node_id 3 for calling the SpanExtractor obj's underlying member method code with example usage: obj.get_output_dim() without return types