(n_frames=4, hidden_sizes=(64,), output_size=64,
                  mode='train')
return tl.Serial(
      _FrameStack(n_frames=n_frames),
      [[tl.Dense(d_hidden), tl.Relu()] for d_hidden in hidden_sizes],
      tl.Dense(output_size),
  )
MLP operating on a fixed number of last frames.
MLP operating on a fixed number of last frames.
MLP operating on a fixed number of last frames .
def FrameStackMLP(n_frames=4, hidden_sizes=(64,), output_size=64,
                  mode='train'):
  """MLP operating on a fixed number of last frames."""
  del mode

  return tl.Serial(
      _FrameStack(n_frames=n_frames),
      [[tl.Dense(d_hidden), tl.Relu()] for d_hidden in hidden_sizes],
      tl.Dense(output_size),
  )
def FrameStackMLP ( n_frames = 4 , hidden_sizes = ( 64 , ) , output_size = 64 , mode = 'train' ) : del mode return tl . Serial ( _FrameStack ( n_frames = n_frames ) , [ [ tl . Dense ( d_hidden ) , tl . Relu ( ) ] for d_hidden in hidden_sizes ] , tl . Dense ( output_size ) , )