'Get the shape of the weight matrix `W`.
Returns
tuple of int
The shape of the weight matrix.'

def get_W_shape(self):

    num_input_channels = self.input_shape[1]
    return ((self.num_filters, num_input_channels) + self.filter_size)
