MCPcopy Create free account
hub / github.com/rushter/MLAlgorithms / init_model

Method init_model

mla/rl/dqn.py:68–69  ·  view source on GitHub ↗
(self, model)

Source from the content-addressed store, hash-verified

66 self.replay = []
67
68 def init_model(self, model):
69 self.model = model(self.n_actions, self.batch_size)
70
71 def train(self, render=False):
72 max_reward = 0

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected