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 | Field and Description |
---|---|
protected WeakReference<DataBuffer> |
BaseDataBuffer.ref |
Modifier and Type | Method and Description |
---|---|
DataBuffer |
DataBuffer.dup()
Return a copy of this buffer
|
DataBuffer |
IntBuffer.dup() |
DataBuffer |
FloatBuffer.dup() |
DataBuffer |
DoubleBuffer.dup() |
Modifier and Type | Method and Description |
---|---|
void |
BaseDataBuffer.assign(DataBuffer... buffers) |
void |
DataBuffer.assign(DataBuffer... buffers)
Assign the given data buffers to this buffer
|
void |
BaseDataBuffer.assign(DataBuffer data) |
void |
DataBuffer.assign(DataBuffer data)
Assign the contents of this buffer
to this buffer
|
void |
BaseDataBuffer.assign(int[] offsets,
int[] strides,
DataBuffer... buffers) |
void |
DataBuffer.assign(int[] offsets,
int[] strides,
DataBuffer... buffers)
Assign the given buffers to this buffer
based on the given offsets and strides.
|
void |
BaseDataBuffer.assign(int[] offsets,
int[] strides,
int n,
DataBuffer... buffers) |
void |
DataBuffer.assign(int[] offsets,
int[] strides,
int n,
DataBuffer... buffers)
Assign the given buffers to this buffer
based on the given offsets and strides.
|
Modifier and Type | Method and Description |
---|---|
DataBuffer |
DataBufferFactory.createDouble(double[] data)
Creates a double data buffer
|
DataBuffer |
DefaultDataBufferFactory.createDouble(double[] data) |
DataBuffer |
DataBufferFactory.createDouble(double[] data,
boolean copy)
Creates a double data buffer
|
DataBuffer |
DefaultDataBufferFactory.createDouble(double[] data,
boolean copy) |
DataBuffer |
DataBufferFactory.createDouble(float[] data)
Creates a double data buffer
|
DataBuffer |
DefaultDataBufferFactory.createDouble(float[] data) |
DataBuffer |
DataBufferFactory.createDouble(float[] data,
boolean copy)
Creates a double data buffer
|
DataBuffer |
DefaultDataBufferFactory.createDouble(float[] data,
boolean copy) |
DataBuffer |
DataBufferFactory.createDouble(int length)
Create a double data buffer
|
DataBuffer |
DefaultDataBufferFactory.createDouble(int length) |
DataBuffer |
DataBufferFactory.createDouble(int[] data)
Creates a double data buffer
|
DataBuffer |
DefaultDataBufferFactory.createDouble(int[] data) |
DataBuffer |
DataBufferFactory.createDouble(int[] data,
boolean copy)
Creates a double data buffer
|
DataBuffer |
DefaultDataBufferFactory.createDouble(int[] data,
boolean copy) |
DataBuffer |
DataBufferFactory.createFloat(double[] data)
Creates a float data buffer
|
DataBuffer |
DefaultDataBufferFactory.createFloat(double[] data) |
DataBuffer |
DataBufferFactory.createFloat(double[] data,
boolean copy)
Creates a float data buffer
|
DataBuffer |
DefaultDataBufferFactory.createFloat(double[] data,
boolean copy) |
DataBuffer |
DataBufferFactory.createFloat(float[] data)
Creates a float data buffer
|
DataBuffer |
DefaultDataBufferFactory.createFloat(float[] data) |
DataBuffer |
DataBufferFactory.createFloat(float[] data,
boolean copy)
Creates a float data buffer
|
DataBuffer |
DefaultDataBufferFactory.createFloat(float[] data,
boolean copy) |
DataBuffer |
DataBufferFactory.createFloat(int length)
Create a float data buffer
|
DataBuffer |
DefaultDataBufferFactory.createFloat(int length) |
DataBuffer |
DataBufferFactory.createFloat(int[] data)
Creates a double data buffer
|
DataBuffer |
DefaultDataBufferFactory.createFloat(int[] data) |
DataBuffer |
DataBufferFactory.createFloat(int[] data,
boolean copy)
Creates a double data buffer
|
DataBuffer |
DefaultDataBufferFactory.createFloat(int[] data,
boolean copy) |
DataBuffer |
DataBufferFactory.createInt(double[] data)
Creates an int data buffer
|
DataBuffer |
DefaultDataBufferFactory.createInt(double[] data) |
DataBuffer |
DataBufferFactory.createInt(double[] data,
boolean copy)
Creates an int data buffer
|
DataBuffer |
DefaultDataBufferFactory.createInt(double[] data,
boolean copy) |
DataBuffer |
DataBufferFactory.createInt(float[] data)
Creates an int data buffer
|
DataBuffer |
DefaultDataBufferFactory.createInt(float[] data) |
DataBuffer |
DataBufferFactory.createInt(float[] data,
boolean copy)
Creates an int data buffer
|
DataBuffer |
DefaultDataBufferFactory.createInt(float[] data,
boolean copy) |
DataBuffer |
DataBufferFactory.createInt(int length)
Create an int data buffer
|
DataBuffer |
DefaultDataBufferFactory.createInt(int length) |
DataBuffer |
DataBufferFactory.createInt(int[] data)
Creates a double data buffer
|
DataBuffer |
DefaultDataBufferFactory.createInt(int[] data) |
DataBuffer |
DataBufferFactory.createInt(int[] data,
boolean copy)
Creates a double data buffer
|
DataBuffer |
DefaultDataBufferFactory.createInt(int[] data,
boolean copy) |
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 | Method and Description |
---|---|
void |
Instrumentation.log(DataBuffer buffer)
Data buffer to log
|
void |
InMemoryInstrumentation.log(DataBuffer buffer) |
void |
Instrumentation.log(DataBuffer buffer,
String status)
Data buffer to log
|
void |
InMemoryInstrumentation.log(DataBuffer buffer,
String status) |
Constructor and Description |
---|
DataBufferLogEntry(DataBuffer buffer) |
DataBufferLogEntry(DataBuffer buffer,
String status) |
Modifier and Type | Field and Description |
---|---|
protected DataBuffer |
BaseNDArray.data |
Modifier and Type | Method and Description |
---|---|
DataBuffer |
INDArray.data()
Returns a linear double array representation of this ndarray
|
DataBuffer |
BaseNDArray.data() |
Modifier and Type | Method and Description |
---|---|
void |
INDArray.setData(DataBuffer data) |
void |
BaseNDArray.setData(DataBuffer data) |
Constructor and Description |
---|
BaseNDArray(DataBuffer buffer) |
BaseNDArray(DataBuffer data,
int[] shape) |
BaseNDArray(DataBuffer buffer,
int[] shape,
int offset) |
BaseNDArray(DataBuffer buffer,
int[] shape,
int[] strides) |
BaseNDArray(DataBuffer data,
int[] shape,
int[] stride,
int offset) |
BaseNDArray(DataBuffer buffer,
int[] shape,
int[] stride,
int offset,
char ordering) |
BaseNDArray(DataBuffer buffer,
int[] shape,
int offset,
char ordering)
Constructor for stride and offset
|
BaseNDArray(int[] shape,
DataBuffer buffer)
Create with the specified shape and buffer
|
Modifier and Type | Field and Description |
---|---|
protected static ReferenceQueue<DataBuffer> |
Nd4j.bufferQueue |
Modifier and Type | Method and Description |
---|---|
static DataBuffer |
Nd4j.createBuffer(double[] data)
Create a buffer based on the data type
|
static DataBuffer |
Nd4j.createBuffer(float[] data)
Create a buffer based on the data type
|
static DataBuffer |
Nd4j.createBuffer(int length)
Creates a buffer of the specified length based on the data type
|
static DataBuffer |
Nd4j.createBuffer(int[] shape)
Create a buffer equal of length prod(shape)
|
static DataBuffer |
Nd4j.createBuffer(int[] shape,
DataBuffer.Type type)
Create a buffer equal of length prod(shape)
|
Modifier and Type | Method and Description |
---|---|
static ReferenceQueue<DataBuffer> |
Nd4j.bufferRefQueue()
The reference queue used for cleaning up
databuffers
|
Modifier and Type | Method and Description |
---|---|
INDArray |
NDArrayFactory.create(DataBuffer data)
Creates a row vector with the data
|
static INDArray |
Nd4j.create(DataBuffer buffer) |
INDArray |
NDArrayFactory.create(DataBuffer data,
int[] shape)
Create an ndrray with the specified shape
|
static INDArray |
Nd4j.create(DataBuffer data,
int[] shape) |
INDArray |
NDArrayFactory.create(DataBuffer buffer,
int[] shape,
int offset) |
static INDArray |
Nd4j.create(DataBuffer data,
int[] shape,
int offset) |
INDArray |
BaseNDArrayFactory.create(DataBuffer buffer,
int[] shape,
int[] stride,
char order,
int offset) |
INDArray |
NDArrayFactory.create(DataBuffer buffer,
int[] shape,
int[] stride,
char order,
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[] shape,
int[] strides,
int offset) |
INDArray |
NDArrayFactory.create(DataBuffer data,
int[] newShape,
int[] newStride,
int offset,
char ordering) |
static INDArray |
Nd4j.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) |
IComplexNDArray |
NDArrayFactory.createComplex(DataBuffer data)
Creates an ndarray with the specified data
|
IComplexNDArray |
NDArrayFactory.createComplex(DataBuffer data,
int[] shape)
Create an ndrray with the specified shape
|
static IComplexNDArray |
Nd4j.createComplex(DataBuffer data,
int[] shape) |
IComplexNDArray |
NDArrayFactory.createComplex(DataBuffer buffer,
int[] shape,
int offset) |
static IComplexNDArray |
Nd4j.createComplex(DataBuffer data,
int[] shape,
int offset) |
IComplexNDArray |
NDArrayFactory.createComplex(DataBuffer data,
int[] shape,
int[] stride)
Create an ndrray with the specified shape
|
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[] newShape,
int[] newStrides,
int offset) |
IComplexNDArray |
NDArrayFactory.createComplex(DataBuffer data,
int[] newDims,
int[] newStrides,
int offset,
char ordering) |
static IComplexNDArray |
Nd4j.createComplex(DataBuffer data,
int[] newDims,
int[] newStrides,
int offset,
char ordering) |
IComplexNDArray |
NDArrayFactory.createComplex(DataBuffer buffer,
int[] shape,
int offset,
char ordering) |
static IComplexNDArray |
Nd4j.createComplex(DataBuffer data,
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 © 2015. All Rights Reserved.