@base_layer.initializer
def __init__(self, params):
    super(CausalConv2DLayerWithPadding, self).__init__(params)
    p = self.params
    assert (p.filter_shape[1] == 1), 'Only 1d causal convolution is supported.'
@base_layer.initializer
def __init__(self, params):
    super(CausalConv2DLayerWithPadding, self).__init__(params)
    p = self.params
    assert (p.filter_shape[1] == 1), 'Only 1d causal convolution is supported.'