ac368987658176719fab4039d5d0e04942eead71,python/mxnet_benchmarks/models/alexnet.py,AlexNet,__init__,#AlexNet#Any#,30

Before Change


    def __init__(self, params):
        Model.check_parameters(
            params,
            {"name": "AlexNet", "input_shape":(3, 227, 227), "num_classes": 1000,
             "phase": "training",
             "dtype": "float32"}
        )

After Change


        flatten = mx.symbol.Flatten(data=pool5)
        fc6 = mx.symbol.FullyConnected(name="fc6", data=flatten, num_hidden=4096)
        relu6 = layers.Activation(name="relu6", data=fc6, act_type="relu")
        drop6 = layers.Dropout(name="drop6", data=relu6, p=0.5)

        fc7 = mx.symbol.FullyConnected(name="fc7", data=drop6, num_hidden=4096)
        relu7 = layers.Activation(name="relu7", data=fc7, act_type="relu")
        drop7 = layers.Dropout(name="drop7", data=relu7, p=0.5)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 2

Instances


Project Name: HewlettPackard/dlcookbook-dlbs
Commit Name: ac368987658176719fab4039d5d0e04942eead71
Time: 2019-06-24
Author: sergey.serebryakov@hpe.com
File Name: python/mxnet_benchmarks/models/alexnet.py
Class Name: AlexNet
Method Name: __init__


Project Name: HewlettPackard/dlcookbook-dlbs
Commit Name: ac368987658176719fab4039d5d0e04942eead71
Time: 2019-06-24
Author: sergey.serebryakov@hpe.com
File Name: python/mxnet_benchmarks/models/alexnet_owt.py
Class Name: AlexNetOWT
Method Name: __init__


Project Name: jhfjhfj1/autokeras
Commit Name: 736ba6c6873290fdae110395040f76ba7ab0ff19
Time: 2017-12-17
Author: wangtaoo665@gmail.com
File Name: tests/test_net_transformer.py
Class Name:
Method Name: test_net_transformer