class_docstr: Mock Algorithm for use in tests.
class_docstr_tok: ["Mock","Algorithm","for","use","in","tests","."]
code: def load_checkpoint(self, checkpoint_dir):
      path = os.path.join(checkpoint_dir, "mock_agent.pkl")
      with open(path, "rb") as f:
          info = pickle.load(f)
      self.info = info
      self.restored = True
  
imports: import os
  import pickle
  import time
  import numpy
  from ray.tune import result
  from ray.rllib.algorithms.algorithm import Algorithm, AlgorithmConfig
  from ray.rllib.utils.annotations import override
label_desc: Use image node_id 6 for calling the _MockTrainer obj's underlying member method code with example usage: obj.load_checkpoint(checkpoint_dir) without return types