59d68fcac566e3c3a5cbf2324cc1f3a6542a23bd,kur/containers/layers/convolution.py,Convolution,_parse,#Convolution#Any#,68
Before Change
if "type" in self.args:
self.type = engine.evaluate(self.args["type"])
if not isinstance(self.type, str) or \
not self.type in self.SUPPORTED_TYPES:
raise ParsingError(""type" must be one of: {}".format(
", ".join(self.SUPPORTED_TYPES)))
else:
self.type = self.SUPPORTED_TYPES[0]
assert self.type in self.SUPPORTED_TYPES
After Change
if "highway" in self.args:
self.highway = engine.evaluate(self.args["highway"])
if not isinstance(self.highway, bool):
raise ParsingError(""highway" must be boolean.")
if "bias" in self.args:
self.highway_bias = engine.evaluate(self.args["bias"])
try:
self.highway_bias = float(self.highway_bias)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: deepgram/kur
Commit Name: 59d68fcac566e3c3a5cbf2324cc1f3a6542a23bd
Time: 2017-06-13
Author: ajsyp@syptech.net
File Name: kur/containers/layers/convolution.py
Class Name: Convolution
Method Name: _parse
Project Name: deepgram/kur
Commit Name: 59d68fcac566e3c3a5cbf2324cc1f3a6542a23bd
Time: 2017-06-13
Author: ajsyp@syptech.net
File Name: kur/containers/layers/dense.py
Class Name: Dense
Method Name: _parse
Project Name: deepgram/kur
Commit Name: bc73d367e95cfbf410c97cdfa2abe87ee77199fb
Time: 2016-11-28
Author: ajsyp@syptech.net
File Name: kur/containers/layers/dense.py
Class Name: Dense
Method Name: _parse