class_docstr: A table that can store Episodes of variable length.
class_docstr_tok: ["A","table","that","can","store","Episodes","of","variable","length","."]
docstr: Returns op for clearing the table and removing all the episodes.
  
  Returns:
    Op for clearing the table.
docstr_tok: ["Returns","op","for","clearing","the","table","and","removing","all","the","episodes",".","Returns",":","Op","for","clearing","the","table","."]
code: def clear(self):
      """Returns op for clearing the table and removing all the episodes.
  
      Returns:
        Op for clearing the table.
      """
      clear_ops = []
      for slot in self._flattened_slots:
          clear_ops.append(
              self._slot2variable_map[slot].erase(
                  tf.range(self._capacity, dtype=tf.int64)
              )
          )
      return tf.group(*clear_ops)
  
file_path: agents/tf_agents/replay_buffers/episodic_table.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import tensorflow
  from tf_agents.utils import nest_utils
  from tensorflow.python.ops import list_ops
label_desc: Use image node_id 10 for calling the EpisodicTable obj's underlying member method code with example usage: obj.clear() and returns: tf