def __init__(self, *args, **kwargs): ExampleAgent.__init__(self, *args, **kwargs) self.state_dim = self.env.getGameStateDims() self.timesteps = 4 self.state_shape = np.prod((num_frames, ) + self.state_dim) self.input_shape = (batch_size, self.timesteps, self.state_shape)
def __init__(self, *args, **kwargs): ExampleAgent.__init__(self, *args, **kwargs) self.state_dim = self.env.getGameStateDims()
def __init__(self, *args, **kwargs): ExampleAgent.__init__(self, *args, **kwargs) self.state_dim = self.env.getGameStateDims() self.state_shape = np.prod( (num_frames,) + self.state_dim ) self.input_shape = (batch_size, self.state_shape)
def __init__(self, *args, **kwargs): ExampleAgent.__init__(self, *args, **kwargs)