def autoformat_padding(padding):
    if ['same', 'SAME', 'valid', 'VALID'] in padding:
        return str.upper(padding)
    else:
        raise Exception("Unknow padding! Accepted values: 'same', 'valid'.")
dataset/ETHPy150Open tflearn/tflearn/tflearn/utils.py/autoformat_padding/swapped operands of `in`