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 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 Pair<Schema,ArrowWritableRecordBatch> |
ArrowConverter.readFromFile(File input)
Read a datavec schema and record set
from the given arrow file.
|
static 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 INDArray |
ArrowConverter.toArray(ArrowWritableRecordBatch arrowWritableRecordBatch)
Create an ndarray from a matrix.
|
Copyright © 2020. All rights reserved.