| Package | Description |
|---|---|
| org.datavec.arrow |
| Modifier and Type | Method and Description |
|---|---|
static ArrowWritableRecordBatch |
ArrowConverter.toArrowWritables(List<org.apache.arrow.vector.FieldVector> fieldVectors,
Schema schema)
Convert the input field vectors (the input data) and
the given schema to a proper list of writables.
|
| Modifier and Type | Method and Description |
|---|---|
static org.nd4j.linalg.primitives.Pair<Schema,ArrowWritableRecordBatch> |
ArrowConverter.readFromBytes(byte[] input)
Read a datavec schema and record set
from the given bytes (usually expected to be an arrow format file)
|
static org.nd4j.linalg.primitives.Pair<Schema,ArrowWritableRecordBatch> |
ArrowConverter.readFromFile(File input)
Read a datavec schema and record set
from the given arrow file.
|
static org.nd4j.linalg.primitives.Pair<Schema,ArrowWritableRecordBatch> |
ArrowConverter.readFromFile(FileInputStream input)
Read a datavec schema and record set
from the given arrow file.
|
| Modifier and Type | Method and Description |
|---|---|
static org.nd4j.linalg.api.ndarray.INDArray |
ArrowConverter.toArray(ArrowWritableRecordBatch arrowWritableRecordBatch)
Create an ndarray from a matrix.
|
Copyright © 2019. All rights reserved.