when writing the python layer of sequence pooling/conv, I found some implementation need to polish. - [x] remove the Enum attributes This need to duplicate the enum attribute in C++, python layer, python test. Which is redundant. - [x] unify the input/attribute checker