ac5738a13bb0e27c17d71b02787fd327c99f8d00,autokeras/blocks/basic.py,ConvBlock,build,#ConvBlock#,285

Before Change


        output_node = input_node

        kernel_size = utils.add_to_hp(self.kernel_size, hp)
        num_blocks = self.num_blocks or hp.Choice("num_blocks", [1, 2, 3], default=2)
        num_layers = self.num_layers or hp.Choice("num_layers", [1, 2], default=2)
        separable = self.separable
        if separable is None:
            separable = hp.Boolean("separable", default=False)

After Change


        else:
            dropout = hp.Choice("dropout", [0.0, 0.25, 0.5], default=0)

        for i in range(utils.add_to_hp(self.num_blocks, hp)):
            for j in range(num_layers):
                output_node = conv(
                    hp.Choice(
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: jhfjhfj1/autokeras
Commit Name: ac5738a13bb0e27c17d71b02787fd327c99f8d00
Time: 2020-11-19
Author: msg2dineshkumar@gmail.com
File Name: autokeras/blocks/basic.py
Class Name: ConvBlock
Method Name: build


Project Name: jhfjhfj1/autokeras
Commit Name: 3346962c749128c12cb1c0a26ecb85e572de8e18
Time: 2020-11-05
Author: jin@tamu.edu
File Name: autokeras/blocks/basic.py
Class Name: DenseBlock
Method Name: build


Project Name: jhfjhfj1/autokeras
Commit Name: 5bcb66bc65ac6de270affc15dde379ef09b2f5b5
Time: 2020-12-10
Author: msg2dineshkumar@gmail.com
File Name: autokeras/blocks/basic.py
Class Name: BertBlock
Method Name: build