The input to the library is in the form of an ndarray. For more information on this data type, check out the SciJS project.