def __init__(self,
                 input,
                 n_features,
                 filter_size,
                 weights_std,
                 pad=None,
                 stride=(1, 1),
                 trainable=True):

        self.input_layer = input
        self.n_features = n_features
        self.filter_size = filter_size
        self.n_channels = self.input_layer.n_features

        self.filter_shape = (self.n_features,
                             self.n_channels,
                             self.filter_size,
                             self.filter_size)

        self.weights_std = weights_std
        if pad is None:
            pad_size = 2/self.filter_size
            self.pad = (pad_size, pad_size)
        else:
            self.pad = pad

        self.stride = stride

        self.mb_size = self.input_layer.mb_size

        self.trainable = trainable

        self.W = shared_single(4)
        self.params = [self.W]
        self.reset_params()
dataset/ETHPy150Open ifp-uiuc/anna/anna/layers/layers.py/Conv2DLayer.__init__/swapped operands of `/`