class_docstr: Encode a sequence by averaging the input embeddings.
class_docstr_tok: ["Encode","a","sequence","by","averaging","the","input","embeddings","."]
code: def __init__(self, emb_dim, max_seq_len):
      super(AverageSeqEncoder, self).__init__()
      self.max_seq_len = max_seq_len
      self.emb_dim = emb_dim
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import tensorflow
  import utils
label_desc: Use image node_id 1 to create a new AverageSeqEncoder object from inherited base classes: Encoder with example: obj = AverageSeqEncoder(emb_dim, max_seq_len)