class_docstr: Abstract base class for TF-Agents replay buffer.
  
  In eager mode, methods modify the buffer or return values directly. In graph
  mode, methods return ops that do so when executed.
class_docstr_tok: ["Abstract","base","class","for","TF-Agents","replay","buffer",".","In","eager","mode",",","methods","modify","the","buffer","or","return","values","directly",".","In","graph","mode",",","methods","return","ops","that","do","so","when","executed","."]
docstr: Adds a batch of items to the replay buffer.
  
  Args:
    items: An item or list/tuple/nest of items to be added to the replay
      buffer. `items` must match the data_spec of this class, with a
      batch_size dimension added to the beginning of each tensor/array.
  
  Returns:
    Adds `items` to the replay buffer.
docstr_tok: ["Adds","a","batch","of","items","to","the","replay","buffer",".","Args",":","items",":","An","item","or","list\/tuple\/nest","of","items","to","be","added","to","the","replay","buffer",".","`","items","`","must","match","the","data_spec","of","this","class",",","with","a","batch_size","dimension","added","to","the","beginning","of","each","tensor\/array",".","Returns",":","Adds","`","items","`","to","the","replay","buffer","."]
code: def add_batch(self, items):
      """Adds a batch of items to the replay buffer.
  
      Args:
        items: An item or list/tuple/nest of items to be added to the replay
          buffer. `items` must match the data_spec of this class, with a
          batch_size dimension added to the beginning of each tensor/array.
  
      Returns:
        Adds `items` to the replay buffer.
      """
      return self._add_batch(items)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import abc
  import tensorflow
  from tf_agents.utils import common
  from tensorflow.python.data.util import nest
  from tensorflow.python.util import deprecation
label_desc: Use image node_id 6 for calling the ReplayBuffer obj's underlying member method code with example usage: obj.add_batch(items) and returns: self