def __init__(self, filter_shape, stride, padding, dropout_rate: float=0, activation: Activation=None, last_layer=False, weight_initializer=None, fb_weight_initializer=None) -> None:
    assert (len(filter_shape) == 4), 'invalid filter shape: 4-tuple required, {}-tuple given'.format(len(filter_shape))
    super().__init__()
    self.filter_shape = filter_shape
    self.stride = stride
    self.padding = padding
    self.dropout_rate = dropout_rate
    self.activation = activation
    self.last_layer = last_layer
    self.weight_initializer = weight_initializer
    self.fb_weight_initializer = fb_weight_initializer
def __init__(self, filter_shape, stride, padding, dropout_rate: float=0, activation: Activation=None, last_layer=False, weight_initializer=None, fb_weight_initializer=None) -> None:
    assert (len(filter_shape) == 4), 'invalid filter shape: 4-tuple required, {}-tuple given'.format(len(filter_shape))
    super().__init__()
    self.filter_shape = filter_shape
    self.stride = stride
    self.padding = padding
    self.dropout_rate = dropout_rate
    self.activation = activation
    self.last_layer = last_layer
    self.weight_initializer = weight_initializer
    self.fb_weight_initializer = fb_weight_initializer