public abstract class MatrixGenerateReader extends MatrixReader
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
MatrixGenerateReader.MatrixReaderRowIrregular  | 
static class  | 
MatrixGenerateReader.MatrixReaderRowRegularColIrregular  | 
static class  | 
MatrixGenerateReader.MatrixReaderRowRegularColRegular  | 
| Constructor and Description | 
|---|
MatrixGenerateReader(CustomProperties _props)  | 
| Modifier and Type | Method and Description | 
|---|---|
MatrixBlock | 
readMatrixFromHDFS(String fname,
                  long rlen,
                  long clen,
                  int blen,
                  long estnnz)  | 
MatrixBlock | 
readMatrixFromInputStream(InputStream is,
                         long rlen,
                         long clen,
                         int blen,
                         long estnnz)  | 
public MatrixGenerateReader(CustomProperties _props)
public MatrixBlock readMatrixFromHDFS(String fname, long rlen, long clen, int blen, long estnnz) throws IOException, DMLRuntimeException
readMatrixFromHDFS in class MatrixReaderIOExceptionDMLRuntimeExceptionpublic MatrixBlock readMatrixFromInputStream(InputStream is, long rlen, long clen, int blen, long estnnz) throws IOException, DMLRuntimeException
readMatrixFromInputStream in class MatrixReaderIOExceptionDMLRuntimeExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.