32ecda6b38cee2721195d4f5cb1da5609d2fd264,autokeras/hypermodel/block.py,HyperBlock,__init__,#HyperBlock#,24
Before Change
def __init__(self, **kwargs):
super(HyperBlock, self).__init__(**kwargs)
self.inputs = None
self.outputs = None
self._num_output_node = 1
After Change
def __init__(self, **kwargs):
super().__init__(**kwargs)
if not self.name:
prefix = self.__class__.__name__
self.name = prefix + "_" + str(tf.keras.backend.get_uid(prefix))
self.inputs = None
self.outputs = None
self._num_output_node = 1
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: keras-team/autokeras
Commit Name: 32ecda6b38cee2721195d4f5cb1da5609d2fd264
Time: 2019-07-26
Author: jhfjhfj1@gmail.com
File Name: autokeras/hypermodel/block.py
Class Name: HyperBlock
Method Name: __init__
Project Name: jhfjhfj1/autokeras
Commit Name: 32ecda6b38cee2721195d4f5cb1da5609d2fd264
Time: 2019-07-26
Author: jhfjhfj1@gmail.com
File Name: autokeras/hypermodel/block.py
Class Name: HyperBlock
Method Name: __init__
Project Name: masa-su/pixyz
Commit Name: bea3a486261d3f6238316224605b684db1e5bca7
Time: 2018-10-16
Author: masa@weblab.t.u-tokyo.ac.jp
File Name: Tars/models/vi.py
Class Name: VI
Method Name: __init__