bf689405b30d2c0d646aa714ad1a5fa9c9712b94,DCSCN.py,SuperResolution,init_epoch_index,#SuperResolution#,173

Before Change



	def init_epoch_index(self):

		self.batch_index = random.sample(range(0, self.train.input.count), self.train.input.count)
		self.index_in_epoch = 0
		self.training_psnr_sum = 0
		self.training_step = 0

After Change



		// allocate batch memory
		self.batch_input = self.batch_num * [None]
		self.batch_input_quad = self.batch_num * [None]
		self.batch_true_quad = self.batch_num * [None]

		self.index_in_epoch = 0
		self.training_psnr_sum = 0
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: jiny2001/dcscn-super-resolution
Commit Name: bf689405b30d2c0d646aa714ad1a5fa9c9712b94
Time: 2018-03-29
Author: jin.yamanaka@gmail.com
File Name: DCSCN.py
Class Name: SuperResolution
Method Name: init_epoch_index


Project Name: kengz/SLM-Lab
Commit Name: b3a3543453100a09d6a72b111e043e0643597298
Time: 2019-02-05
Author: lhgraesser@gmail.com
File Name: test/agent/memory/test_per_memory.py
Class Name: TestPERMemory
Method Name: test_update_priorities


Project Name: jiny2001/dcscn-super-resolution
Commit Name: 2a5cadaf934b4ca056b97c2bced8046171ceea8e
Time: 2018-03-29
Author: jin.yamanaka@gmail.com
File Name: DCSCN.py
Class Name: SuperResolution
Method Name: init_epoch_index


Project Name: PacktPublishing/Deep-Reinforcement-Learning-Hands-On
Commit Name: 23a204d75f91c85bb542269447dbfa2164c695ce
Time: 2018-01-19
Author: max.lapan@gmail.com
File Name: ch13/wob_click_train.py
Class Name:
Method Name: