def validate(self, value):
        super(StrideProperty, self).validate(value)
        if len(value) > 2:
            raise ValueError("Stide can have only one or two elements "
                             "in the list. Got {}".format(len(value)))
dataset/ETHPy150Open itdxer/neupy/neupy/layers/convolutions.py/StrideProperty.validate/original