class_docstr: A RL task: environment and a collection of trajectories.
class_docstr_tok: ["A","RL","task",":","environment","and","a","collection","of","trajectories","."]
code: def n_interactions(self, epochs=None):
      # TODO(henrykm) support selection of epochs if really necessary (will
      # require a dump of a list of lengths in save_to_file
      del epochs
      return self._n_interactions
  
imports: import collections
  import os
  import gin
  import gym
  import numpy
  from trax import fastmath
  from trax.rl import advantages
  from trax.supervised import training
label_desc: Use image node_id 19 for calling the RLTask obj's underlying member method code with example usage: obj.n_interactions(epochs) and returns: self