Add input parameter and add_subcollection verify.
Add input parameter and add_subcollection verify.


Former-commit-id: b03daed548940dd6f63950b1eb1e3276fd839ed4
shuheik/dynet,clab/cnn,danielhers/dynet,chunyang-wen/dynet,danielhers/dynet,clab/cnn,clab/dynet,shuheik/dynet,clab/dynet,shuheik/dynet,clab/dynet,xunzhang/dynet,shuheik/dynet,shuheik/dynet,danielhers/dynet,clab/cnn,clab/dynet,chunyang-wen/dynet,shuheik/dynet,clab/dynet,xunzhang/dynet,clab/dynet,chunyang-wen/dynet,xunzhang/dynet,danielhers/dynet,danielhers/dynet,danielhers/dynet,shuheik/dynet,chunyang-wen/dynet,xunzhang/dynet,clab/dynet,danielhers/dynet