docstr: Computes the ELMo embeddings for a iterable of sentences.
  
  Please note that ELMo has internal state and will give different results for the same input.
  See the comment under the class definition.
  
  Parameters
  ----------
  sentences : ``Iterable[List[str]]``, required
      An iterable of tokenized sentences.
  batch_size : ``int``, required
      The number of sentences ELMo should process at once.
  
  Returns
  -------
      A list of tensors, each representing the ELMo vectors for the input sentence at the same index.
docstr_tok: ["Computes","the","ELMo","embeddings","for","a","iterable","of","sentences",".","Please","note","that","ELMo","has","internal","state","and","will","give","different","results","for","the","same","input",".","See","the","comment","under","the","class","definition",".","Parameters","--","--","--","--","--","sentences",":","``","Iterable","[","List","[","str","]","]","``",",","required","An","iterable","of","tokenized","sentences",".","batch_size",":","``","int","``",",","required","The","number","of","sentences","ELMo","should","process","at","once",".","Returns","--","--","--","-","A","list","of","tensors",",","each","representing","the","ELMo","vectors","for","the","input","sentence","at","the","same","index","."]
code: def embed_sentences(self, sentences, batch_size=DEFAULT_BATCH_SIZE):
      """
      Computes the ELMo embeddings for a iterable of sentences.
  
      Please note that ELMo has internal state and will give different results for the same input.
      See the comment under the class definition.
  
      Parameters
      ----------
      sentences : ``Iterable[List[str]]``, required
          An iterable of tokenized sentences.
      batch_size : ``int``, required
          The number of sentences ELMo should process at once.
  
      Returns
      -------
          A list of tensors, each representing the ELMo vectors for the input sentence at the same index.
      """
      for batch in lazy_groups_of(iter(sentences), batch_size):
          for _i in self.embed_batch(batch):
              yield _i
  
imports: from __future__ import with_statement
  from __future__ import absolute_import
  import argparse
  import json
  import logging
  import os
  import warnings
  import numpy
  import torch
  from allennlp.common.tqdm import Tqdm
  from allennlp.common.util import lazy_groups_of, prepare_global_logging
  from allennlp.common.checks import ConfigurationError
  from allennlp.data.token_indexers.elmo_indexer import ELMoTokenCharactersIndexer
  from allennlp.nn.util import remove_sentence_boundaries
  from allennlp.modules.elmo import _ElmoBiLm, batch_to_ids
  from allennlp.commands.subcommand import Subcommand
label_desc: Use image node_id 5 for calling the ElmoEmbedder obj's underlying member method code with example usage: obj.embed_sentences(sentences, batch_size) without return types