parameters: (self)
docstring: Clear all contents in the relay memory
docstring_summary: Clear all contents in the relay memory
docstring_tokens: Clear all contents in the relay memory
function: def clear(self):
          """
          Clear all contents in the relay memory
          """
          self.states[:] = 0
          self.actions[:] = 0
          self.rewards[:] = 0
          self.terminate_flags[:] = 0
          self.top = 0
          self.size = 0
function_tokens: def clear ( self ) : self . states [ : ] = 0 self . actions [ : ] = 0 self . rewards [ : ] = 0 self . terminate_flags [ : ] = 0 self . top = 0 self . size = 0