f516cc6ddefeeecec0e42e1f25deee24737af2bc,keras/applications/inception_v3.py,,InceptionV3,#Any#Any#Any#Any#Any#Any#,86

Before Change


    if include_top:
        // Classification block
        x = AveragePooling2D((8, 8), strides=(8, 8), name="avg_pool")(x)
        x = Flatten(name="flatten")(x)
        x = Dense(classes, activation="softmax", name="predictions")(x)
    else:
        if pooling == "avg":
            x = GlobalAveragePooling2D()(x)

After Change



    // load weights
    if weights == "imagenet":
        if K.image_data_format() == "channels_first":
            if K.backend() == "tensorflow":
                warnings.warn("You are using the TensorFlow backend, yet you "
                              "are using the Theano "
                              "image data format convention "
                              "(`image_data_format="channels_first"`). "
                              "For best performance, set "
                              "`image_data_format="channels_last"` in "
                              "your Keras config "
                              "at ~/.keras/keras.json.")
        if include_top:
            weights_path = get_file("inception_v3_weights_tf_dim_ordering_tf_kernels.h5",
                                    WEIGHTS_PATH,
                                    cache_subdir="models",
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: keras-team/keras
Commit Name: f516cc6ddefeeecec0e42e1f25deee24737af2bc
Time: 2017-02-25
Author: francois.chollet@gmail.com
File Name: keras/applications/inception_v3.py
Class Name:
Method Name: InceptionV3


Project Name: keras-team/autokeras
Commit Name: 13aa31bc1a0b87d6c4b5e787c9b041ec83831c34
Time: 2020-07-31
Author: jin@tamu.edu
File Name: autokeras/blocks/reduction.py
Class Name: SpatialReduction
Method Name: build


Project Name: keras-team/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