a982d348b6d0efcf607307a4fe757ed7380e9dc3,recurrentshop/engine.py,RecurrentSequential,build,#RecurrentSequential#,889
Before Change
if hasattr(self, "model"):
del self.model
// Try and get batch size for initializer
for cell in self.cells:
if hasattr(cell, "batch_input_shape"):
if cell.batch_input_shape[0] is not None:
self.batch_size = cell.batch_input_shape[0]
break
if self.state_sync:
if type(input_shape) is list:
x_shape = input_shape[0]
if not self.decode:
After Change
if hasattr(self, "model"):
del self.model
// Try and get batch size for initializer
if not hasattr(self, "batch_size"):
if hasattr(self, "batch_input_shape"):
batch_size = self.batch_input_shape[0]
if batch_size is not None:
self.batch_size = batch_size
if self.state_sync:
if type(input_shape) is list:
x_shape = input_shape[0]
if not self.decode:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: farizrahman4u/recurrentshop
Commit Name: a982d348b6d0efcf607307a4fe757ed7380e9dc3
Time: 2017-05-07
Author: farizrahman4u@gmail.com
File Name: recurrentshop/engine.py
Class Name: RecurrentSequential
Method Name: build
Project Name: craffel/mir_eval
Commit Name: c8867b6e46695ea5f7bd9ecfed44b35d42df38c4
Time: 2014-10-28
Author: craffel@gmail.com
File Name: mir_eval/io.py
Class Name:
Method Name: load_patterns
Project Name: openai/gym
Commit Name: 2e8141b00ddd3a76238abe95b44d56a39bc90885
Time: 2019-03-08
Author: christopherhesse@users.noreply.github.com
File Name: gym/envs/box2d/car_racing.py
Class Name: CarRacing
Method Name: render