public class JblasNDArrayFactory extends BaseNDArrayFactory
dtype, orderC, FORTRAN| Constructor and Description |
|---|
JblasNDArrayFactory(int dtype,
Character order) |
| Modifier and Type | Method and Description |
|---|---|
INDArray |
create(DataBuffer data) |
INDArray |
create(DataBuffer data,
int[] shape) |
INDArray |
create(DataBuffer buffer,
int[] shape,
int offset) |
INDArray |
create(DataBuffer data,
int[] shape,
int[] stride,
int offset) |
INDArray |
create(DataBuffer data,
int[] newShape,
int[] newStride,
int offset,
char ordering) |
INDArray |
create(DataBuffer data,
int rows,
int columns,
int[] stride,
int offset) |
INDArray |
create(double[][] data)
Create an ndarray with the given data layout
|
INDArray |
create(double[] data,
int[] shape,
char ordering) |
INDArray |
create(double[] data,
int[] shape,
int offset) |
INDArray |
create(double[] data,
int[] shape,
int[] stride,
int offset)
Creates an ndarray with the specified shape
|
INDArray |
create(double[] data,
int[] shape,
int[] stride,
int offset,
char ordering) |
INDArray |
create(float[][] floats) |
INDArray |
create(float[] data,
int[] shape,
int offset) |
INDArray |
create(float[] data,
int[] shape,
int[] stride,
int offset)
Creates an ndarray with the specified shape
|
INDArray |
create(float[] data,
int[] shape,
int[] stride,
int offset,
char ordering) |
INDArray |
create(float[] data,
int[] shape,
int offset,
Character order) |
INDArray |
create(float[] data,
int rows,
int columns,
int[] stride,
int offset,
char ordering) |
INDArray |
create(int[] shape,
char ordering) |
INDArray |
create(int[] shape,
DataBuffer buffer) |
INDArray |
create(List<INDArray> list,
int[] shape)
Creates an ndarray with the specified shape
|
INDArray |
create(List<INDArray> list,
int[] shape,
char ordering) |
IComplexNDArray |
createComplex(DataBuffer data) |
IComplexNDArray |
createComplex(DataBuffer data,
int[] shape) |
IComplexNDArray |
createComplex(DataBuffer buffer,
int[] shape,
int offset) |
IComplexNDArray |
createComplex(DataBuffer data,
int[] shape,
int[] stride) |
IComplexNDArray |
createComplex(DataBuffer data,
int[] shape,
int[] stride,
int offset) |
IComplexNDArray |
createComplex(DataBuffer data,
int[] newDims,
int[] newStrides,
int offset,
char ordering) |
IComplexNDArray |
createComplex(DataBuffer buffer,
int[] shape,
int offset,
char ordering) |
IComplexNDArray |
createComplex(DataBuffer data,
int rows,
int columns,
int[] stride,
int offset) |
IComplexNDArray |
createComplex(double[] data,
int[] shape,
int offset) |
IComplexNDArray |
createComplex(double[] data,
int[] shape,
int[] stride,
int offset)
Creates a complex ndarray with the specified shape
|
IComplexNDArray |
createComplex(double[] data,
int[] shape,
int[] stride,
int offset,
char ordering)
Create a complex ndarray with the given data
|
IComplexNDArray |
createComplex(double[] data,
int[] shape,
int offset,
char ordering) |
IComplexNDArray |
createComplex(float[] dim) |
IComplexNDArray |
createComplex(float[] data,
Character order) |
IComplexNDArray |
createComplex(float[] data,
int[] shape,
int offset) |
IComplexNDArray |
createComplex(float[] data,
int[] shape,
int[] stride,
int offset)
Creates a complex ndarray with the specified shape
|
IComplexNDArray |
createComplex(float[] data,
int[] shape,
int[] stride,
int offset,
char ordering)
Create a complex ndarray with the given data
|
IComplexNDArray |
createComplex(float[] data,
int[] shape,
int offset,
char ordering) |
IComplexNDArray |
createComplex(IComplexNumber[] data,
int[] shape)
Create a complex ndarray from the passed in indarray
|
IComplexNDArray |
createComplex(IComplexNumber[] data,
int[] shape,
char ordering) |
IComplexNDArray |
createComplex(IComplexNumber[] data,
int[] shape,
int[] stride,
char ordering) |
IComplexNDArray |
createComplex(IComplexNumber[] data,
int[] shape,
int[] stride,
int offset) |
IComplexNDArray |
createComplex(IComplexNumber[] data,
int[] shape,
int[] stride,
int offset,
char ordering) |
IComplexNDArray |
createComplex(IComplexNumber[] data,
int[] shape,
int offset,
char ordering) |
IComplexNDArray |
createComplex(INDArray arr)
Create a complex ndarray from the passed in indarray
|
IComplexNDArray |
createComplex(List<IComplexNDArray> arrs,
int[] shape)
Create a complex ndarray from the passed in indarray
|
IComplexDouble |
createDouble(double real,
double imag)
Create an instance of a complex double
|
IComplexFloat |
createFloat(float real,
float imag)
Create float
|
appendBias, arange, bilinearProducts, complexFlatten, complexFlatten, complexOnes, complexOnes, complexOnes, complexScalar, complexScalar, complexValueOf, complexValueOf, complexValueOf, complexValueOf, complexZeros, complexZeros, complexZeros, concat, concat, copy, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, createBuffer, createBuffer, createBuffer, createBuffer, createBuffer, createComplex, createComplex, createComplex, createComplex, createComplex, createComplex, createComplex, createComplex, createComplex, createComplex, createComplex, createComplex, createComplex, createComplex, dtype, eye, hstack, linspace, ones, ones, ones, order, rand, rand, rand, rand, rand, rand, rand, rand, rand, rand, rand, randn, randn, randn, randn, randn, randn, reverse, rot, rot90, scalar, scalar, scalar, scalar, scalar, scalar, scalar, scalar, scalar, scalar, scalar, scalar, setDType, setOrder, toFlattened, toFlattened, toFlattened, validateConcat, valueArrayOf, valueArrayOf, vstack, zeros, zeros, zerospublic JblasNDArrayFactory(int dtype,
Character order)
public INDArray create(int[] shape, DataBuffer buffer)
public IComplexFloat createFloat(float real, float imag)
createFloat in interface NDArrayFactorycreateFloat in class BaseNDArrayFactoryreal - real componentimag - imag componentpublic IComplexDouble createDouble(double real, double imag)
createDouble in interface NDArrayFactorycreateDouble in class BaseNDArrayFactoryreal - the real componentimag - the imaginary componentpublic INDArray create(double[][] data)
data - the data to create the ndarray withpublic IComplexNDArray createComplex(INDArray arr)
createComplex in interface NDArrayFactorycreateComplex in class BaseNDArrayFactoryarr - the arr to wrappublic IComplexNDArray createComplex(IComplexNumber[] data, int[] shape)
createComplex in interface NDArrayFactorycreateComplex in class BaseNDArrayFactorydata - the data to wrapshape - public IComplexNDArray createComplex(List<IComplexNDArray> arrs, int[] shape)
createComplex in interface NDArrayFactorycreateComplex in class BaseNDArrayFactoryarrs - the arr to wrapshape - public INDArray create(DataBuffer data)
public IComplexNDArray createComplex(DataBuffer data)
public IComplexNDArray createComplex(DataBuffer data, int rows, int columns, int[] stride, int offset)
public INDArray create(DataBuffer data, int rows, int columns, int[] stride, int offset)
public IComplexNDArray createComplex(DataBuffer data, int[] shape, int[] stride, int offset)
public IComplexNDArray createComplex(IComplexNumber[] data, int[] shape, int[] stride, int offset)
public IComplexNDArray createComplex(IComplexNumber[] data, int[] shape, int[] stride, int offset, char ordering)
public IComplexNDArray createComplex(IComplexNumber[] data, int[] shape, int[] stride, char ordering)
public IComplexNDArray createComplex(IComplexNumber[] data, int[] shape, int offset, char ordering)
public IComplexNDArray createComplex(IComplexNumber[] data, int[] shape, char ordering)
public IComplexNDArray createComplex(float[] data, int[] shape, int[] stride, int offset)
createComplex in interface NDArrayFactorycreateComplex in class BaseNDArrayFactorydata - the data to use with the ndarrayshape - the shape of the ndarraystride - the stride for the ndarrayoffset - the offset of the ndarraypublic INDArray create(int[] shape, char ordering)
public INDArray create(DataBuffer data, int[] newShape, int[] newStride, int offset, char ordering)
public IComplexNDArray createComplex(DataBuffer data, int[] newDims, int[] newStrides, int offset, char ordering)
public IComplexNDArray createComplex(float[] data, Character order)
public INDArray create(float[] data, int rows, int columns, int[] stride, int offset, char ordering)
public INDArray create(double[] data, int[] shape, char ordering)
public INDArray create(double[] data, int[] shape, int offset)
public INDArray create(double[] data, int[] shape, int[] stride, int offset, char ordering)
public INDArray create(float[] data, int[] shape, int[] stride, int offset)
create in interface NDArrayFactorycreate in class BaseNDArrayFactorydata - shape - the shape of the ndarraystride - the stride for the ndarrayoffset - the offset of the ndarraypublic IComplexNDArray createComplex(double[] data, int[] shape, int[] stride, int offset)
createComplex in interface NDArrayFactorycreateComplex in class BaseNDArrayFactorydata - shape - the shape of the ndarraystride - the stride for the ndarrayoffset - the offset of the ndarraypublic INDArray create(double[] data, int[] shape, int[] stride, int offset)
create in interface NDArrayFactorycreate in class BaseNDArrayFactorydata - shape - the shape of the ndarraystride - the stride for the ndarrayoffset - the offset of the ndarraypublic INDArray create(DataBuffer data, int[] shape)
public IComplexNDArray createComplex(DataBuffer data, int[] shape)
public IComplexNDArray createComplex(DataBuffer data, int[] shape, int[] stride)
public INDArray create(DataBuffer data, int[] shape, int[] stride, int offset)
public INDArray create(List<INDArray> list, int[] shape)
create in interface NDArrayFactorycreate in class BaseNDArrayFactorylist - shape - the shape of the ndarraypublic IComplexNDArray createComplex(double[] data, int[] shape, int[] stride, int offset, char ordering)
createComplex in interface NDArrayFactorycreateComplex in class BaseNDArrayFactorydata - the data to use with tne ndarrayshape - the shape of the ndarraystride - the stride for the ndarrayoffset - the offset of the ndarrayordering - the ordering for the ndarraypublic IComplexNDArray createComplex(double[] data, int[] shape, int offset, char ordering)
createComplex in interface NDArrayFactorycreateComplex in class BaseNDArrayFactorydata - shape - offset - ordering - public IComplexNDArray createComplex(DataBuffer buffer, int[] shape, int offset, char ordering)
public IComplexNDArray createComplex(double[] data, int[] shape, int offset)
createComplex in interface NDArrayFactorycreateComplex in class BaseNDArrayFactorydata - shape - offset - public IComplexNDArray createComplex(DataBuffer buffer, int[] shape, int offset)
public IComplexNDArray createComplex(float[] data, int[] shape, int[] stride, int offset, char ordering)
data - the data to use with tne ndarrayshape - the shape of the ndarraystride - the stride for the ndarrayoffset - the offset of the ndarrayordering - the ordering for the ndarraypublic INDArray create(float[][] floats)
public IComplexNDArray createComplex(float[] dim)
public INDArray create(float[] data, int[] shape, int[] stride, int offset, char ordering)
public INDArray create(DataBuffer buffer, int[] shape, int offset)
public IComplexNDArray createComplex(float[] data, int[] shape, int offset, char ordering)
data - shape - offset - ordering - public IComplexNDArray createComplex(float[] data, int[] shape, int offset)
data - shape - offset - public INDArray create(float[] data, int[] shape, int offset)
create in interface NDArrayFactorycreate in class BaseNDArrayFactoryCopyright © 2014. All Rights Reserved.