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: Returns the capacity of the replay buffer.
docstr_tok: ["Returns","the","capacity","of","the","replay","buffer","."]
code: def capacity(self):
      """Returns the capacity of the replay buffer."""
      return self._capacity
  
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 3 for calling the ReplayBuffer obj's underlying member method code with example usage: obj.capacity() and returns: self