class_docstr: A RL task: environment and a collection of trajectories.
class_docstr_tok: ["A","RL","task",":","environment","and","a","collection","of","trajectories","."]
docstr: Helper function: file name for saving the given epoch.
docstr_tok: ["Helper","function",":","file","name","for","saving","the","given","epoch","."]
code: def _epoch_filename(self, base_filename, epoch):
      """Helper function: file name for saving the given epoch."""
      # If base is /foo/task.pkl, we save epoch 1 under /foo/task_epoch1.pkl.
      filename, ext = os.path.splitext(base_filename)
      return filename + "_epoch" + str(epoch) + ext
  
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 11 for calling the RLTask obj's underlying member method code with example usage: obj._epoch_filename(base_filename, epoch) and returns: unknown