def feed_batch(self, batch_info, data, target):
data, target = data.to(self.device), target.to(self.device)<EOL>output, loss = self.model.loss(data, target)<EOL>batch_info['<STR_LIT:data>'] = data<EOL>batch_info['<STR_LIT:target>'] = target<EOL>batch_info['<STR_LIT>'] = output<EOL>batch_info['<STR_LIT>'] = loss<EOL>return loss<EOL>
Run single batch of data