b1bfd16945a658d02847209e46a2ba8d72b456e1,autokeras/hypermodel/hyper_block.py,RNNBlock,build,#RNNBlock#Any#Any#,90
Before Change
return_sequences=return_sequences))
output_node = bidirectional_block(output_node)
output_node = Flatten().build(hp, output_node)
return output_node
After Change
choice_of_layers = hp.Choice("num_layers", [1, 2, 3], default=2)
bidirectional = self.bidirectional
if bidirectional is None:
bidirectional = hp.Choice("bidirectional",
[True, False],
default=True)
return_sequences = self.return_sequences
if return_sequences is None:
return_sequences = hp.Choice("return_sequences",
[True, False],
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 8
Instances
Project Name: jhfjhfj1/autokeras
Commit Name: b1bfd16945a658d02847209e46a2ba8d72b456e1
Time: 2019-07-01
Author: jhfjhfj1@gmail.com
File Name: autokeras/hypermodel/hyper_block.py
Class Name: RNNBlock
Method Name: build
Project Name: jhfjhfj1/autokeras
Commit Name: 13aa31bc1a0b87d6c4b5e787c9b041ec83831c34
Time: 2020-07-31
Author: jin@tamu.edu
File Name: autokeras/blocks/reduction.py
Class Name: SpatialReduction
Method Name: build