Package | Description |
---|---|
org.nd4j.linalg.api.buffer | |
org.nd4j.linalg.api.complex | |
org.nd4j.linalg.api.ndarray | |
org.nd4j.linalg.factory |
Modifier and Type | Class and Description |
---|---|
class |
BaseDataBuffer
Base class for a data buffer handling basic byte operations among other things.
|
class |
DoubleBuffer
Double buffer implementation of data buffer
|
class |
FloatBuffer
Data buffer for floats
|
class |
IntBuffer
Int buffer
|
Modifier and Type | Method and Description |
---|---|
DataBuffer |
IntBuffer.dup() |
DataBuffer |
DataBuffer.dup()
Return a copy of this buffer
|
DataBuffer |
DoubleBuffer.dup() |
DataBuffer |
FloatBuffer.dup() |
Constructor and Description |
---|
BaseComplexNDArray(DataBuffer data) |
BaseComplexNDArray(DataBuffer data,
int[] shape) |
BaseComplexNDArray(DataBuffer buffer,
int[] shape,
int offset) |
BaseComplexNDArray(DataBuffer data,
int[] shape,
int[] stride) |
BaseComplexNDArray(DataBuffer data,
int[] shape,
int[] stride,
int offset) |
BaseComplexNDArray(DataBuffer buffer,
int[] shape,
int[] stride,
int offset,
char ordering) |
BaseComplexNDArray(DataBuffer buffer,
int[] shape,
int offset,
char ordering) |
Modifier and Type | Field and Description |
---|---|
protected DataBuffer |
BaseNDArray.data |
Modifier and Type | Method and Description |
---|---|
DataBuffer |
BaseNDArray.data() |
DataBuffer |
INDArray.data()
Returns a linear double array representation of this ndarray
|
Modifier and Type | Method and Description |
---|---|
void |
BaseNDArray.setData(DataBuffer data) |
void |
INDArray.setData(DataBuffer data) |
Constructor and Description |
---|
BaseNDArray(DataBuffer buffer) |
BaseNDArray(DataBuffer data,
int[] shape) |
BaseNDArray(DataBuffer buffer,
int[] shape,
int offset) |
BaseNDArray(DataBuffer data,
int[] shape,
int[] stride,
int offset) |
BaseNDArray(DataBuffer buffer,
int[] shape,
int[] stride,
int offset,
char ordering) |
BaseNDArray(int[] shape,
DataBuffer buffer)
Create with the specified shape and buffer
|
Modifier and Type | Method and Description |
---|---|
DataBuffer |
NDArrayFactory.createBuffer(DataBuffer[] buffers) |
DataBuffer |
BaseNDArrayFactory.createBuffer(DataBuffer[] buffers) |
static DataBuffer |
Nd4j.createBuffer(double[] data) |
DataBuffer |
NDArrayFactory.createBuffer(double[] concat)
Create a buffer using a copy of the data
|
DataBuffer |
BaseNDArrayFactory.createBuffer(double[] concat) |
DataBuffer |
NDArrayFactory.createBuffer(double[] concat,
boolean copy)
Create a buffer with the given data
|
DataBuffer |
BaseNDArrayFactory.createBuffer(double[] concat,
boolean copy) |
static <E> DataBuffer |
Nd4j.createBuffer(E[] data) |
static DataBuffer |
Nd4j.createBuffer(float[] data) |
DataBuffer |
NDArrayFactory.createBuffer(float[] concat) |
DataBuffer |
BaseNDArrayFactory.createBuffer(float[] concat) |
DataBuffer |
NDArrayFactory.createBuffer(float[] concat,
boolean copy)
Create a buffer with the given data
|
DataBuffer |
BaseNDArrayFactory.createBuffer(float[] concat,
boolean copy) |
static DataBuffer |
Nd4j.createBuffer(int[] shape)
Create a buffer equal of length prod(shape)
|
static DataBuffer |
Nd4j.createBuffer(int[] shape,
int type)
Create a buffer equal of length prod(shape)
|
static DataBuffer |
Nd4j.createBuffer(long length)
Creates a buffer of the specified length based on the data type
|
Modifier and Type | Method and Description |
---|---|
static INDArray |
Nd4j.create(DataBuffer buffer) |
INDArray |
NDArrayFactory.create(DataBuffer data)
Creates a row vector with the data
|
static INDArray |
Nd4j.create(DataBuffer data,
int[] shape) |
INDArray |
NDArrayFactory.create(DataBuffer data,
int[] shape)
Create an ndrray with the specified shape
|
static INDArray |
Nd4j.create(DataBuffer data,
int[] shape,
int offset) |
INDArray |
NDArrayFactory.create(DataBuffer buffer,
int[] shape,
int offset) |
static INDArray |
Nd4j.create(DataBuffer data,
int[] shape,
int[] strides,
int offset) |
INDArray |
NDArrayFactory.create(DataBuffer data,
int[] shape,
int[] stride,
int offset)
Creates an ndarray with the specified shape
|
static INDArray |
Nd4j.create(DataBuffer data,
int[] newShape,
int[] newStride,
int offset,
char ordering) |
INDArray |
NDArrayFactory.create(DataBuffer data,
int[] newShape,
int[] newStride,
int offset,
char ordering) |
INDArray |
NDArrayFactory.create(DataBuffer data,
int rows,
int columns,
int[] stride,
int offset)
Creates an ndarray with the specified shape
|
INDArray |
NDArrayFactory.create(int[] shape,
DataBuffer buffer) |
DataBuffer |
NDArrayFactory.createBuffer(DataBuffer[] buffers) |
DataBuffer |
BaseNDArrayFactory.createBuffer(DataBuffer[] buffers) |
IComplexNDArray |
NDArrayFactory.createComplex(DataBuffer data)
Creates an ndarray with the specified data
|
static IComplexNDArray |
Nd4j.createComplex(DataBuffer data,
int[] shape) |
IComplexNDArray |
NDArrayFactory.createComplex(DataBuffer data,
int[] shape)
Create an ndrray with the specified shape
|
static IComplexNDArray |
Nd4j.createComplex(DataBuffer data,
int[] shape,
int offset) |
IComplexNDArray |
NDArrayFactory.createComplex(DataBuffer buffer,
int[] shape,
int offset) |
IComplexNDArray |
NDArrayFactory.createComplex(DataBuffer data,
int[] shape,
int[] stride)
Create an ndrray with the specified shape
|
static IComplexNDArray |
Nd4j.createComplex(DataBuffer data,
int[] newShape,
int[] newStrides,
int offset) |
IComplexNDArray |
NDArrayFactory.createComplex(DataBuffer data,
int[] shape,
int[] stride,
int offset)
Creates a complex ndarray with the specified shape
|
static IComplexNDArray |
Nd4j.createComplex(DataBuffer data,
int[] newDims,
int[] newStrides,
int offset,
char ordering) |
IComplexNDArray |
NDArrayFactory.createComplex(DataBuffer data,
int[] newDims,
int[] newStrides,
int offset,
char ordering) |
static IComplexNDArray |
Nd4j.createComplex(DataBuffer data,
int[] shape,
int offset,
char ordering) |
IComplexNDArray |
NDArrayFactory.createComplex(DataBuffer buffer,
int[] shape,
int offset,
char ordering) |
IComplexNDArray |
NDArrayFactory.createComplex(DataBuffer data,
int rows,
int columns,
int[] stride,
int offset)
Creates a complex ndarray with the specified shape
|
Copyright © 2014. All Rights Reserved.