def initialize(self, training_info, model, environment, device):
self.target_model = self.model_factory.instantiate(action_space=environment.action_space).to(device)<EOL>self.target_model.load_state_dict(model.state_dict())<EOL>self.target_model.eval()<EOL>histogram_info = model.histogram_info()<EOL>self.vmin = histogram_info['<STR_LIT>']<EOL>self.vmax = histogram_info['<STR_LIT>']<EOL>self.num_atoms = histogram_info['<STR_LIT>']<EOL>self.support_atoms = histogram_info['<STR_LIT>']<EOL>self.atom_delta = histogram_info['<STR_LIT>']<EOL>
Initialize policy gradient from reinforcer settings