class_docstr: Saves some frames in a memory efficient way.
  
  Thread safety: cannot add multiple frames in parallel.
class_docstr_tok: ["Saves","some","frames","in","a","memory","efficient","way",".","Thread","safety",":","can","not","add","multiple","frames","in","parallel","."]
code: def clear(self):
      self._frames = {}
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import pickle
  import threading
  from absl import logging
  import numpy
  import tensorflow
  from tf_agents.replay_buffers import py_uniform_replay_buffer
  from tf_agents.specs import array_spec
  from tf_agents.trajectories import trajectory
label_desc: Use image node_id 9 for calling the FrameBuffer obj's underlying member method code with example usage: obj.clear() without return types