'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.filter_size + (num_input_channels, self.num_filters))
