class_docstr: Tensorforce agent interface.
class_docstr_tok: ["Tensorforce","agent","interface","."]
docstr: Resets possibly inconsistent internal values, for instance, after saving and restoring an
  agent. Automatically triggered as part of Agent.create/load/initialize/restore.
docstr_tok: ["Resets","possibly","inconsistent","internal","values",",","for","instance",",","after","saving","and","restoring","an","agent",".","Automatically","triggered","as","part","of","Agent.create\/load\/initialize\/restore","."]
code: def reset(self):
      """
      Resets possibly inconsistent internal values, for instance, after saving and restoring an
      agent. Automatically triggered as part of Agent.create/load/initialize/restore.
      """
      super().reset()
  
      # Reset observe buffers
      for buffer in self.terminal_buffer:
          buffer.clear()
      for buffer in self.reward_buffer:
          buffer.clear()
  
      # Reset model
      timesteps, episodes, updates = self.model.reset()
      self.timesteps = timesteps.numpy().item()
      self.episodes = episodes.numpy().item()
      self.updates = updates.numpy().item()
  
      if self.model.saver is not None:
          self.model.save()
  
imports: from collections import OrderedDict
  import json
  import logging
  import os
  import random
  import numpy
  import tensorflow
  from tensorforce import util, TensorforceError
  from tensorforce.agents import Recorder
  import tensorforce.agents
  from tensorforce.core import ArrayDict, TensorSpec, TensorforceConfig
label_desc: Use image node_id 9 for calling the Agent obj's underlying member method code with example usage: obj.reset() without return types