func GetLastError() error {
	if err := C.MXGetLastError(); err != nil {
		return fmt.Errorf(C.GoString(err))
	}
	return nil
}
get the last error happeneed.
go binding for MXGetLastError
package mxnet
import "C"
import (
	"fmt"
)