a3e847b610a9ac39a719033393801a0c7af51eb2,official/vision/keras_cv/layers/deeplab.py,SpatialPyramidPooling,build,#SpatialPyramidPooling#Any#,65

Before Change


              padding="same", kernel_regularizer=self.kernel_regularizer,
              kernel_initializer=self.kernel_initializer,
              dilation_rate=dilation_rate, use_bias=False),
          tf.keras.layers.BatchNormalization(momentum=self.batchnorm_momentum),
          tf.keras.layers.Activation("relu")])
      self.aspp_layers.append(conv_sequential)

After Change


    else:
      bn_op = tf.keras.layers.BatchNormalization

    if tf.keras.backend.image_data_format() == "channels_last":
      bn_axis = -1
    else:
      bn_axis = 1

    conv_sequential = tf.keras.Sequential([
        tf.keras.layers.Conv2D(
            filters=self.output_channels, kernel_size=(1, 1),
            kernel_initializer=self.kernel_initializer,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: tensorflow/models
Commit Name: a3e847b610a9ac39a719033393801a0c7af51eb2
Time: 2020-10-16
Author: arashwan@google.com
File Name: official/vision/keras_cv/layers/deeplab.py
Class Name: SpatialPyramidPooling
Method Name: build


Project Name: osmr/imgclsmob
Commit Name: ccd8a225512ac736b181792c72a3d45e4ff3160b
Time: 2018-09-21
Author: osemery@gmail.com
File Name: keras_/models/darknet.py
Class Name:
Method Name: dark_conv


Project Name: osmr/imgclsmob
Commit Name: 9557bc7148658225ef084b9886bbe560ded6c9e5
Time: 2018-09-21
Author: osemery@gmail.com
File Name: keras_/models/mobilenet.py
Class Name:
Method Name: conv_block