My input dataset has converted as numpy matrices by np.asmatrix() and it's dim is 1024; I use the python API