How to split dataset into train_data and valid data in mxnet?

The question is the same as title. I searched in the docs but could not find how to split the data article.