raise ValueError("Only "causal" or "same" padding are compatible for this layer.")
if not isinstance(nb_filters, int):
print("An interface change occurred after the version 2.1.2.")
print("Before: tcn.TCN(x, return_sequences=False, ...)")
print("Now should be: tcn.TCN(return_sequences=False, ...)(x)")
print("The alternative is to downgrade to 2.1.2 (pip install keras-tcn==2.1.2).")
raise Exception()