class_docstr: Base class of replay memory inheritted by all replay memory classes.
  
  Args:
      hparams (dict or HParams, optional): Hyperparameters. Missing
          hyperparameters are set to default values. See
          :meth:`default_hparams` for the defaults.
class_docstr_tok: ["Base","class","of","replay","memory","inheritted","by","all","replay","memory","classes",".","Args",":","hparams","(","dict","or","HParams",",","optional",")",":","Hyperparameters",".","Missing","hyperparameters","are","set","to","default","values",".","See",":","meth",":","`","default_hparams","`","for","the","defaults","."]
docstr: Returns the current size of the memory.
          
docstr_tok: ["Returns","the","current","size","of","the","memory","."]
code: def size(self):
      """Returns the current size of the memory."""
      raise NotImplementedError
  
file_path: texar/texar/tf/core/replay_memories.py
imports: from collections import deque
  import random
  from texar.tf.hyperparams import HParams
label_desc: Use image node_id 6 for calling the ReplayMemoryBase obj's underlying member method code with example usage: obj.size() without return types