class_docstr: A `Seq2SeqEncoder` is a `Module` that takes as input a sequence of vectors and returns a
  modified sequence of vectors.  Input shape : `(batch_size, sequence_length, input_dim)`; output
  shape : `(batch_size, sequence_length, output_dim)`.
  
  We add two methods to the basic `Module` API: `get_input_dim()` and `get_output_dim()`.
  You might need this if you want to construct a `Linear` layer using the output of this encoder,
  or to raise sensible errors for mis-matching input dimensions.
docstr: Returns `True` if this encoder is bidirectional.  If so, we assume the forward direction
  of the encoder is the first half of the final dimension, and the backward direction is the
  second half.
docstr_tok: ["Returns","`","True","`","if","this","encoder","is","bidirectional",".","If","so",",","we","assume","the","forward","direction","of","the","encoder","is","the","first","half","of","the","final","dimension",",","and","the","backward","direction","is","the","second","half","."]
code: def is_bidirectional(self) -> bool:
      """
      Returns `True` if this encoder is bidirectional.  If so, we assume the forward direction
      of the encoder is the first half of the final dimension, and the backward direction is the
      second half.
      """
      raise NotImplementedError
  
file_path: allennlp/allennlp/modules/seq2seq_encoders/seq2seq_encoder.py
imports: from allennlp.modules.encoder_base import _EncoderBase
  from allennlp.common import Registrable
label_desc: Use image node_id 3 for calling the Seq2SeqEncoder obj's underlying member method code with example usage: obj.is_bidirectional() without return types