Modifier and Type | Method and Description |
---|---|
INDArray |
BaseActivationFunction.apply(INDArray input)
Returns the result of applying this function to
input . |
INDArray |
SoftMax.apply(INDArray input) |
INDArray |
Linear.apply(INDArray input) |
INDArray |
RectifiedLinear.applyDerivative(INDArray input)
Applies the derivative of this function
|
INDArray |
RoundedLinear.applyDerivative(INDArray input)
Applies the derivative of this function
|
INDArray |
Exp.applyDerivative(INDArray input)
Applies the derivative of this function
|
INDArray |
ActivationFunction.applyDerivative(INDArray input)
Applies the derivative of this function
|
INDArray |
SoftMax.applyDerivative(INDArray input) |
INDArray |
Linear.applyDerivative(INDArray input)
Applies the derivative of this function
|
INDArray |
HardTanh.applyDerivative(INDArray input) |
INDArray |
Tanh.applyDerivative(INDArray input) |
INDArray |
Sigmoid.applyDerivative(INDArray input) |
static INDArray |
SoftMax.softmax(INDArray input,
boolean row)
Soft max function
row_maxes is a row vector (max for each row)
row_maxes = rowmaxes(input)
diff = exp(input - max) / diff.rowSums()
|
Modifier and Type | Method and Description |
---|---|
INDArray |
BaseActivationFunction.apply(INDArray input)
Returns the result of applying this function to
input . |
INDArray |
SoftMax.apply(INDArray input) |
INDArray |
Linear.apply(INDArray input) |
INDArray |
RectifiedLinear.applyDerivative(INDArray input)
Applies the derivative of this function
|
INDArray |
RoundedLinear.applyDerivative(INDArray input)
Applies the derivative of this function
|
INDArray |
Exp.applyDerivative(INDArray input)
Applies the derivative of this function
|
INDArray |
ActivationFunction.applyDerivative(INDArray input)
Applies the derivative of this function
|
INDArray |
SoftMax.applyDerivative(INDArray input) |
INDArray |
Linear.applyDerivative(INDArray input)
Applies the derivative of this function
|
INDArray |
HardTanh.applyDerivative(INDArray input) |
INDArray |
Tanh.applyDerivative(INDArray input) |
INDArray |
Sigmoid.applyDerivative(INDArray input) |
static INDArray |
SoftMax.softmax(INDArray input,
boolean row)
Soft max function
row_maxes is a row vector (max for each row)
row_maxes = rowmaxes(input)
diff = exp(input - max) / diff.rowSums()
|
Modifier and Type | Interface and Description |
---|---|
interface |
IComplexNDArray
Complex numbers
|
Modifier and Type | Class and Description |
---|---|
class |
BaseComplexNDArray
ComplexNDArray for complex numbers.
|
Modifier and Type | Method and Description |
---|---|
INDArray |
BaseComplexNDArray.assign(INDArray arr)
Assign all of the elements in the given
ndarray to this nedarray
|
INDArray |
BaseComplexNDArray.getReal() |
INDArray |
IComplexNDArray.getReal()
Gets the real portion of this complex ndarray
|
INDArray |
BaseComplexNDArray.imag()
Get imaginary part of the matrix.
|
INDArray |
IComplexNDArray.imag() |
INDArray |
BaseComplexNDArray.put(NDArrayIndex[] indices,
INDArray element) |
INDArray |
BaseComplexNDArray.putScalar(int[] indexes,
IComplexNumber complexNumber) |
INDArray |
IComplexNDArray.putScalar(int[] i,
IComplexNumber complexNumber) |
INDArray |
BaseComplexNDArray.putScalar(int[] i,
Number value) |
INDArray |
BaseComplexNDArray.real()
Get realComponent part of the matrix.
|
INDArray |
IComplexNDArray.real() |
INDArray |
BaseComplexNDArray.std(int dimension)
Standard deviation of an ndarray along a dimension
|
Modifier and Type | Method and Description |
---|---|
IComplexNDArray |
BaseComplexNDArray.add(IComplexNumber n,
INDArray result) |
IComplexNDArray |
IComplexNDArray.add(IComplexNumber n,
INDArray result) |
IComplexNDArray |
BaseComplexNDArray.add(INDArray other)
copy addition of two matrices
|
IComplexNDArray |
IComplexNDArray.add(INDArray other)
copy addition of two matrices
|
IComplexNDArray |
BaseComplexNDArray.add(INDArray other,
INDArray result)
copy addition of two matrices
|
IComplexNDArray |
IComplexNDArray.add(INDArray other,
INDArray result)
copy addition of two matrices
|
IComplexNDArray |
BaseComplexNDArray.add(Number n,
INDArray result) |
IComplexNDArray |
IComplexNDArray.add(Number n,
INDArray result) |
IComplexNDArray |
BaseComplexNDArray.addColumnVector(INDArray columnVector)
In place addition of a column vector
|
IComplexNDArray |
IComplexNDArray.addColumnVector(INDArray columnVector)
In place addition of a column vector
|
IComplexNDArray |
BaseComplexNDArray.addi(IComplexNumber n,
INDArray result) |
IComplexNDArray |
IComplexNDArray.addi(IComplexNumber n,
INDArray result) |
IComplexNDArray |
BaseComplexNDArray.addi(INDArray other)
in place addition of two matrices
|
IComplexNDArray |
IComplexNDArray.addi(INDArray other)
in place addition of two matrices
|
IComplexNDArray |
BaseComplexNDArray.addi(INDArray other,
INDArray result)
in place addition of two matrices
|
IComplexNDArray |
IComplexNDArray.addi(INDArray other,
INDArray result)
in place addition of two matrices
|
IComplexNDArray |
BaseComplexNDArray.addi(Number n,
INDArray result) |
IComplexNDArray |
IComplexNDArray.addi(Number n,
INDArray result) |
IComplexNDArray |
BaseComplexNDArray.addiColumnVector(INDArray columnVector)
In place addition of a column vector
|
IComplexNDArray |
IComplexNDArray.addiColumnVector(INDArray columnVector)
In place addition of a column vector
|
IComplexNDArray |
BaseComplexNDArray.addiRowVector(INDArray rowVector)
In place addition of a column vector
|
IComplexNDArray |
IComplexNDArray.addiRowVector(INDArray rowVector)
In place addition of a column vector
|
IComplexNDArray |
BaseComplexNDArray.addRowVector(INDArray rowVector)
In place addition of a column vector
|
IComplexNDArray |
IComplexNDArray.addRowVector(INDArray rowVector)
In place addition of a column vector
|
INDArray |
BaseComplexNDArray.assign(INDArray arr)
Assign all of the elements in the given
ndarray to this nedarray
|
void |
BaseComplexNDArray.checkDimensions(INDArray other)
Validate dimensions are equal
|
void |
IComplexNDArray.checkDimensions(INDArray other)
Validate dimensions are equal
|
protected void |
BaseComplexNDArray.copyFromReal(INDArray real) |
protected void |
BaseComplexNDArray.copyRealTo(INDArray arr) |
float |
BaseComplexNDArray.distance1(INDArray other)
Returns the (1-norm) distance.
|
float |
BaseComplexNDArray.distance2(INDArray other)
Returns the (euclidean) distance.
|
IComplexNDArray |
BaseComplexNDArray.div(IComplexNumber n,
INDArray result) |
IComplexNDArray |
IComplexNDArray.div(IComplexNumber n,
INDArray result) |
IComplexNDArray |
BaseComplexNDArray.div(INDArray other)
in place (element wise) division of two matrices
|
IComplexNDArray |
IComplexNDArray.div(INDArray other)
in place (element wise) division of two matrices
|
IComplexNDArray |
BaseComplexNDArray.div(INDArray other,
INDArray result)
copy (element wise) division of two matrices
|
IComplexNDArray |
IComplexNDArray.div(INDArray other,
INDArray result)
copy (element wise) division of two matrices
|
IComplexNDArray |
BaseComplexNDArray.div(Number n,
INDArray result) |
IComplexNDArray |
IComplexNDArray.div(Number n,
INDArray result) |
IComplexNDArray |
BaseComplexNDArray.divColumnVector(INDArray columnVector)
In place addition of a column vector
|
IComplexNDArray |
IComplexNDArray.divColumnVector(INDArray columnVector)
In place addition of a column vector
|
IComplexNDArray |
BaseComplexNDArray.divi(IComplexNumber n,
INDArray result) |
IComplexNDArray |
IComplexNDArray.divi(IComplexNumber n,
INDArray result) |
IComplexNDArray |
BaseComplexNDArray.divi(INDArray other)
in place (element wise) division of two matrices
|
IComplexNDArray |
IComplexNDArray.divi(INDArray other)
in place (element wise) division of two matrices
|
IComplexNDArray |
BaseComplexNDArray.divi(INDArray other,
INDArray result)
in place (element wise) division of two matrices
|
IComplexNDArray |
IComplexNDArray.divi(INDArray other,
INDArray result)
in place (element wise) division of two matrices
|
IComplexNDArray |
BaseComplexNDArray.divi(Number n,
INDArray result) |
IComplexNDArray |
IComplexNDArray.divi(Number n,
INDArray result) |
IComplexNDArray |
BaseComplexNDArray.diviColumnVector(INDArray columnVector)
In place addition of a column vector
|
IComplexNDArray |
IComplexNDArray.diviColumnVector(INDArray columnVector)
In place addition of a column vector
|
IComplexNDArray |
BaseComplexNDArray.diviRowVector(INDArray rowVector)
In place addition of a column vector
|
IComplexNDArray |
IComplexNDArray.diviRowVector(INDArray rowVector)
In place addition of a column vector
|
IComplexNDArray |
BaseComplexNDArray.divRowVector(INDArray rowVector)
In place addition of a column vector
|
IComplexNDArray |
IComplexNDArray.divRowVector(INDArray rowVector)
In place addition of a column vector
|
IComplexNDArray |
BaseComplexNDArray.eq(INDArray other) |
IComplexNDArray |
IComplexNDArray.eq(INDArray other) |
IComplexNDArray |
BaseComplexNDArray.eqi(INDArray other) |
IComplexNDArray |
IComplexNDArray.eqi(INDArray other) |
IComplexNDArray |
BaseComplexNDArray.gt(INDArray other) |
IComplexNDArray |
IComplexNDArray.gt(INDArray other) |
IComplexNDArray |
BaseComplexNDArray.gti(INDArray other) |
IComplexNDArray |
IComplexNDArray.gti(INDArray other) |
IComplexNDArray |
BaseComplexNDArray.lt(INDArray other) |
IComplexNDArray |
IComplexNDArray.lt(INDArray other) |
IComplexNDArray |
BaseComplexNDArray.lti(INDArray other) |
IComplexNDArray |
IComplexNDArray.lti(INDArray other) |
IComplexNDArray |
BaseComplexNDArray.mmul(INDArray other)
Perform a copy matrix multiplication
|
IComplexNDArray |
IComplexNDArray.mmul(INDArray other)
Perform a copy matrix multiplication
|
IComplexNDArray |
BaseComplexNDArray.mmul(INDArray other,
INDArray result)
Perform an copy matrix multiplication
|
IComplexNDArray |
IComplexNDArray.mmul(INDArray other,
INDArray result)
Perform an copy matrix multiplication
|
IComplexNDArray |
BaseComplexNDArray.mmuli(INDArray other)
Perform an copy matrix multiplication
|
IComplexNDArray |
IComplexNDArray.mmuli(INDArray other)
Perform an copy matrix multiplication
|
IComplexNDArray |
BaseComplexNDArray.mmuli(INDArray other,
INDArray result)
Perform an copy matrix multiplication
|
IComplexNDArray |
IComplexNDArray.mmuli(INDArray other,
INDArray result)
Perform an copy matrix multiplication
|
IComplexNDArray |
BaseComplexNDArray.mul(IComplexNumber n,
INDArray result) |
IComplexNDArray |
IComplexNDArray.mul(IComplexNumber n,
INDArray result) |
IComplexNDArray |
BaseComplexNDArray.mul(INDArray other)
copy (element wise) multiplication of two matrices
|
IComplexNDArray |
IComplexNDArray.mul(INDArray other)
copy (element wise) multiplication of two matrices
|
IComplexNDArray |
BaseComplexNDArray.mul(INDArray other,
INDArray result)
copy (element wise) multiplication of two matrices
|
IComplexNDArray |
IComplexNDArray.mul(INDArray other,
INDArray result)
copy (element wise) multiplication of two matrices
|
IComplexNDArray |
BaseComplexNDArray.mul(Number n,
INDArray result) |
IComplexNDArray |
IComplexNDArray.mul(Number n,
INDArray result) |
IComplexNDArray |
BaseComplexNDArray.mulColumnVector(INDArray columnVector)
In place addition of a column vector
|
IComplexNDArray |
IComplexNDArray.mulColumnVector(INDArray columnVector)
In place addition of a column vector
|
IComplexNDArray |
BaseComplexNDArray.muli(IComplexNumber n,
INDArray result) |
IComplexNDArray |
IComplexNDArray.muli(IComplexNumber n,
INDArray result) |
IComplexNDArray |
BaseComplexNDArray.muli(INDArray other)
in place (element wise) multiplication of two matrices
|
IComplexNDArray |
IComplexNDArray.muli(INDArray other)
in place (element wise) multiplication of two matrices
|
IComplexNDArray |
BaseComplexNDArray.muli(INDArray other,
INDArray result)
in place (element wise) multiplication of two matrices
|
IComplexNDArray |
IComplexNDArray.muli(INDArray other,
INDArray result)
in place (element wise) multiplication of two matrices
|
IComplexNDArray |
BaseComplexNDArray.muli(Number n,
INDArray result) |
IComplexNDArray |
IComplexNDArray.muli(Number n,
INDArray result) |
IComplexNDArray |
BaseComplexNDArray.muliColumnVector(INDArray columnVector)
In place addition of a column vector
|
IComplexNDArray |
IComplexNDArray.muliColumnVector(INDArray columnVector)
In place addition of a column vector
|
IComplexNDArray |
BaseComplexNDArray.muliRowVector(INDArray rowVector)
In place addition of a column vector
|
IComplexNDArray |
IComplexNDArray.muliRowVector(INDArray rowVector)
In place addition of a column vector
|
IComplexNDArray |
BaseComplexNDArray.mulRowVector(INDArray rowVector)
In place addition of a column vector
|
IComplexNDArray |
IComplexNDArray.mulRowVector(INDArray rowVector)
In place addition of a column vector
|
boolean |
BaseComplexNDArray.multipliesWith(INDArray a)
Check whether this can be multiplied with a.
|
IComplexNDArray |
BaseComplexNDArray.put(int[] indices,
INDArray element)
Inserts the element at the specified index
|
IComplexNDArray |
IComplexNDArray.put(int[] indices,
INDArray element)
Inserts the element at the specified index
|
IComplexNDArray |
BaseComplexNDArray.put(int i,
INDArray element)
Inserts the element at the specified index
|
IComplexNDArray |
IComplexNDArray.put(int i,
INDArray element)
Inserts the element at the specified index
|
IComplexNDArray |
BaseComplexNDArray.put(int i,
int j,
INDArray element)
Inserts the element at the specified index
|
IComplexNDArray |
IComplexNDArray.put(int i,
int j,
INDArray element)
Inserts the element at the specified index
|
INDArray |
BaseComplexNDArray.put(NDArrayIndex[] indices,
INDArray element) |
IComplexNDArray |
BaseComplexNDArray.putColumn(int column,
INDArray toPut)
Insert a column in to this array
Will throw an exception if this
ndarray is not a matrix
|
IComplexNDArray |
IComplexNDArray.putColumn(int column,
INDArray toPut)
Insert a column in to this array
Will throw an exception if this
ndarray is not a matrix
|
IComplexNDArray |
BaseComplexNDArray.putRow(int row,
INDArray toPut)
Insert a row in to this array
Will throw an exception if this
ndarray is not a matrix
|
IComplexNDArray |
IComplexNDArray.putRow(int row,
INDArray toPut)
Insert a row in to this array
Will throw an exception if this
ndarray is not a matrix
|
IComplexNDArray |
BaseComplexNDArray.putSlice(int slice,
INDArray put)
Assigns the given matrix (put) to the specified slice
|
IComplexNDArray |
IComplexNDArray.putSlice(int slice,
INDArray put)
Assigns the given matrix (put) to the specified slice
|
IComplexNDArray |
BaseComplexNDArray.rdiv(IComplexNumber n,
INDArray result) |
IComplexNDArray |
IComplexNDArray.rdiv(IComplexNumber n,
INDArray result) |
IComplexNDArray |
BaseComplexNDArray.rdiv(INDArray other)
Reverse division
|
IComplexNDArray |
IComplexNDArray.rdiv(INDArray other)
Reverse division
|
IComplexNDArray |
BaseComplexNDArray.rdiv(INDArray other,
INDArray result)
Reverse division
|
IComplexNDArray |
IComplexNDArray.rdiv(INDArray other,
INDArray result)
Reverse division
|
IComplexNDArray |
BaseComplexNDArray.rdiv(Number n,
INDArray result) |
IComplexNDArray |
IComplexNDArray.rdiv(Number n,
INDArray result) |
IComplexNDArray |
BaseComplexNDArray.rdivi(IComplexNumber n,
INDArray result) |
IComplexNDArray |
IComplexNDArray.rdivi(IComplexNumber n,
INDArray result) |
IComplexNDArray |
BaseComplexNDArray.rdivi(INDArray other)
Reverse divsion (in place)
|
IComplexNDArray |
IComplexNDArray.rdivi(INDArray other)
Reverse divsion (in place)
|
IComplexNDArray |
BaseComplexNDArray.rdivi(INDArray other,
INDArray result)
Reverse division (in-place)
|
IComplexNDArray |
IComplexNDArray.rdivi(INDArray other,
INDArray result)
Reverse division (in-place)
|
IComplexNDArray |
BaseComplexNDArray.rdivi(Number n,
INDArray result) |
IComplexNDArray |
IComplexNDArray.rdivi(Number n,
INDArray result) |
IComplexNDArray |
BaseComplexNDArray.rsub(IComplexNumber n,
INDArray result) |
IComplexNDArray |
IComplexNDArray.rsub(IComplexNumber n,
INDArray result) |
IComplexNDArray |
BaseComplexNDArray.rsub(INDArray other) |
IComplexNDArray |
IComplexNDArray.rsub(INDArray other) |
IComplexNDArray |
BaseComplexNDArray.rsub(INDArray other,
INDArray result)
Reverse subtraction
|
IComplexNDArray |
IComplexNDArray.rsub(INDArray other,
INDArray result)
Reverse subtraction
|
IComplexNDArray |
BaseComplexNDArray.rsub(Number n,
INDArray result) |
IComplexNDArray |
IComplexNDArray.rsub(Number n,
INDArray result) |
IComplexNDArray |
BaseComplexNDArray.rsubi(IComplexNumber n,
INDArray result) |
IComplexNDArray |
IComplexNDArray.rsubi(IComplexNumber n,
INDArray result) |
IComplexNDArray |
BaseComplexNDArray.rsubi(INDArray other) |
IComplexNDArray |
IComplexNDArray.rsubi(INDArray other) |
IComplexNDArray |
BaseComplexNDArray.rsubi(INDArray other,
INDArray result)
Reverse subtraction (in-place)
|
IComplexNDArray |
IComplexNDArray.rsubi(INDArray other,
INDArray result)
Reverse subtraction (in-place)
|
IComplexNDArray |
BaseComplexNDArray.rsubi(Number n,
INDArray result) |
IComplexNDArray |
IComplexNDArray.rsubi(Number n,
INDArray result) |
float |
BaseComplexNDArray.squaredDistance(INDArray other)
Returns the squared (Euclidean) distance.
|
IComplexNDArray |
BaseComplexNDArray.sub(IComplexNumber n,
INDArray result) |
IComplexNDArray |
IComplexNDArray.sub(IComplexNumber n,
INDArray result) |
IComplexNDArray |
BaseComplexNDArray.sub(INDArray other)
copy subtraction of two matrices
|
IComplexNDArray |
IComplexNDArray.sub(INDArray other)
copy subtraction of two matrices
|
IComplexNDArray |
BaseComplexNDArray.sub(INDArray other,
INDArray result)
copy subtraction of two matrices
|
IComplexNDArray |
IComplexNDArray.sub(INDArray other,
INDArray result)
copy subtraction of two matrices
|
IComplexNDArray |
BaseComplexNDArray.sub(Number n,
INDArray result) |
IComplexNDArray |
IComplexNDArray.sub(Number n,
INDArray result) |
IComplexNDArray |
BaseComplexNDArray.subColumnVector(INDArray columnVector)
In place addition of a column vector
|
IComplexNDArray |
IComplexNDArray.subColumnVector(INDArray columnVector)
In place addition of a column vector
|
IComplexNDArray |
BaseComplexNDArray.subi(IComplexNumber n,
INDArray result) |
IComplexNDArray |
IComplexNDArray.subi(IComplexNumber n,
INDArray result) |
IComplexNDArray |
BaseComplexNDArray.subi(INDArray other)
in place subtraction of two matrices
|
IComplexNDArray |
IComplexNDArray.subi(INDArray other)
in place subtraction of two matrices
|
IComplexNDArray |
BaseComplexNDArray.subi(INDArray other,
INDArray result)
in place subtraction of two matrices
|
IComplexNDArray |
IComplexNDArray.subi(INDArray other,
INDArray result)
in place subtraction of two matrices
|
IComplexNDArray |
BaseComplexNDArray.subi(Number n,
INDArray result) |
IComplexNDArray |
IComplexNDArray.subi(Number n,
INDArray result) |
IComplexNDArray |
BaseComplexNDArray.subiColumnVector(INDArray columnVector)
In place addition of a column vector
|
IComplexNDArray |
IComplexNDArray.subiColumnVector(INDArray columnVector)
In place addition of a column vector
|
IComplexNDArray |
BaseComplexNDArray.subiRowVector(INDArray rowVector)
In place addition of a column vector
|
IComplexNDArray |
IComplexNDArray.subiRowVector(INDArray rowVector)
In place addition of a column vector
|
IComplexNDArray |
BaseComplexNDArray.subRowVector(INDArray rowVector)
In place addition of a column vector
|
IComplexNDArray |
IComplexNDArray.subRowVector(INDArray rowVector)
In place addition of a column vector
|
Constructor and Description |
---|
BaseComplexNDArray(INDArray m)
Construct a complex matrix from a realComponent matrix.
|
BaseComplexNDArray(INDArray m,
char ordering)
Construct a complex matrix from a realComponent matrix.
|
BaseComplexNDArray(INDArray m,
int[] stride)
Create with the specified ndarray as the real component
and the given stride
|
BaseComplexNDArray(INDArray m,
int[] stride,
char ordering)
Initialize the given ndarray as the real component
|
Modifier and Type | Method and Description |
---|---|
INDArray |
NDArrayIO.read(File file)
Read in an ndarray from a file
|
INDArray |
BaseNDArrayIO.read(File file)
Read in an ndarray from a file
|
INDArray |
NDArrayIO.read(InputStream is)
Read in an ndrray from an input stream
|
Modifier and Type | Method and Description |
---|---|
void |
NDArrayIO.write(INDArray out,
File to)
Write an ndarray to the output stream
|
void |
BaseNDArrayIO.write(INDArray out,
File to)
Write an ndarray to the output stream
|
void |
NDArrayIO.write(INDArray out,
OutputStream to)
Write an ndarray to the output stream
|
Modifier and Type | Class and Description |
---|---|
class |
BaseNDArray
NDArray: (think numpy)
A few things of note.
|
Modifier and Type | Field and Description |
---|---|
protected INDArray |
BaseNDArray.linearView |
Modifier and Type | Method and Description |
---|---|
INDArray |
INDArray.add(INDArray other)
copy addition of two matrices
|
INDArray |
BaseNDArray.add(INDArray other)
copy addition of two matrices
|
INDArray |
INDArray.add(INDArray other,
INDArray result)
copy addition of two matrices
|
INDArray |
BaseNDArray.add(INDArray other,
INDArray result)
copy addition of two matrices
|
INDArray |
INDArray.add(Number n) |
INDArray |
BaseNDArray.add(Number n) |
INDArray |
INDArray.add(Number n,
INDArray result) |
INDArray |
BaseNDArray.add(Number n,
INDArray result) |
INDArray |
INDArray.addColumnVector(INDArray columnVector)
In place addition of a column vector
|
INDArray |
BaseNDArray.addColumnVector(INDArray columnVector)
In place addition of a column vector
|
INDArray |
INDArray.addi(INDArray other)
in place addition of two matrices
|
INDArray |
BaseNDArray.addi(INDArray other)
in place addition of two matrices
|
INDArray |
INDArray.addi(INDArray other,
INDArray result)
in place addition of two matrices
|
INDArray |
BaseNDArray.addi(INDArray other,
INDArray result)
in place addition of two matrices
|
INDArray |
INDArray.addi(Number n)
In place scalar addition
|
INDArray |
BaseNDArray.addi(Number n) |
INDArray |
INDArray.addi(Number n,
INDArray result)
In place addition
|
INDArray |
BaseNDArray.addi(Number n,
INDArray result) |
INDArray |
INDArray.addiColumnVector(INDArray columnVector)
In place addition of a column vector
|
INDArray |
BaseNDArray.addiColumnVector(INDArray columnVector)
In place addition of a column vector
|
INDArray |
INDArray.addiRowVector(INDArray rowVector)
In place addition of a column vector
|
INDArray |
BaseNDArray.addiRowVector(INDArray rowVector)
In place addition of a column vector
|
INDArray |
INDArray.addRowVector(INDArray rowVector)
In place addition of a column vector
|
INDArray |
BaseNDArray.addRowVector(INDArray rowVector)
In place addition of a column vector
|
INDArray |
INDArray.assign(INDArray arr)
Assign all of the elements in the given
ndarray to this ndarray
|
INDArray |
BaseNDArray.assign(INDArray arr)
Assign all of the elements in the given
ndarray to this ndarray
|
INDArray |
INDArray.assign(Number value)
Set the value of the ndarray to the specified value
|
INDArray |
BaseNDArray.assign(Number value)
Set the value of the ndarray to the specified value
|
INDArray |
INDArray.broadcast(int[] shape)
Broadcasts this ndarray to be the specified shape
|
INDArray |
BaseNDArray.broadcast(int[] shape)
Broadcasts this ndarray to be the specified shape
|
INDArray |
INDArray.cumsum(int dimension)
Cumulative sum along a dimension (in place)
|
INDArray |
BaseNDArray.cumsum(int dimension)
Cumulative sum along a dimension (in place)
|
INDArray |
INDArray.cumsumi(int dimension)
Cumulative sum along a dimension
|
INDArray |
BaseNDArray.cumsumi(int dimension)
Cumulative sum along a dimension
|
INDArray |
INDArray.dimShuffle(Object[] rearrange,
int[] newOrder,
boolean[] broadCastable)
Dimshuffle: an extension of permute that adds the ability
to broadcast various dimensions.
|
INDArray |
BaseNDArray.dimShuffle(Object[] rearrange,
int[] newOrder,
boolean[] broadCastable)
Dimshuffle: an extension of permute that adds the ability
to broadcast various dimensions.
|
INDArray |
INDArray.div(INDArray other)
in place (element wise) division of two matrices
|
INDArray |
BaseNDArray.div(INDArray other)
in place (element wise) division of two matrices
|
INDArray |
INDArray.div(INDArray other,
INDArray result)
copy (element wise) division of two matrices
|
INDArray |
BaseNDArray.div(INDArray other,
INDArray result)
copy (element wise) division of two matrices
|
INDArray |
INDArray.div(Number n) |
INDArray |
BaseNDArray.div(Number n) |
INDArray |
INDArray.div(Number n,
INDArray result) |
INDArray |
BaseNDArray.div(Number n,
INDArray result) |
INDArray |
INDArray.divColumnVector(INDArray columnVector)
In place addition of a column vector
|
INDArray |
BaseNDArray.divColumnVector(INDArray columnVector)
In place addition of a column vector
|
INDArray |
INDArray.divi(INDArray other)
in place (element wise) division of two matrices
|
INDArray |
BaseNDArray.divi(INDArray other)
in place (element wise) division of two matrices
|
INDArray |
INDArray.divi(INDArray other,
INDArray result)
in place (element wise) division of two matrices
|
INDArray |
BaseNDArray.divi(INDArray other,
INDArray result)
in place (element wise) division of two matrices
|
INDArray |
INDArray.divi(Number n)
In place scalar division
|
INDArray |
BaseNDArray.divi(Number n) |
INDArray |
INDArray.divi(Number n,
INDArray result)
In place division of this ndarray
|
INDArray |
BaseNDArray.divi(Number n,
INDArray result) |
INDArray |
INDArray.diviColumnVector(INDArray columnVector)
In place addition of a column vector
|
INDArray |
BaseNDArray.diviColumnVector(INDArray columnVector)
In place addition of a column vector
|
INDArray |
INDArray.diviRowVector(INDArray rowVector)
In place addition of a column vector
|
INDArray |
BaseNDArray.diviRowVector(INDArray rowVector)
In place addition of a column vector
|
INDArray |
INDArray.divRowVector(INDArray rowVector)
In place addition of a column vector
|
INDArray |
BaseNDArray.divRowVector(INDArray rowVector)
In place addition of a column vector
|
protected INDArray |
BaseNDArray.doColumnWise(INDArray columnVector,
char operation)
Do a row wise op (a,s,m,d)
a : add
s : subtract
m : multiply
d : divide
|
protected INDArray |
BaseNDArray.doRowWise(INDArray rowVector,
char operation)
Do a row wise op (a,s,m,d)
a : add
s : subtract
m : multiply
d : divide
|
INDArray |
INDArray.dup()
Return a copy of this ndarray
|
INDArray |
BaseNDArray.dup() |
INDArray |
INDArray.eq(INDArray other)
equal than comparison:
If the given number is less than the
comparison number the item is 0 otherwise 1
|
INDArray |
BaseNDArray.eq(INDArray other) |
INDArray |
INDArray.eq(Number other)
Returns an ndarray with 1 if the element is less than
the given element 0 other wise
|
INDArray |
BaseNDArray.eq(Number other) |
INDArray |
INDArray.eqi(INDArray other)
In place equal than comparison:
If the given number is less than the
comparison number the item is 0 otherwise 1
|
INDArray |
BaseNDArray.eqi(INDArray other) |
INDArray |
INDArray.eqi(Number other)
In place less than comparison:
If the given number is less than the
comparison number the item is 0 otherwise 1
|
INDArray |
BaseNDArray.eqi(Number other) |
INDArray |
INDArray.get(NDArrayIndex... indexes)
Returns a subset of this array based on the specified
indexes
|
INDArray |
BaseNDArray.get(NDArrayIndex... indexes)
Returns a subset of this array based on the specified
indexes
|
INDArray |
INDArray.getColumn(int i)
Returns the specified column.
|
INDArray |
BaseNDArray.getColumn(int c)
Get the specified column
|
INDArray |
INDArray.getColumns(int[] columns)
Get a list of specified columns
|
INDArray |
BaseNDArray.getColumns(int[] cindices)
Get whole columns from the passed indices.
|
INDArray |
INDArray.getRow(int i)
Returns the specified row.
|
INDArray |
BaseNDArray.getRow(int r)
Get a copy of a row.
|
INDArray |
INDArray.getRows(int[] rows)
Get a list of rows
|
INDArray |
BaseNDArray.getRows(int[] rindices)
Get whole rows from the passed indices.
|
INDArray |
BaseNDArray.getScalar(int... indexes)
Fetch a particular number on a multi dimensional scale.
|
INDArray |
INDArray.getScalar(int i)
Returns the element at the specified index
|
INDArray |
BaseNDArray.getScalar(int i) |
INDArray |
INDArray.getScalar(int[] indices)
Returns the elements at the the specified indices
|
INDArray |
INDArray.getScalar(int row,
int column)
Returns the element at the specified row/column
This will throw an exception if the
|
INDArray |
BaseNDArray.getScalar(int row,
int column)
Returns the element at the specified row/column
This will throw an exception if the
|
INDArray |
INDArray.gt(INDArray other)
greater than comparison:
If the given number is less than the
comparison number the item is 0 otherwise 1
|
INDArray |
BaseNDArray.gt(INDArray other) |
INDArray |
INDArray.gt(Number other) |
INDArray |
BaseNDArray.gt(Number other) |
INDArray |
INDArray.gti(INDArray other)
In place greater than comparison:
If the given number is less than the
comparison number the item is 0 otherwise 1
|
INDArray |
BaseNDArray.gti(INDArray other) |
INDArray |
INDArray.gti(Number other)
In place greater than comparison:
If the given number is less than the
comparison number the item is 0 otherwise 1
|
INDArray |
BaseNDArray.gti(Number other) |
INDArray |
INDArray.linearView()
Returns a linear view reference of shape
1,length(ndarray)
|
INDArray |
BaseNDArray.linearView()
Returns a linear view reference of shape
1,length(ndarray)
|
INDArray |
INDArray.lt(INDArray other)
less than comparison:
If the given number is less than the
comparison number the item is 0 otherwise 1
|
INDArray |
BaseNDArray.lt(INDArray other) |
INDArray |
INDArray.lt(Number other)
Returns an ndarray with 1 if the element is less than
the given element 0 other wise
|
INDArray |
BaseNDArray.lt(Number other) |
INDArray |
INDArray.lti(INDArray other)
In place less than comparison:
If the given number is less than the
comparison number the item is 0 otherwise 1
|
INDArray |
BaseNDArray.lti(INDArray other) |
INDArray |
INDArray.lti(Number other)
In place less than comparison:
If the given number is less than the
comparison number the item is 0 otherwise 1
|
INDArray |
BaseNDArray.lti(Number other) |
INDArray |
INDArray.max(int dimension)
Returns the overall max of this ndarray
|
INDArray |
BaseNDArray.max(int dimension)
Returns the overall max of this ndarray
|
INDArray |
INDArray.mean(int dimension)
Returns the overall mean of this ndarray
|
INDArray |
BaseNDArray.mean(int dimension)
Returns the overall mean of this ndarray
|
INDArray |
INDArray.min(int dimension)
Returns the overall min of this ndarray
|
INDArray |
BaseNDArray.min(int dimension)
Returns the overall min of this ndarray
|
INDArray |
INDArray.mmul(INDArray other)
Perform a copy matrix multiplication
|
INDArray |
BaseNDArray.mmul(INDArray other)
Perform a copy matrix multiplication
|
INDArray |
INDArray.mmul(INDArray other,
INDArray result)
Perform an copy matrix multiplication
|
INDArray |
BaseNDArray.mmul(INDArray other,
INDArray result)
Perform an copy matrix multiplication
|
INDArray |
INDArray.mmuli(INDArray other)
Perform an copy matrix multiplication
|
INDArray |
BaseNDArray.mmuli(INDArray other)
Perform an copy matrix multiplication
|
INDArray |
INDArray.mmuli(INDArray other,
INDArray result)
Perform an copy matrix multiplication
|
INDArray |
BaseNDArray.mmuli(INDArray other,
INDArray result)
Perform an copy matrix multiplication
|
INDArray |
INDArray.mul(INDArray other)
copy (element wise) multiplication of two matrices
|
INDArray |
BaseNDArray.mul(INDArray other)
copy (element wise) multiplication of two matrices
|
INDArray |
INDArray.mul(INDArray other,
INDArray result)
copy (element wise) multiplication of two matrices
|
INDArray |
BaseNDArray.mul(INDArray other,
INDArray result)
copy (element wise) multiplication of two matrices
|
INDArray |
INDArray.mul(Number n) |
INDArray |
BaseNDArray.mul(Number n) |
INDArray |
INDArray.mul(Number n,
INDArray result) |
INDArray |
BaseNDArray.mul(Number n,
INDArray result) |
INDArray |
INDArray.mulColumnVector(INDArray columnVector)
In place addition of a column vector
|
INDArray |
BaseNDArray.mulColumnVector(INDArray columnVector)
In place addition of a column vector
|
INDArray |
INDArray.muli(INDArray other)
in place (element wise) multiplication of two matrices
|
INDArray |
BaseNDArray.muli(INDArray other)
in place (element wise) multiplication of two matrices
|
INDArray |
INDArray.muli(INDArray other,
INDArray result)
in place (element wise) multiplication of two matrices
|
INDArray |
BaseNDArray.muli(INDArray other,
INDArray result)
in place (element wise) multiplication of two matrices
|
INDArray |
INDArray.muli(Number n)
In place scalar multiplication
|
INDArray |
BaseNDArray.muli(Number n) |
INDArray |
INDArray.muli(Number n,
INDArray result)
In place multiplication of this ndarray
|
INDArray |
BaseNDArray.muli(Number n,
INDArray result) |
INDArray |
INDArray.muliColumnVector(INDArray columnVector)
In place addition of a column vector
|
INDArray |
BaseNDArray.muliColumnVector(INDArray columnVector)
In place addition of a column vector
|
INDArray |
INDArray.muliRowVector(INDArray rowVector)
In place addition of a column vector
|
INDArray |
BaseNDArray.muliRowVector(INDArray rowVector)
In place addition of a column vector
|
INDArray |
INDArray.mulRowVector(INDArray rowVector)
In place addition of a column vector
|
INDArray |
BaseNDArray.mulRowVector(INDArray rowVector)
In place addition of a column vector
|
INDArray |
INDArray.neg()
Returns the ndarray negative (cloned)
|
INDArray |
BaseNDArray.neg()
Negate each element.
|
INDArray |
INDArray.negi()
In place setting of the negative version of this ndarray
|
INDArray |
BaseNDArray.negi()
Negate each element (in-place).
|
protected INDArray |
BaseNDArray.newShape(int[] newShape,
char ordering) |
INDArray |
INDArray.norm1(int dimension)
Returns the norm1 along the specified dimension
|
INDArray |
BaseNDArray.norm1(int dimension)
Returns the norm1 along the specified dimension
|
INDArray |
INDArray.norm2(int dimension)
Returns the norm2 along the specified dimension
|
INDArray |
BaseNDArray.norm2(int dimension)
Returns the norm2 along the specified dimension
|
INDArray |
INDArray.normmax(int dimension)
Returns the normmax along the specified dimension
|
INDArray |
BaseNDArray.normmax(int dimension)
Returns the normmax along the specified dimension
|
INDArray |
INDArray.permute(int... rearrange)
See: http://www.mathworks.com/help/matlab/ref/permute.html
|
INDArray |
BaseNDArray.permute(int[] rearrange)
See: http://www.mathworks.com/help/matlab/ref/permute.htsliceml
|
INDArray |
INDArray.prod(int dimension)
Returns the product along a given dimension
|
INDArray |
BaseNDArray.prod(int dimension)
Returns the product along a given dimension
|
INDArray |
INDArray.put(int[] indices,
INDArray element)
Inserts the element at the specified index
|
INDArray |
BaseNDArray.put(int[] indices,
INDArray element)
Inserts the element at the specified index
|
INDArray |
INDArray.put(int i,
INDArray element)
Inserts the element at the specified index
|
INDArray |
BaseNDArray.put(int i,
INDArray element)
Inserts the element at the specified index
|
INDArray |
INDArray.put(int i,
int j,
INDArray element)
Inserts the element at the specified index
|
INDArray |
BaseNDArray.put(int i,
int j,
INDArray element)
Inserts the element at the specified index
|
INDArray |
INDArray.put(int i,
int j,
Number element)
Inserts the element at the specified index
|
INDArray |
BaseNDArray.put(int i,
int j,
Number element)
Inserts the element at the specified index
|
INDArray |
INDArray.put(NDArrayIndex[] indices,
INDArray element) |
INDArray |
BaseNDArray.put(NDArrayIndex[] indices,
INDArray element) |
INDArray |
INDArray.put(NDArrayIndex[] indices,
Number element) |
INDArray |
BaseNDArray.put(NDArrayIndex[] indices,
Number element) |
INDArray |
INDArray.putColumn(int column,
INDArray toPut)
Insert a column in to this array
Will throw an exception if this
ndarray is not a matrix
|
INDArray |
BaseNDArray.putColumn(int column,
INDArray toPut)
Insert a column in to this array
Will throw an exception if this
ndarray is not a matrix
|
INDArray |
INDArray.putRow(int row,
INDArray toPut)
Insert a row in to this array
Will throw an exception if this
ndarray is not a matrix
|
INDArray |
BaseNDArray.putRow(int row,
INDArray toPut)
Insert a row in to this array
Will throw an exception if this
ndarray is not a matrix
|
INDArray |
INDArray.putScalar(int[] i,
Number value)
Insert the item at the specified indices
|
INDArray |
BaseNDArray.putScalar(int[] indexes,
Number value) |
INDArray |
INDArray.putScalar(int i,
Number value)
Insert the number linearly in to the ndarray
|
INDArray |
BaseNDArray.putScalar(int i,
Number value) |
INDArray |
INDArray.putSlice(int slice,
INDArray put)
Assigns the given matrix (put) to the specified slice
|
INDArray |
BaseNDArray.putSlice(int slice,
INDArray put)
Assigns the given matrix (put) to the specified slice
|
INDArray |
INDArray.ravel()
Returns a flattened version (row vector) of this ndarray
|
INDArray |
BaseNDArray.ravel()
Flattens the array for linear indexing
|
INDArray |
INDArray.rdiv(INDArray other)
Reverse division
|
INDArray |
BaseNDArray.rdiv(INDArray other)
Reverse division
|
INDArray |
INDArray.rdiv(INDArray other,
INDArray result)
Reverse division
|
INDArray |
BaseNDArray.rdiv(INDArray other,
INDArray result)
Reverse division
|
INDArray |
INDArray.rdiv(Number n) |
INDArray |
BaseNDArray.rdiv(Number n) |
INDArray |
INDArray.rdiv(Number n,
INDArray result) |
INDArray |
BaseNDArray.rdiv(Number n,
INDArray result) |
INDArray |
INDArray.rdivi(INDArray other)
Reverse divsion (in place)
|
INDArray |
BaseNDArray.rdivi(INDArray other)
Reverse divsion (in place)
|
INDArray |
INDArray.rdivi(INDArray other,
INDArray result)
Reverse division (in-place)
|
INDArray |
BaseNDArray.rdivi(INDArray other,
INDArray result)
Reverse division (in-place)
|
INDArray |
INDArray.rdivi(Number n)
In place reverse divison
|
INDArray |
BaseNDArray.rdivi(Number n) |
INDArray |
INDArray.rdivi(Number n,
INDArray result)
Reverse in place division
|
INDArray |
BaseNDArray.rdivi(Number n,
INDArray result) |
INDArray |
INDArray.reduce(Ops.DimensionOp op,
int dimension)
http://docs.scipy.org/doc/numpy/reference/generated/numpy.ufunc.reduce.html
|
INDArray |
BaseNDArray.reduce(Ops.DimensionOp op,
int dimension)
http://docs.scipy.org/doc/numpy/reference/generated/numpy.ufunc.reduce.html
|
INDArray |
INDArray.repmat(int[] shape)
Replicate and tile array to fill out to the given shape
|
INDArray |
BaseNDArray.repmat(int[] shape)
Replicate and tile array to fill out to the given shape
|
INDArray |
INDArray.reshape(int... newShape)
Reshapes the ndarray (can't change the length of the ndarray)
|
INDArray |
BaseNDArray.reshape(int[] shape)
Reshape the ndarray in to the specified dimensions,
possible errors being thrown for invalid shapes
|
INDArray |
INDArray.reshape(int rows,
int columns)
Reshapes the ndarray (can't change the length of the ndarray)
|
INDArray |
BaseNDArray.reshape(int newRows,
int newColumns)
Reshape the matrix.
|
INDArray |
INDArray.rsub(INDArray other) |
INDArray |
BaseNDArray.rsub(INDArray other) |
INDArray |
INDArray.rsub(INDArray other,
INDArray result)
Reverse subtraction
|
INDArray |
BaseNDArray.rsub(INDArray other,
INDArray result)
Reverse subtraction
|
INDArray |
INDArray.rsub(Number n) |
INDArray |
BaseNDArray.rsub(Number n) |
INDArray |
INDArray.rsub(Number n,
INDArray result) |
INDArray |
BaseNDArray.rsub(Number n,
INDArray result) |
INDArray |
INDArray.rsubi(INDArray other) |
INDArray |
BaseNDArray.rsubi(INDArray other) |
INDArray |
INDArray.rsubi(INDArray other,
INDArray result)
Reverse subtraction (in-place)
|
INDArray |
BaseNDArray.rsubi(INDArray other,
INDArray result)
Reverse subtraction (in-place)
|
INDArray |
INDArray.rsubi(Number n) |
INDArray |
BaseNDArray.rsubi(Number n) |
INDArray |
INDArray.rsubi(Number n,
INDArray result)
Reverse in place subtraction
|
INDArray |
BaseNDArray.rsubi(Number n,
INDArray result) |
INDArray |
INDArray.slice(int i)
Returns the specified slice of this ndarray
|
INDArray |
BaseNDArray.slice(int slice)
Returns the specified slice of this matrix.
|
INDArray |
INDArray.slice(int i,
int dimension)
Returns the specified slice of this ndarray
|
INDArray |
BaseNDArray.slice(int slice,
int dimension)
Returns the slice of this from the specified dimension
|
INDArray |
INDArray.std(int dimension)
Standard deviation of an ndarray along a dimension
|
INDArray |
BaseNDArray.std(int dimension)
Standard deviation of an ndarray along a dimension
|
INDArray |
INDArray.sub(INDArray other)
copy subtraction of two matrices
|
INDArray |
BaseNDArray.sub(INDArray other)
copy subtraction of two matrices
|
INDArray |
INDArray.sub(INDArray other,
INDArray result)
copy subtraction of two matrices
|
INDArray |
BaseNDArray.sub(INDArray other,
INDArray result)
copy subtraction of two matrices
|
INDArray |
INDArray.sub(Number n) |
INDArray |
BaseNDArray.sub(Number n) |
INDArray |
INDArray.sub(Number n,
INDArray result) |
INDArray |
BaseNDArray.sub(Number n,
INDArray result) |
INDArray |
INDArray.subArray(int[] offsets,
int[] shape,
int[] stride) |
INDArray |
BaseNDArray.subArray(int[] offsets,
int[] shape,
int[] stride) |
INDArray |
INDArray.subColumnVector(INDArray columnVector)
In place addition of a column vector
|
INDArray |
BaseNDArray.subColumnVector(INDArray columnVector)
In place addition of a column vector
|
INDArray |
INDArray.subi(INDArray other)
in place subtraction of two matrices
|
INDArray |
BaseNDArray.subi(INDArray other)
in place subtraction of two matrices
|
INDArray |
INDArray.subi(INDArray other,
INDArray result)
in place subtraction of two matrices
|
INDArray |
BaseNDArray.subi(INDArray other,
INDArray result)
in place subtraction of two matrices
|
INDArray |
INDArray.subi(Number n)
In place scalar subtraction
|
INDArray |
BaseNDArray.subi(Number n) |
INDArray |
INDArray.subi(Number n,
INDArray result)
In place subtraction of this ndarray
|
INDArray |
BaseNDArray.subi(Number n,
INDArray result) |
INDArray |
INDArray.subiColumnVector(INDArray columnVector)
In place addition of a column vector
|
INDArray |
BaseNDArray.subiColumnVector(INDArray columnVector)
In place addition of a column vector
|
INDArray |
INDArray.subiRowVector(INDArray rowVector)
In place addition of a column vector
|
INDArray |
BaseNDArray.subiRowVector(INDArray rowVector)
In place addition of a column vector
|
INDArray |
INDArray.subRowVector(INDArray rowVector)
In place addition of a column vector
|
INDArray |
BaseNDArray.subRowVector(INDArray rowVector)
In place addition of a column vector
|
INDArray |
INDArray.sum(int dimension)
Returns the sum along the last dimension of this ndarray
|
INDArray |
BaseNDArray.sum(int dimension)
Returns the sum along the last dimension of this ndarray
|
INDArray |
INDArray.swapAxes(int dimension,
int with)
Mainly here for people coming from numpy.
|
INDArray |
BaseNDArray.swapAxes(int dimension,
int with)
Mainly here for people coming from numpy.
|
INDArray |
INDArray.transpose()
Flip the rows and columns of a matrix
|
INDArray |
BaseNDArray.transpose()
Return transposed copy of this matrix.
|
INDArray |
INDArray.var(int dimension)
Returns the overall variance of this ndarray
|
INDArray |
BaseNDArray.var(int dimension)
Returns the overall variance of this ndarray
|
INDArray |
INDArray.vectorAlongDimension(int index,
int dimension)
Get the vector along a particular dimension
|
INDArray |
BaseNDArray.vectorAlongDimension(int index,
int dimension)
Get the vector along a particular dimension
|
Modifier and Type | Method and Description |
---|---|
INDArray |
INDArray.add(INDArray other)
copy addition of two matrices
|
INDArray |
BaseNDArray.add(INDArray other)
copy addition of two matrices
|
INDArray |
INDArray.add(INDArray other,
INDArray result)
copy addition of two matrices
|
INDArray |
BaseNDArray.add(INDArray other,
INDArray result)
copy addition of two matrices
|
INDArray |
INDArray.add(Number n,
INDArray result) |
INDArray |
BaseNDArray.add(Number n,
INDArray result) |
INDArray |
INDArray.addColumnVector(INDArray columnVector)
In place addition of a column vector
|
INDArray |
BaseNDArray.addColumnVector(INDArray columnVector)
In place addition of a column vector
|
INDArray |
INDArray.addi(INDArray other)
in place addition of two matrices
|
INDArray |
BaseNDArray.addi(INDArray other)
in place addition of two matrices
|
INDArray |
INDArray.addi(INDArray other,
INDArray result)
in place addition of two matrices
|
INDArray |
BaseNDArray.addi(INDArray other,
INDArray result)
in place addition of two matrices
|
INDArray |
INDArray.addi(Number n,
INDArray result)
In place addition
|
INDArray |
BaseNDArray.addi(Number n,
INDArray result) |
INDArray |
INDArray.addiColumnVector(INDArray columnVector)
In place addition of a column vector
|
INDArray |
BaseNDArray.addiColumnVector(INDArray columnVector)
In place addition of a column vector
|
INDArray |
INDArray.addiRowVector(INDArray rowVector)
In place addition of a column vector
|
INDArray |
BaseNDArray.addiRowVector(INDArray rowVector)
In place addition of a column vector
|
INDArray |
INDArray.addRowVector(INDArray rowVector)
In place addition of a column vector
|
INDArray |
BaseNDArray.addRowVector(INDArray rowVector)
In place addition of a column vector
|
protected void |
BaseNDArray.asserColumnVector(INDArray column) |
protected void |
BaseNDArray.assertRowVector(INDArray rowVector) |
protected void |
BaseNDArray.assertSlice(INDArray put,
int slice) |
INDArray |
INDArray.assign(INDArray arr)
Assign all of the elements in the given
ndarray to this ndarray
|
INDArray |
BaseNDArray.assign(INDArray arr)
Assign all of the elements in the given
ndarray to this ndarray
|
void |
INDArray.checkDimensions(INDArray other)
Validate dimensions are equal
|
void |
BaseNDArray.checkDimensions(INDArray other) |
protected void |
BaseNDArray.copyRealTo(INDArray arr) |
float |
INDArray.distance1(INDArray other)
Returns the (1-norm) distance.
|
float |
BaseNDArray.distance1(INDArray other)
Returns the (1-norm) distance.
|
float |
INDArray.distance2(INDArray other)
Returns the (euclidean) distance.
|
float |
BaseNDArray.distance2(INDArray other)
Returns the (euclidean) distance.
|
INDArray |
INDArray.div(INDArray other)
in place (element wise) division of two matrices
|
INDArray |
BaseNDArray.div(INDArray other)
in place (element wise) division of two matrices
|
INDArray |
INDArray.div(INDArray other,
INDArray result)
copy (element wise) division of two matrices
|
INDArray |
BaseNDArray.div(INDArray other,
INDArray result)
copy (element wise) division of two matrices
|
INDArray |
INDArray.div(Number n,
INDArray result) |
INDArray |
BaseNDArray.div(Number n,
INDArray result) |
INDArray |
INDArray.divColumnVector(INDArray columnVector)
In place addition of a column vector
|
INDArray |
BaseNDArray.divColumnVector(INDArray columnVector)
In place addition of a column vector
|
INDArray |
INDArray.divi(INDArray other)
in place (element wise) division of two matrices
|
INDArray |
BaseNDArray.divi(INDArray other)
in place (element wise) division of two matrices
|
INDArray |
INDArray.divi(INDArray other,
INDArray result)
in place (element wise) division of two matrices
|
INDArray |
BaseNDArray.divi(INDArray other,
INDArray result)
in place (element wise) division of two matrices
|
INDArray |
INDArray.divi(Number n,
INDArray result)
In place division of this ndarray
|
INDArray |
BaseNDArray.divi(Number n,
INDArray result) |
INDArray |
INDArray.diviColumnVector(INDArray columnVector)
In place addition of a column vector
|
INDArray |
BaseNDArray.diviColumnVector(INDArray columnVector)
In place addition of a column vector
|
INDArray |
INDArray.diviRowVector(INDArray rowVector)
In place addition of a column vector
|
INDArray |
BaseNDArray.diviRowVector(INDArray rowVector)
In place addition of a column vector
|
INDArray |
INDArray.divRowVector(INDArray rowVector)
In place addition of a column vector
|
INDArray |
BaseNDArray.divRowVector(INDArray rowVector)
In place addition of a column vector
|
protected INDArray |
BaseNDArray.doColumnWise(INDArray columnVector,
char operation)
Do a row wise op (a,s,m,d)
a : add
s : subtract
m : multiply
d : divide
|
protected INDArray |
BaseNDArray.doRowWise(INDArray rowVector,
char operation)
Do a row wise op (a,s,m,d)
a : add
s : subtract
m : multiply
d : divide
|
INDArray |
INDArray.eq(INDArray other)
equal than comparison:
If the given number is less than the
comparison number the item is 0 otherwise 1
|
INDArray |
BaseNDArray.eq(INDArray other) |
INDArray |
INDArray.eqi(INDArray other)
In place equal than comparison:
If the given number is less than the
comparison number the item is 0 otherwise 1
|
INDArray |
BaseNDArray.eqi(INDArray other) |
INDArray |
INDArray.gt(INDArray other)
greater than comparison:
If the given number is less than the
comparison number the item is 0 otherwise 1
|
INDArray |
BaseNDArray.gt(INDArray other) |
INDArray |
INDArray.gti(INDArray other)
In place greater than comparison:
If the given number is less than the
comparison number the item is 0 otherwise 1
|
INDArray |
BaseNDArray.gti(INDArray other) |
INDArray |
INDArray.lt(INDArray other)
less than comparison:
If the given number is less than the
comparison number the item is 0 otherwise 1
|
INDArray |
BaseNDArray.lt(INDArray other) |
INDArray |
INDArray.lti(INDArray other)
In place less than comparison:
If the given number is less than the
comparison number the item is 0 otherwise 1
|
INDArray |
BaseNDArray.lti(INDArray other) |
INDArray |
INDArray.mmul(INDArray other)
Perform a copy matrix multiplication
|
INDArray |
BaseNDArray.mmul(INDArray other)
Perform a copy matrix multiplication
|
INDArray |
INDArray.mmul(INDArray other,
INDArray result)
Perform an copy matrix multiplication
|
INDArray |
BaseNDArray.mmul(INDArray other,
INDArray result)
Perform an copy matrix multiplication
|
INDArray |
INDArray.mmuli(INDArray other)
Perform an copy matrix multiplication
|
INDArray |
BaseNDArray.mmuli(INDArray other)
Perform an copy matrix multiplication
|
INDArray |
INDArray.mmuli(INDArray other,
INDArray result)
Perform an copy matrix multiplication
|
INDArray |
BaseNDArray.mmuli(INDArray other,
INDArray result)
Perform an copy matrix multiplication
|
INDArray |
INDArray.mul(INDArray other)
copy (element wise) multiplication of two matrices
|
INDArray |
BaseNDArray.mul(INDArray other)
copy (element wise) multiplication of two matrices
|
INDArray |
INDArray.mul(INDArray other,
INDArray result)
copy (element wise) multiplication of two matrices
|
INDArray |
BaseNDArray.mul(INDArray other,
INDArray result)
copy (element wise) multiplication of two matrices
|
INDArray |
INDArray.mul(Number n,
INDArray result) |
INDArray |
BaseNDArray.mul(Number n,
INDArray result) |
INDArray |
INDArray.mulColumnVector(INDArray columnVector)
In place addition of a column vector
|
INDArray |
BaseNDArray.mulColumnVector(INDArray columnVector)
In place addition of a column vector
|
INDArray |
INDArray.muli(INDArray other)
in place (element wise) multiplication of two matrices
|
INDArray |
BaseNDArray.muli(INDArray other)
in place (element wise) multiplication of two matrices
|
INDArray |
INDArray.muli(INDArray other,
INDArray result)
in place (element wise) multiplication of two matrices
|
INDArray |
BaseNDArray.muli(INDArray other,
INDArray result)
in place (element wise) multiplication of two matrices
|
INDArray |
INDArray.muli(Number n,
INDArray result)
In place multiplication of this ndarray
|
INDArray |
BaseNDArray.muli(Number n,
INDArray result) |
INDArray |
INDArray.muliColumnVector(INDArray columnVector)
In place addition of a column vector
|
INDArray |
BaseNDArray.muliColumnVector(INDArray columnVector)
In place addition of a column vector
|
INDArray |
INDArray.muliRowVector(INDArray rowVector)
In place addition of a column vector
|
INDArray |
BaseNDArray.muliRowVector(INDArray rowVector)
In place addition of a column vector
|
INDArray |
INDArray.mulRowVector(INDArray rowVector)
In place addition of a column vector
|
INDArray |
BaseNDArray.mulRowVector(INDArray rowVector)
In place addition of a column vector
|
void |
SliceOp.operate(INDArray nd)
Operates on an ndarray slice
|
INDArray |
INDArray.put(int[] indices,
INDArray element)
Inserts the element at the specified index
|
INDArray |
BaseNDArray.put(int[] indices,
INDArray element)
Inserts the element at the specified index
|
INDArray |
INDArray.put(int i,
INDArray element)
Inserts the element at the specified index
|
INDArray |
BaseNDArray.put(int i,
INDArray element)
Inserts the element at the specified index
|
INDArray |
INDArray.put(int i,
int j,
INDArray element)
Inserts the element at the specified index
|
INDArray |
BaseNDArray.put(int i,
int j,
INDArray element)
Inserts the element at the specified index
|
INDArray |
INDArray.put(NDArrayIndex[] indices,
INDArray element) |
INDArray |
BaseNDArray.put(NDArrayIndex[] indices,
INDArray element) |
INDArray |
INDArray.putColumn(int column,
INDArray toPut)
Insert a column in to this array
Will throw an exception if this
ndarray is not a matrix
|
INDArray |
BaseNDArray.putColumn(int column,
INDArray toPut)
Insert a column in to this array
Will throw an exception if this
ndarray is not a matrix
|
INDArray |
INDArray.putRow(int row,
INDArray toPut)
Insert a row in to this array
Will throw an exception if this
ndarray is not a matrix
|
INDArray |
BaseNDArray.putRow(int row,
INDArray toPut)
Insert a row in to this array
Will throw an exception if this
ndarray is not a matrix
|
INDArray |
INDArray.putSlice(int slice,
INDArray put)
Assigns the given matrix (put) to the specified slice
|
INDArray |
BaseNDArray.putSlice(int slice,
INDArray put)
Assigns the given matrix (put) to the specified slice
|
INDArray |
INDArray.rdiv(INDArray other)
Reverse division
|
INDArray |
BaseNDArray.rdiv(INDArray other)
Reverse division
|
INDArray |
INDArray.rdiv(INDArray other,
INDArray result)
Reverse division
|
INDArray |
BaseNDArray.rdiv(INDArray other,
INDArray result)
Reverse division
|
INDArray |
INDArray.rdiv(Number n,
INDArray result) |
INDArray |
BaseNDArray.rdiv(Number n,
INDArray result) |
INDArray |
INDArray.rdivi(INDArray other)
Reverse divsion (in place)
|
INDArray |
BaseNDArray.rdivi(INDArray other)
Reverse divsion (in place)
|
INDArray |
INDArray.rdivi(INDArray other,
INDArray result)
Reverse division (in-place)
|
INDArray |
BaseNDArray.rdivi(INDArray other,
INDArray result)
Reverse division (in-place)
|
INDArray |
INDArray.rdivi(Number n,
INDArray result)
Reverse in place division
|
INDArray |
BaseNDArray.rdivi(Number n,
INDArray result) |
protected float |
BaseNDArray.reduceVector(Ops.DimensionOp op,
INDArray vector) |
INDArray |
INDArray.rsub(INDArray other) |
INDArray |
BaseNDArray.rsub(INDArray other) |
INDArray |
INDArray.rsub(INDArray other,
INDArray result)
Reverse subtraction
|
INDArray |
BaseNDArray.rsub(INDArray other,
INDArray result)
Reverse subtraction
|
INDArray |
INDArray.rsub(Number n,
INDArray result) |
INDArray |
BaseNDArray.rsub(Number n,
INDArray result) |
INDArray |
INDArray.rsubi(INDArray other) |
INDArray |
BaseNDArray.rsubi(INDArray other) |
INDArray |
INDArray.rsubi(INDArray other,
INDArray result)
Reverse subtraction (in-place)
|
INDArray |
BaseNDArray.rsubi(INDArray other,
INDArray result)
Reverse subtraction (in-place)
|
INDArray |
INDArray.rsubi(Number n,
INDArray result)
Reverse in place subtraction
|
INDArray |
BaseNDArray.rsubi(Number n,
INDArray result) |
float |
INDArray.squaredDistance(INDArray other)
Returns the squared (Euclidean) distance.
|
float |
BaseNDArray.squaredDistance(INDArray other)
Returns the squared (Euclidean) distance.
|
INDArray |
INDArray.sub(INDArray other)
copy subtraction of two matrices
|
INDArray |
BaseNDArray.sub(INDArray other)
copy subtraction of two matrices
|
INDArray |
INDArray.sub(INDArray other,
INDArray result)
copy subtraction of two matrices
|
INDArray |
BaseNDArray.sub(INDArray other,
INDArray result)
copy subtraction of two matrices
|
INDArray |
INDArray.sub(Number n,
INDArray result) |
INDArray |
BaseNDArray.sub(Number n,
INDArray result) |
INDArray |
INDArray.subColumnVector(INDArray columnVector)
In place addition of a column vector
|
INDArray |
BaseNDArray.subColumnVector(INDArray columnVector)
In place addition of a column vector
|
INDArray |
INDArray.subi(INDArray other)
in place subtraction of two matrices
|
INDArray |
BaseNDArray.subi(INDArray other)
in place subtraction of two matrices
|
INDArray |
INDArray.subi(INDArray other,
INDArray result)
in place subtraction of two matrices
|
INDArray |
BaseNDArray.subi(INDArray other,
INDArray result)
in place subtraction of two matrices
|
INDArray |
INDArray.subi(Number n,
INDArray result)
In place subtraction of this ndarray
|
INDArray |
BaseNDArray.subi(Number n,
INDArray result) |
INDArray |
INDArray.subiColumnVector(INDArray columnVector)
In place addition of a column vector
|
INDArray |
BaseNDArray.subiColumnVector(INDArray columnVector)
In place addition of a column vector
|
INDArray |
INDArray.subiRowVector(INDArray rowVector)
In place addition of a column vector
|
INDArray |
BaseNDArray.subiRowVector(INDArray rowVector)
In place addition of a column vector
|
INDArray |
INDArray.subRowVector(INDArray rowVector)
In place addition of a column vector
|
INDArray |
BaseNDArray.subRowVector(INDArray rowVector)
In place addition of a column vector
|
Modifier and Type | Method and Description |
---|---|
void |
INDArray.sliceVectors(List<INDArray> list) |
void |
BaseNDArray.sliceVectors(List<INDArray> list)
Flattens the array for linear indexing
|
Constructor and Description |
---|
BaseNDArray(List<INDArray> slices,
int[] shape)
Create an ndarray from the specified slices.
|
BaseNDArray(List<INDArray> slices,
int[] shape,
char ordering)
Create an ndarray from the specified slices.
|
BaseNDArray(List<INDArray> slices,
int[] shape,
int[] stride)
Create an ndarray from the specified slices.
|
BaseNDArray(List<INDArray> slices,
int[] shape,
int[] stride,
char ordering)
Create an ndarray from the specified slices.
|
Constructor and Description |
---|
TimeOperations(INDArray n) |
TimeOperations(INDArray n,
int numTimesRun) |
Modifier and Type | Method and Description |
---|---|
static INDArray |
Convolution.conv2d(IComplexNDArray input,
IComplexNDArray kernel,
Convolution.Type type) |
static INDArray |
Convolution.conv2d(INDArray input,
INDArray kernel,
Convolution.Type type)
2d convolution (aka the last 2 dimensions
|
static INDArray |
Convolution.convn(INDArray input,
INDArray kernel,
Convolution.Type type)
ND Convolution
|
static INDArray |
Convolution.convn(INDArray input,
INDArray kernel,
Convolution.Type type,
int[] axes)
ND Convolution
|
Modifier and Type | Method and Description |
---|---|
static INDArray |
Convolution.conv2d(INDArray input,
INDArray kernel,
Convolution.Type type)
2d convolution (aka the last 2 dimensions
|
static INDArray |
Convolution.convn(INDArray input,
INDArray kernel,
Convolution.Type type)
ND Convolution
|
static INDArray |
Convolution.convn(INDArray input,
INDArray kernel,
Convolution.Type type,
int[] axes)
ND Convolution
|
Modifier and Type | Method and Description |
---|---|
INDArray |
DataSet.exampleMaxs() |
INDArray |
DataSet.exampleMeans() |
INDArray |
DataSet.exampleSums() |
INDArray |
DataSet.getFeatureMatrix()
Get the feature matrix (inputs for the data)
|
INDArray |
DataSet.getFeatures() |
INDArray |
DataSet.getLabels()
Returns the labels for the dataset
|
Modifier and Type | Method and Description |
---|---|
void |
DataSet.addFeatureVector(INDArray toAdd)
Adds a feature for each example on to the current feature vector
|
void |
DataSet.addFeatureVector(INDArray feature,
int example)
The feature to add, and the example/row number
|
void |
DataSet.setFeatures(INDArray features) |
void |
DataSet.setLabels(INDArray labels) |
Constructor and Description |
---|
DataSet(INDArray first,
INDArray second)
Creates a dataset with the specified input matrix and labels
|
Modifier and Type | Method and Description |
---|---|
INDArray |
DataSet.exampleMaxs() |
INDArray |
DataSet.exampleMeans() |
INDArray |
DataSet.exampleSums() |
INDArray |
DataSet.getFeatureMatrix() |
INDArray |
DataSet.getFeatures() |
INDArray |
DataSet.getLabels() |
Modifier and Type | Method and Description |
---|---|
void |
DataSet.addFeatureVector(INDArray toAdd) |
void |
DataSet.addFeatureVector(INDArray feature,
int example) |
void |
DataSet.setFeatures(INDArray features) |
void |
DataSet.setLabels(INDArray labels) |
Modifier and Type | Field and Description |
---|---|
protected INDArray |
BaseDistanceFunction.base |
Modifier and Type | Method and Description |
---|---|
Float |
EuclideanDistance.apply(INDArray input) |
Float |
ManhattanDistance.apply(INDArray input) |
Float |
CosineSimilarity.apply(INDArray input) |
Constructor and Description |
---|
BaseDistanceFunction(INDArray base) |
CosineSimilarity(INDArray base) |
EuclideanDistance(INDArray base) |
ManhattanDistance(INDArray base) |
Modifier and Type | Interface and Description |
---|---|
interface |
BlasWrapper<NDARRAY_TYPE extends INDArray>
This class provides a cleaner direct interface to the BLAS routines by
extracting the parameters of the matrices from the matrices itself.
|
Modifier and Type | Method and Description |
---|---|
INDArray |
NDArrayFactory.appendBias(INDArray... vectors) |
INDArray |
BaseNDArrayFactory.appendBias(INDArray... vectors)
Merge the vectors and append a bias.
|
static INDArray |
Nd4j.appendBias(INDArray... vectors) |
INDArray |
NDArrayFactory.arange(double begin,
double end)
Array of evenly spaced values.
|
INDArray |
BaseNDArrayFactory.arange(double begin,
double end)
Array of evenly spaced values.
|
static INDArray |
Nd4j.arange(double begin,
double end)
Array of evenly spaced values.
|
INDArray |
NDArrayFactory.bilinearProducts(INDArray curr,
INDArray in)
Returns a column vector where each entry is the nth bilinear
product of the nth slices of the two tensors.
|
INDArray |
BaseNDArrayFactory.bilinearProducts(INDArray curr,
INDArray in)
Returns a column vector where each entry is the nth bilinear
product of the nth slices of the two tensors.
|
static INDArray |
Nd4j.bilinearProducts(INDArray curr,
INDArray in)
Returns a column vector where each entry is the nth bilinear
product of the nth slices of the two tensors.
|
INDArray |
NDArrayFactory.complexOnes(int rows,
int columns)
Creates an ndarray
|
INDArray |
BaseNDArrayFactory.complexOnes(int rows,
int columns)
Creates an ndarray
|
static INDArray |
Nd4j.complexOnes(int rows,
int columns)
Creates an ndarray
|
static INDArray |
Nd4j.complexZeros(int columns)
Creates an ndarray
|
static INDArray |
Nd4j.complexZeros(int rows,
int columns)
Creates a matrix of zeros
|
INDArray |
NDArrayFactory.concat(int dimension,
INDArray... toConcat)
Concatneate ndarrays along a dimension
|
INDArray |
BaseNDArrayFactory.concat(int dimension,
INDArray... toConcat)
concatenate ndarrays along a dimension
|
static INDArray |
Nd4j.concat(int dimension,
INDArray... toConcat)
Concatneate ndarrays along a dimension
|
INDArray |
NDArrayFactory.create(double[] data)
Creates a row vector with the data
|
INDArray |
BaseNDArrayFactory.create(double[] data)
Creates a row vector with the data
|
static INDArray |
Nd4j.create(double[] data)
Creates a row vector with the data
|
INDArray |
NDArrayFactory.create(double[][] data)
Create an ndarray with the given data layout
|
static INDArray |
Nd4j.create(double[][] data)
Create an ndarray based on the given data layout
|
static INDArray |
Nd4j.create(double[] data,
char order)
Creates a row vector with the data
|
INDArray |
NDArrayFactory.create(double[] data,
int[] shape)
Create an ndrray with the specified shape
|
INDArray |
BaseNDArrayFactory.create(double[] data,
int[] shape)
Create an ndrray with the specified shape
|
static INDArray |
Nd4j.create(double[] data,
int[] shape)
Create an ndrray with the specified shape
|
static INDArray |
Nd4j.create(double[] data,
int[] shape,
char ordering)
Create an ndrray with the specified shape
|
static INDArray |
Nd4j.create(double[] data,
int[] shape,
int offset)
Creates an ndarray with the specified shape
|
INDArray |
NDArrayFactory.create(double[] data,
int[] shape,
int[] stride,
int offset)
Creates an ndarray with the specified shape
|
abstract INDArray |
BaseNDArrayFactory.create(double[] data,
int[] shape,
int[] stride,
int offset)
Creates an ndarray with the specified shape
|
static INDArray |
Nd4j.create(double[] data,
int[] shape,
int[] stride,
int offset)
Creates an ndarray with the specified shape
|
static INDArray |
Nd4j.create(double[] data,
int[] shape,
int[] stride,
int offset,
char ordering)
Creates an ndarray with the specified shape
|
static INDArray |
Nd4j.create(double[] data,
int[] shape,
int offset,
char ordering)
Creates an ndarray with the specified shape
|
INDArray |
NDArrayFactory.create(double[] data,
int rows,
int columns,
int[] stride,
int offset)
Creates an ndarray with the specified shape
|
INDArray |
BaseNDArrayFactory.create(double[] data,
int rows,
int columns,
int[] stride,
int offset)
Creates an ndarray with the specified shape
|
static INDArray |
Nd4j.create(double[] data,
int rows,
int columns,
int[] stride,
int offset)
Creates an ndarray with the specified shape
|
static INDArray |
Nd4j.create(double[] data,
int rows,
int columns,
int[] stride,
int offset,
char ordering)
Creates an ndarray with the specified shape
|
INDArray |
NDArrayFactory.create(float[] data)
Creates a row vector with the data
|
INDArray |
BaseNDArrayFactory.create(float[] data)
Creates a row vector with the data
|
static INDArray |
Nd4j.create(float[] data)
Creates a row vector with the data
|
INDArray |
NDArrayFactory.create(float[][] floats) |
static INDArray |
Nd4j.create(float[][] floats) |
static INDArray |
Nd4j.create(float[] data,
char order)
Creates a row vector with the data
|
INDArray |
NDArrayFactory.create(float[] data,
int[] shape)
Create an ndrray with the specified shape
|
INDArray |
BaseNDArrayFactory.create(float[] data,
int[] shape)
Create an ndrray with the specified shape
|
static INDArray |
Nd4j.create(float[] data,
int[] shape)
Create an ndrray with the specified shape
|
static INDArray |
Nd4j.create(float[] data,
int[] shape,
char ordering)
Create an ndrray with the specified shape
|
static INDArray |
Nd4j.create(float[] data,
int[] shape,
char ordering,
int offset) |
INDArray |
NDArrayFactory.create(float[] data,
int[] shape,
int offset) |
static INDArray |
Nd4j.create(float[] data,
int[] shape,
int offset) |
static INDArray |
Nd4j.create(float[] data,
int[] shape,
int[] stride,
char ordering,
int offset) |
INDArray |
NDArrayFactory.create(float[] data,
int[] shape,
int[] stride,
int offset)
Creates an ndarray with the specified shape
|
abstract INDArray |
BaseNDArrayFactory.create(float[] data,
int[] shape,
int[] stride,
int offset)
Creates an ndarray with the specified shape
|
static INDArray |
Nd4j.create(float[] data,
int[] shape,
int[] stride,
int offset)
Creates an ndarray with the specified shape
|
INDArray |
NDArrayFactory.create(float[] data,
int[] shape,
int[] stride,
int offset,
char ordering) |
static INDArray |
Nd4j.create(float[] data,
int[] shape,
int[] stride,
int offset,
char ordering)
Creates an ndarray with the specified shape
|
INDArray |
NDArrayFactory.create(float[] data,
int rows,
int columns,
int[] stride,
int offset)
Creates an ndarray with the specified shape
|
INDArray |
BaseNDArrayFactory.create(float[] data,
int rows,
int columns,
int[] stride,
int offset)
Creates an ndarray with the specified shape
|
static INDArray |
Nd4j.create(float[] data,
int rows,
int columns,
int[] stride,
int offset)
Creates an ndarray with the specified shape
|
static INDArray |
Nd4j.create(float[] data,
int rows,
int columns,
int[] stride,
int offset,
char ordering)
Creates an ndarray with the specified shape
|
INDArray |
NDArrayFactory.create(int columns)
Creates a row vector with the specified number of columns
|
INDArray |
BaseNDArrayFactory.create(int columns)
Creates a row vector with the specified number of columns
|
static INDArray |
Nd4j.create(int columns)
Creates a row vector with the specified number of columns
|
INDArray |
NDArrayFactory.create(int[] shape)
Creates an ndarray with the specified shape
|
INDArray |
BaseNDArrayFactory.create(int[] shape)
Creates an ndarray with the specified shape
|
static INDArray |
Nd4j.create(int[] shape)
Creates an ndarray with the specified shape
|
static INDArray |
Nd4j.create(int[] shape,
char ordering)
Creates an ndarray with the specified shape
|
INDArray |
NDArrayFactory.create(int[] shape,
int[] stride)
Creates an ndarray with the specified shape
|
INDArray |
BaseNDArrayFactory.create(int[] shape,
int[] stride)
Creates an ndarray with the specified shape
|
static INDArray |
Nd4j.create(int[] shape,
int[] stride)
Creates an ndarray with the specified shape
|
static INDArray |
Nd4j.create(int[] shape,
int[] stride,
char ordering)
Creates an ndarray with the specified shape
|
INDArray |
NDArrayFactory.create(int[] shape,
int[] stride,
int offset)
Creates an ndarray with the specified shape
|
INDArray |
BaseNDArrayFactory.create(int[] shape,
int[] stride,
int offset)
Creates an ndarray with the specified shape
|
static INDArray |
Nd4j.create(int[] shape,
int[] stride,
int offset)
Creates an ndarray with the specified shape
|
static INDArray |
Nd4j.create(int[] shape,
int[] stride,
int offset,
char ordering)
Creates an ndarray with the specified shape
|
static INDArray |
Nd4j.create(int columns,
char order)
Creates a row vector with the specified number of columns
|
INDArray |
NDArrayFactory.create(int rows,
int columns)
Creates an ndarray with the specified shape
|
INDArray |
BaseNDArrayFactory.create(int rows,
int columns)
Creates an ndarray with the specified shape
|
static INDArray |
Nd4j.create(int rows,
int columns)
Creates an ndarray with the specified shape
|
static INDArray |
Nd4j.create(int rows,
int columns,
char ordering)
Creates an ndarray with the specified shape
|
INDArray |
NDArrayFactory.create(int rows,
int columns,
int[] stride)
Creates an ndarray with the specified shape
|
INDArray |
BaseNDArrayFactory.create(int rows,
int columns,
int[] stride)
Creates an ndarray with the specified shape
|
static INDArray |
Nd4j.create(int rows,
int columns,
int[] stride)
Creates an ndarray with the specified shape
|
static INDArray |
Nd4j.create(int rows,
int columns,
int[] stride,
char ordering)
Creates an ndarray with the specified shape
|
INDArray |
NDArrayFactory.create(int rows,
int columns,
int[] stride,
int offset)
Creates an ndarray with the specified shape
|
INDArray |
BaseNDArrayFactory.create(int rows,
int columns,
int[] stride,
int offset)
Creates an ndarray with the specified shape
|
static INDArray |
Nd4j.create(int rows,
int columns,
int[] stride,
int offset)
Creates an ndarray with the specified shape
|
static INDArray |
Nd4j.create(int rows,
int columns,
int[] stride,
int offset,
char ordering)
Creates an ndarray with the specified shape
|
INDArray |
NDArrayFactory.create(List<INDArray> list,
int[] shape)
Creates an ndarray with the specified shape
|
abstract INDArray |
BaseNDArrayFactory.create(List<INDArray> list,
int[] shape)
Creates an ndarray with the specified shape
|
static INDArray |
Nd4j.create(List<INDArray> list,
int[] shape)
Creates an ndarray with the specified shape
|
static INDArray |
Nd4j.create(List<INDArray> list,
int[] shape,
char ordering)
Creates an ndarray with the specified shape
|
INDArray |
NDArrayFactory.eye(int n)
Create the identity ndarray
|
INDArray |
BaseNDArrayFactory.eye(int n)
Create the identity ndarray
|
static INDArray |
Nd4j.eye(int n)
Create the identity ndarray
|
INDArray |
NDArrayFactory.hstack(INDArray... arrs)
Concatenates two matrices horizontally.
|
INDArray |
BaseNDArrayFactory.hstack(INDArray... arrs)
Concatenates two matrices horizontally.
|
static INDArray |
Nd4j.hstack(INDArray... arrs)
Concatenates two matrices horizontally.
|
INDArray |
NDArrayFactory.linspace(int lower,
int upper,
int num)
Generate a linearly spaced vector
|
INDArray |
BaseNDArrayFactory.linspace(int lower,
int upper,
int num)
Generate a linearly spaced vector
|
static INDArray |
Nd4j.linspace(int lower,
int upper,
int num)
Generate a linearly spaced vector
|
INDArray |
NDArrayFactory.ones(int columns)
Creates a row vector with the specified number of columns
|
INDArray |
BaseNDArrayFactory.ones(int columns)
Creates a row vector with the specified number of columns
|
static INDArray |
Nd4j.ones(int columns)
Creates a row vector with the specified number of columns
|
INDArray |
NDArrayFactory.ones(int[] shape)
Create an ndarray of ones
|
INDArray |
BaseNDArrayFactory.ones(int[] shape)
Create an ndarray of ones
|
static INDArray |
Nd4j.ones(int[] shape)
Create an ndarray of ones
|
INDArray |
NDArrayFactory.ones(int rows,
int columns)
Creates a row vector with the specified number of columns
|
INDArray |
BaseNDArrayFactory.ones(int rows,
int columns)
Creates a row vector with the specified number of columns
|
static INDArray |
Nd4j.ones(int rows,
int columns)
Creates a row vector with the specified number of columns
|
INDArray |
NDArrayFactory.rand(int[] shape)
Create a random ndarray with the given shape using
the current time as the seed
|
INDArray |
BaseNDArrayFactory.rand(int[] shape)
Create a random ndarray with the given shape using
the current time as the seed
|
static INDArray |
Nd4j.rand(int[] shape)
Create a random ndarray with the given shape using
the current time as the seed
|
INDArray |
NDArrayFactory.rand(int[] shape,
float min,
float max,
org.apache.commons.math3.random.RandomGenerator rng)
Generates a random matrix between min and max
|
INDArray |
BaseNDArrayFactory.rand(int[] shape,
float min,
float max,
org.apache.commons.math3.random.RandomGenerator rng)
Generates a random matrix between min and max
|
static INDArray |
Nd4j.rand(int[] shape,
float min,
float max,
org.apache.commons.math3.random.RandomGenerator rng)
Generates a random matrix between min and max
|
INDArray |
NDArrayFactory.rand(int[] shape,
long seed)
Create a random ndarray with the given shape using the given rng
|
INDArray |
BaseNDArrayFactory.rand(int[] shape,
long seed)
Create a random ndarray with the given shape using the given rng
|
static INDArray |
Nd4j.rand(int[] shape,
long seed)
Create a random ndarray with the given shape using the given rng
|
INDArray |
NDArrayFactory.rand(int[] shape,
org.apache.commons.math3.random.RandomGenerator r)
Create a random ndarray with the given shape using the given rng
|
INDArray |
BaseNDArrayFactory.rand(int[] shape,
org.apache.commons.math3.random.RandomGenerator r)
Create a random ndarray with the given shape using the given rng
|
static INDArray |
Nd4j.rand(int[] shape,
org.apache.commons.math3.random.RandomGenerator r)
Create a random ndarray with the given shape using the given rng
|
INDArray |
NDArrayFactory.rand(int[] shape,
org.apache.commons.math3.distribution.RealDistribution r)
Create a random ndarray with the given shape using the given rng
|
INDArray |
BaseNDArrayFactory.rand(int[] shape,
org.apache.commons.math3.distribution.RealDistribution r)
Create a random ndarray with the given shape using the given rng
|
static INDArray |
Nd4j.rand(int[] shape,
org.apache.commons.math3.distribution.RealDistribution r)
Create a random ndarray with the given shape using the given rng
|
INDArray |
NDArrayFactory.rand(int rows,
int columns)
Create a random ndarray with the given shape using
the current time as the seed
|
INDArray |
BaseNDArrayFactory.rand(int rows,
int columns)
Create a random ndarray with the given shape using
the current time as the seed
|
static INDArray |
Nd4j.rand(int rows,
int columns)
Create a random ndarray with the given shape using
the current time as the seed
|
INDArray |
NDArrayFactory.rand(int rows,
int columns,
float min,
float max,
org.apache.commons.math3.random.RandomGenerator rng)
Generates a random matrix between min and max
|
INDArray |
BaseNDArrayFactory.rand(int rows,
int columns,
float min,
float max,
org.apache.commons.math3.random.RandomGenerator rng)
Generates a random matrix between min and max
|
static INDArray |
Nd4j.rand(int rows,
int columns,
float min,
float max,
org.apache.commons.math3.random.RandomGenerator rng)
Generates a random matrix between min and max
|
INDArray |
NDArrayFactory.rand(int rows,
int columns,
long seed)
Create a random ndarray with the given shape using the given rng
|
INDArray |
BaseNDArrayFactory.rand(int rows,
int columns,
long seed)
Create a random ndarray with the given shape using the given rng
|
static INDArray |
Nd4j.rand(int rows,
int columns,
long seed)
Create a random ndarray with the given shape using the given rng
|
INDArray |
NDArrayFactory.rand(int rows,
int columns,
org.apache.commons.math3.random.RandomGenerator r)
Create a random ndarray with the given shape using the given rng
|
INDArray |
BaseNDArrayFactory.rand(int rows,
int columns,
org.apache.commons.math3.random.RandomGenerator r)
Create a random ndarray with the given shape using the given rng
|
static INDArray |
Nd4j.rand(int rows,
int columns,
org.apache.commons.math3.random.RandomGenerator r)
Create a random ndarray with the given shape using the given rng
|
INDArray |
NDArrayFactory.randn(int[] shape)
Random normal using the current time stamp
as the seed
|
INDArray |
BaseNDArrayFactory.randn(int[] shape)
Random normal using the current time stamp
as the seed
|
static INDArray |
Nd4j.randn(int[] shape)
Random normal using the current time stamp
as the seed
|
INDArray |
NDArrayFactory.randn(int[] shape,
long seed)
Random normal using the specified seed
|
INDArray |
BaseNDArrayFactory.randn(int[] shape,
long seed)
Random normal using the specified seed
|
static INDArray |
Nd4j.randn(int[] shape,
long seed)
Random normal using the specified seed
|
INDArray |
NDArrayFactory.randn(int[] shape,
org.apache.commons.math3.random.RandomGenerator r)
Random normal using the given rng
|
INDArray |
BaseNDArrayFactory.randn(int[] shape,
org.apache.commons.math3.random.RandomGenerator r)
Random normal using the given rng
|
static INDArray |
Nd4j.randn(int[] shape,
org.apache.commons.math3.random.RandomGenerator r)
Random normal using the given rng
|
INDArray |
NDArrayFactory.randn(int rows,
int columns)
Random normal using the current time stamp
as the seed
|
INDArray |
BaseNDArrayFactory.randn(int rows,
int columns)
Random normal using the current time stamp
as the seed
|
static INDArray |
Nd4j.randn(int rows,
int columns)
Random normal using the current time stamp
as the seed
|
INDArray |
NDArrayFactory.randn(int rows,
int columns,
long seed)
Random normal using the specified seed
|
INDArray |
BaseNDArrayFactory.randn(int rows,
int columns,
long seed)
Random normal using the specified seed
|
static INDArray |
Nd4j.randn(int rows,
int columns,
long seed)
Random normal using the specified seed
|
INDArray |
NDArrayFactory.randn(int rows,
int columns,
org.apache.commons.math3.random.RandomGenerator r)
Random normal using the given rng
|
INDArray |
BaseNDArrayFactory.randn(int rows,
int columns,
org.apache.commons.math3.random.RandomGenerator r)
Random normal using the given rng
|
static INDArray |
Nd4j.randn(int rows,
int columns,
org.apache.commons.math3.random.RandomGenerator r)
Random normal using the given rng
|
static INDArray |
Nd4j.read(DataInputStream dis)
Read in an ndarray from a data input stream
|
static INDArray |
Nd4j.repeat(INDArray n,
int num)
Create an n x (shape)
ndarray where the ndarray is repeated num times
|
INDArray |
NDArrayFactory.reverse(INDArray reverse)
Reverses the passed in matrix such that m[0] becomes m[m.length - 1] etc
|
INDArray |
BaseNDArrayFactory.reverse(INDArray reverse)
Reverses the passed in matrix such that m[0] becomes m[m.length - 1] etc
|
static INDArray |
Nd4j.reverse(INDArray reverse)
Reverses the passed in matrix such that m[0] becomes m[m.length - 1] etc
|
INDArray |
NDArrayFactory.rot(INDArray reverse)
Reverses the passed in matrix such that m[0] becomes m[m.length - 1] etc
|
INDArray |
BaseNDArrayFactory.rot(INDArray reverse)
Reverses the passed in matrix such that m[0] becomes m[m.length - 1] etc
|
static INDArray |
Nd4j.rot(INDArray reverse)
Reverses the passed in matrix such that m[0] becomes m[m.length - 1] etc
|
INDArray |
NDArrayFactory.scalar(double value)
Create a scalar nd array with the specified value and offset
|
INDArray |
BaseNDArrayFactory.scalar(double value)
Create a scalar nd array with the specified value and offset
|
static INDArray |
Nd4j.scalar(double value)
Create a scalar nd array with the specified value and offset
|
INDArray |
NDArrayFactory.scalar(double value,
int offset)
Create a scalar nd array with the specified value and offset
|
INDArray |
BaseNDArrayFactory.scalar(double value,
int offset)
Create a scalar nd array with the specified value and offset
|
static INDArray |
Nd4j.scalar(double value,
int offset)
Create a scalar nd array with the specified value and offset
|
INDArray |
NDArrayFactory.scalar(float value)
Create a scalar nd array with the specified value and offset
|
INDArray |
BaseNDArrayFactory.scalar(float value)
Create a scalar nd array with the specified value and offset
|
static INDArray |
Nd4j.scalar(float value)
Create a scalar nd array with the specified value and offset
|
INDArray |
NDArrayFactory.scalar(float value,
int offset)
Create a scalar nd array with the specified value and offset
|
INDArray |
BaseNDArrayFactory.scalar(float value,
int offset)
Create a scalar nd array with the specified value and offset
|
static INDArray |
Nd4j.scalar(float value,
int offset)
Create a scalar nd array with the specified value and offset
|
INDArray |
NDArrayFactory.scalar(Number value)
Create a scalar ndarray with the specified offset
|
INDArray |
BaseNDArrayFactory.scalar(Number value)
Create a scalar ndarray with the specified offset
|
static INDArray |
Nd4j.scalar(Number value)
Create a scalar ndarray with the specified offset
|
INDArray |
NDArrayFactory.scalar(Number value,
int offset)
Create a scalar ndarray with the specified offset
|
INDArray |
BaseNDArrayFactory.scalar(Number value,
int offset)
Create a scalar ndarray with the specified offset
|
static INDArray |
Nd4j.scalar(Number value,
int offset)
Create a scalar ndarray with the specified offset
|
INDArray |
NDArrayFactory.toFlattened(Collection<INDArray> matrices)
Returns a flattened ndarray with all of the elements in each ndarray
regardless of dimension
|
INDArray |
BaseNDArrayFactory.toFlattened(Collection<INDArray> matrices)
Returns a vector with all of the el
|
static INDArray |
Nd4j.toFlattened(Collection<INDArray> matrices) |
INDArray |
NDArrayFactory.toFlattened(INDArray... matrices) |
INDArray |
BaseNDArrayFactory.toFlattened(INDArray... matrices) |
static INDArray |
Nd4j.toFlattened(INDArray... matrices) |
INDArray |
NDArrayFactory.toFlattened(int length,
Iterator<? extends INDArray>... matrices)
Returns a flattened ndarray with all of the elements in each ndarray
regardless of dimension
|
INDArray |
BaseNDArrayFactory.toFlattened(int length,
Iterator<? extends INDArray>... matrices) |
static INDArray |
Nd4j.toFlattened(int length,
Iterator<? extends INDArray>... matrices) |
INDArray |
NDArrayFactory.valueArrayOf(int[] shape,
double value)
Creates an ndarray with the specified value
as the only value in the ndarray
|
INDArray |
BaseNDArrayFactory.valueArrayOf(int[] shape,
double value)
Creates an ndarray with the specified value
as the only value in the ndarray
|
static INDArray |
Nd4j.valueArrayOf(int[] shape,
double value)
Creates an ndarray with the specified value
as the only value in the ndarray
|
static INDArray |
Nd4j.valueArrayOf(int num,
double value)
Creates an ndarray with the specified value
as the only value in the ndarray
|
INDArray |
NDArrayFactory.valueArrayOf(int rows,
int columns,
double value)
Creates a row vector with the specified number of columns
|
INDArray |
BaseNDArrayFactory.valueArrayOf(int rows,
int columns,
double value)
Creates a row vector with the specified number of columns
|
static INDArray |
Nd4j.valueArrayOf(int rows,
int columns,
double value)
Creates a row vector with the specified number of columns
|
INDArray |
NDArrayFactory.vstack(INDArray... arrs)
Concatenates two matrices vertically.
|
INDArray |
BaseNDArrayFactory.vstack(INDArray... arrs)
Concatenates two matrices vertically.
|
static INDArray |
Nd4j.vstack(INDArray... arrs)
Concatenates two matrices vertically.
|
INDArray |
NDArrayFactory.zeros(int columns)
Creates a row vector with the specified number of columns
|
INDArray |
BaseNDArrayFactory.zeros(int columns)
Creates a row vector with the specified number of columns
|
static INDArray |
Nd4j.zeros(int columns)
Creates a row vector with the specified number of columns
|
INDArray |
NDArrayFactory.zeros(int[] shape)
Create an ndarray of zeros
|
INDArray |
BaseNDArrayFactory.zeros(int[] shape)
Create an ndarray of zeros
|
static INDArray |
Nd4j.zeros(int[] shape)
Create an ndarray of zeros
|
INDArray |
NDArrayFactory.zeros(int rows,
int columns)
Creates a row vector with the specified number of columns
|
INDArray |
BaseNDArrayFactory.zeros(int rows,
int columns)
Creates a row vector with the specified number of columns
|
static INDArray |
Nd4j.zeros(int rows,
int columns)
Creates a row vector with the specified number of columns
|
Modifier and Type | Method and Description |
---|---|
INDArray |
NDArrayFactory.appendBias(INDArray... vectors) |
INDArray |
BaseNDArrayFactory.appendBias(INDArray... vectors)
Merge the vectors and append a bias.
|
static INDArray |
Nd4j.appendBias(INDArray... vectors) |
INDArray |
NDArrayFactory.bilinearProducts(INDArray curr,
INDArray in)
Returns a column vector where each entry is the nth bilinear
product of the nth slices of the two tensors.
|
INDArray |
BaseNDArrayFactory.bilinearProducts(INDArray curr,
INDArray in)
Returns a column vector where each entry is the nth bilinear
product of the nth slices of the two tensors.
|
static INDArray |
Nd4j.bilinearProducts(INDArray curr,
INDArray in)
Returns a column vector where each entry is the nth bilinear
product of the nth slices of the two tensors.
|
INDArray |
NDArrayFactory.concat(int dimension,
INDArray... toConcat)
Concatneate ndarrays along a dimension
|
INDArray |
BaseNDArrayFactory.concat(int dimension,
INDArray... toConcat)
concatenate ndarrays along a dimension
|
static INDArray |
Nd4j.concat(int dimension,
INDArray... toConcat)
Concatneate ndarrays along a dimension
|
void |
NDArrayFactory.copy(INDArray a,
INDArray b)
Copy a to b
|
void |
BaseNDArrayFactory.copy(INDArray a,
INDArray b)
Copy a to b
|
static void |
Nd4j.copy(INDArray a,
INDArray b)
Copy a to b
|
IComplexNDArray |
NDArrayFactory.createComplex(INDArray arr)
Create a complex ndarray from the passed in indarray
|
abstract IComplexNDArray |
BaseNDArrayFactory.createComplex(INDArray arr)
Create a complex ndarray from the passed in indarray
|
static IComplexNDArray |
Nd4j.createComplex(INDArray arr)
Create a complex ndarray from the passed in indarray
|
static boolean |
Nd4j.hasInvalidNumber(INDArray num)
Returns true if the given ndarray has either
an infinite or nan
|
INDArray |
NDArrayFactory.hstack(INDArray... arrs)
Concatenates two matrices horizontally.
|
INDArray |
BaseNDArrayFactory.hstack(INDArray... arrs)
Concatenates two matrices horizontally.
|
static INDArray |
Nd4j.hstack(INDArray... arrs)
Concatenates two matrices horizontally.
|
static INDArray |
Nd4j.repeat(INDArray n,
int num)
Create an n x (shape)
ndarray where the ndarray is repeated num times
|
INDArray |
NDArrayFactory.reverse(INDArray reverse)
Reverses the passed in matrix such that m[0] becomes m[m.length - 1] etc
|
INDArray |
BaseNDArrayFactory.reverse(INDArray reverse)
Reverses the passed in matrix such that m[0] becomes m[m.length - 1] etc
|
static INDArray |
Nd4j.reverse(INDArray reverse)
Reverses the passed in matrix such that m[0] becomes m[m.length - 1] etc
|
INDArray |
NDArrayFactory.rot(INDArray reverse)
Reverses the passed in matrix such that m[0] becomes m[m.length - 1] etc
|
INDArray |
BaseNDArrayFactory.rot(INDArray reverse)
Reverses the passed in matrix such that m[0] becomes m[m.length - 1] etc
|
static INDArray |
Nd4j.rot(INDArray reverse)
Reverses the passed in matrix such that m[0] becomes m[m.length - 1] etc
|
void |
NDArrayFactory.rot90(INDArray toRotate)
Rotate a matrix 90 degrees
|
void |
BaseNDArrayFactory.rot90(INDArray toRotate)
Rotate a matrix 90 degrees
|
static void |
Nd4j.rot90(INDArray toRotate)
Rotate a matrix 90 degrees
|
INDArray |
NDArrayFactory.toFlattened(INDArray... matrices) |
INDArray |
BaseNDArrayFactory.toFlattened(INDArray... matrices) |
static INDArray |
Nd4j.toFlattened(INDArray... matrices) |
protected static void |
BaseNDArrayFactory.validateConcat(int dimension,
INDArray... arrs) |
INDArray |
NDArrayFactory.vstack(INDArray... arrs)
Concatenates two matrices vertically.
|
INDArray |
BaseNDArrayFactory.vstack(INDArray... arrs)
Concatenates two matrices vertically.
|
static INDArray |
Nd4j.vstack(INDArray... arrs)
Concatenates two matrices vertically.
|
static void |
Nd4j.write(INDArray arr,
DataOutputStream dataOutputStream)
Write an ndarray to the specified outputs tream
|
Modifier and Type | Method and Description |
---|---|
INDArray |
NDArrayFactory.create(List<INDArray> list,
int[] shape)
Creates an ndarray with the specified shape
|
abstract INDArray |
BaseNDArrayFactory.create(List<INDArray> list,
int[] shape)
Creates an ndarray with the specified shape
|
static INDArray |
Nd4j.create(List<INDArray> list,
int[] shape)
Creates an ndarray with the specified shape
|
static INDArray |
Nd4j.create(List<INDArray> list,
int[] shape,
char ordering)
Creates an ndarray with the specified shape
|
INDArray |
NDArrayFactory.toFlattened(Collection<INDArray> matrices)
Returns a flattened ndarray with all of the elements in each ndarray
regardless of dimension
|
INDArray |
BaseNDArrayFactory.toFlattened(Collection<INDArray> matrices)
Returns a vector with all of the el
|
static INDArray |
Nd4j.toFlattened(Collection<INDArray> matrices) |
Modifier and Type | Method and Description |
---|---|
static IComplexNDArray |
FFT.fft(INDArray input)
1d discrete fourier applyTransformToOrigin, note that this will
throw an exception if the passed in input
isn't a vector.
|
static IComplexNDArray |
FFT.fft(INDArray transform,
int numElements)
FFT along a particular dimension
|
static IComplexNDArray |
FFT.fft(INDArray transform,
int numElements,
int dimension)
FFT along a particular dimension
|
static IComplexNDArray |
FFT.fftn(INDArray transform)
FFT on the whole array (n is equal the first dimension shape)
|
static IComplexNDArray |
FFT.fftn(INDArray transform,
int dimension,
int numElements)
Computes the fft along the first non singleton dimension of applyTransformToOrigin
when it is a matrix
|
static IComplexNDArray |
FFT.ifft(INDArray transform,
int numElements)
FFT along a particular dimension
|
static IComplexNDArray |
FFT.ifft(INDArray transform,
int numElements,
int dimension)
IFFT along a particular dimension
|
static IComplexNDArray |
FFT.ifftn(INDArray transform) |
static IComplexNDArray |
FFT.ifftn(INDArray transform,
int dimension,
int numElements)
ND IFFT, computes along the first on singleton dimension of
applyTransformToOrigin
|
void |
FFTSliceOp.operate(INDArray nd)
Operates on an ndarray slice
|
void |
IFFTSliceOp.operate(INDArray nd)
Operates on an ndarray slice
|
Modifier and Type | Field and Description |
---|---|
INDArray |
AdaGrad.adjustedGradient |
INDArray |
AdaGrad.gradient |
INDArray |
AdaGrad.historicalGradient |
Modifier and Type | Method and Description |
---|---|
INDArray |
AdaGrad.getLearningRates(INDArray gradient)
Gets feature specific learning rates
Adagrad keeps a history of gradients being passed in.
|
Modifier and Type | Method and Description |
---|---|
INDArray |
AdaGrad.getLearningRates(INDArray gradient)
Gets feature specific learning rates
Adagrad keeps a history of gradients being passed in.
|
Modifier and Type | Method and Description |
---|---|
static float |
LossFunctions.reconEntropy(INDArray input,
INDArray hBias,
INDArray vBias,
INDArray W,
ActivationFunction activationFunction)
Reconstruction entropy for Denoising AutoEncoders and RBMs
|
static float |
LossFunctions.score(INDArray labels,
LossFunctions.LossFunction lossFunction,
INDArray output,
double l2,
boolean useRegularization)
Generic scoring function
|
Modifier and Type | Field and Description |
---|---|
protected INDArray |
BaseElementWiseOp.from |
protected INDArray |
BaseTwoArrayElementWiseOp.other |
protected INDArray |
BaseTwoArrayElementWiseOp.to |
Modifier and Type | Method and Description |
---|---|
INDArray |
BaseElementWiseOp.from()
The input matrix
|
INDArray |
ElementWiseOp.from()
The input matrix
|
INDArray |
BaseTwoArrayElementWiseOp.to()
The output matrix
|
INDArray |
TwoArrayElementWiseOp.to()
The output matrix
|
Modifier and Type | Method and Description |
---|---|
Object |
BaseTwoArrayElementWiseOp.apply(INDArray origin,
Object value,
int i)
The transformation for a given value
|
<E> E |
ElementWiseOp.apply(INDArray origin,
Object value,
int i)
The transformation for a given value (a scalar)
|
void |
BaseTwoArrayElementWiseOp.applyTransformToDestination(INDArray from,
INDArray destination,
INDArray other,
int i)
Apply the function from to the specified index
in to.
|
void |
TwoArrayElementWiseOp.applyTransformToDestination(INDArray from,
INDArray destination,
INDArray other,
int i)
Apply a transform
based on the passed in ndarray to other
|
void |
BaseElementWiseOp.applyTransformToOrigin(INDArray origin,
int i)
Apply the transformation at from[i]
|
void |
ElementWiseOp.applyTransformToOrigin(INDArray origin,
int i)
Apply the transformation at from[i]
|
void |
BaseElementWiseOp.applyTransformToOrigin(INDArray origin,
int i,
Object valueToApply)
Apply the transformation at from[i] using the supplied value
|
void |
ElementWiseOp.applyTransformToOrigin(INDArray origin,
int i,
Object valueToApply)
Apply the transformation at from[i] using the supplied value (a scalar ndarray)
|
protected Object |
BaseTwoArrayElementWiseOp.doOp(INDArray originNDArray,
int i,
Object value) |
ArrayOps |
ArrayOps.from(INDArray from) |
TwoArrayOps |
TwoArrayOps.from(INDArray from) |
Object |
BaseElementWiseOp.getFromOrigin(INDArray origin,
int i) |
<E> E |
ElementWiseOp.getFromOrigin(INDArray origin,
int i)
Get the element at from
at index i
|
Object |
BaseTwoArrayElementWiseOp.getOther(INDArray other,
int i)
Returns the element
in destination at index i
|
<E> E |
TwoArrayElementWiseOp.getOther(INDArray destination,
int i)
Returns the element
in destination at index i
|
TwoArrayOps |
TwoArrayOps.other(INDArray other) |
ArrayOps |
ArrayOps.scalar(INDArray scalar) |
TwoArrayOps |
TwoArrayOps.to(INDArray to) |
Modifier and Type | Method and Description |
---|---|
static double |
Ops.max(INDArray arr) |
static double |
Ops.mean(INDArray arr) |
static double |
Ops.min(INDArray arr) |
static double |
Ops.norm1(INDArray arr) |
static double |
Ops.norm2(INDArray arr) |
static double |
Ops.normmax(INDArray arr) |
static double |
Ops.prod(INDArray arr) |
static double |
Ops.std(INDArray arr) |
static double |
Ops.sum(INDArray arr) |
static double |
Ops.var(INDArray arr) |
Modifier and Type | Method and Description |
---|---|
float |
Max.accumulate(INDArray arr,
int i,
float soFar) |
abstract float |
BaseScalarOp.accumulate(INDArray arr,
int i,
float soFar) |
float |
Norm2.accumulate(INDArray arr,
int i,
float soFar) |
float |
Sum.accumulate(INDArray arr,
int i,
float soFar) |
float |
NormMax.accumulate(INDArray arr,
int i,
float soFar) |
float |
StandardDeviation.accumulate(INDArray arr,
int i,
float soFar) |
float |
Variance.accumulate(INDArray arr,
int i,
float soFar) |
float |
Prod.accumulate(INDArray arr,
int i,
float soFar) |
float |
Mean.accumulate(INDArray arr,
int i,
float soFar) |
float |
Min.accumulate(INDArray arr,
int i,
float soFar) |
float |
Norm1.accumulate(INDArray arr,
int i,
float soFar) |
Float |
BaseScalarOp.apply(INDArray input) |
Float |
StandardDeviation.apply(INDArray input) |
Float |
Variance.apply(INDArray input) |
float |
StandardDeviation.std(INDArray arr) |
float |
Variance.var(INDArray arr)
Variance (see: apache commons)
|
Modifier and Type | Method and Description |
---|---|
static INDArray |
Transforms.abs(INDArray ndArray) |
static INDArray |
Transforms.downSample(INDArray d1,
int[] stride)
Down sampling a signal (specifically the first 2 dimensions)
|
static INDArray |
Transforms.eq(INDArray ndArray)
Binary matrix of whether the number at a given index is equal
|
static INDArray |
Transforms.exp(INDArray ndArray) |
static INDArray |
Transforms.floor(INDArray ndArray)
Binary matrix of whether the number at a given index is greatger than
|
static INDArray |
Transforms.gt(INDArray ndArray)
Binary matrix of whether the number at a given index is equal
|
static INDArray |
Transforms.hardTanh(INDArray ndArray) |
static INDArray |
Transforms.identity(INDArray ndArray) |
static INDArray |
Transforms.log(INDArray ndArray) |
static INDArray |
Transforms.lt(INDArray ndArray)
Binary matrix of whether the number at a given index is equal
|
static INDArray |
Transforms.max(INDArray ndArray) |
static INDArray |
Transforms.maxPool(INDArray input,
int[] ds,
boolean ignoreBorder)
Max pooling
|
static INDArray |
Transforms.neg(INDArray ndArray) |
static INDArray |
Transforms.normalizeZeroMeanAndUnitVariance(INDArray toNormalize) |
static INDArray |
Transforms.pool(INDArray toPool,
int[] stride)
Pooled expectations
|
static INDArray |
Transforms.pow(INDArray ndArray,
Number power) |
static INDArray |
Transforms.round(INDArray ndArray) |
static INDArray |
Transforms.sigmoid(INDArray ndArray) |
static INDArray |
Transforms.sqrt(INDArray ndArray) |
static INDArray |
Transforms.stabilize(INDArray ndArray,
float k) |
static INDArray |
Transforms.tanh(INDArray ndArray) |
static INDArray |
Transforms.unitVec(INDArray toScale)
Scale by 1 / norm2 of the matrix
|
static INDArray |
Transforms.upSample(INDArray d,
INDArray scale)
Upsampling a signal (specifically the first 2 dimensions
|
Modifier and Type | Method and Description |
---|---|
static INDArray |
Transforms.abs(INDArray ndArray) |
Object |
Max.apply(INDArray from,
Object value,
int i)
The transformation for a given value (a scalar ndarray)
|
Object |
Log.apply(INDArray from,
Object value,
int i)
The transformation for a given value (a scalar ndarray)
|
Object |
Round.apply(INDArray from,
Object value,
int i)
The transformation for a given value (a scalar ndarray)
|
Object |
Exp.apply(INDArray from,
Object value,
int i)
The transformation for a given value (a scalar ndarray)
|
Object |
Stabilize.apply(INDArray from,
Object value,
int i)
The transformation for a given value (a scalar ndarray)
|
Object |
GreaterThan.apply(INDArray from,
Object value,
int i)
The transformation for a given value (a scalar ndarray)
|
Object |
Sqrt.apply(INDArray from,
Object value,
int i)
The transformation for a given value (a scalar ndarray)
|
Object |
Floor.apply(INDArray from,
Object value,
int i)
The transformation for a given value (a scalar ndarray)
|
Object |
LessThan.apply(INDArray from,
Object value,
int i)
The transformation for a given value (a scalar ndarray)
|
Object |
Negative.apply(INDArray from,
Object value,
int i)
The transformation for a given value (a scalar ndarray)
|
Object |
Pow.apply(INDArray from,
Object value,
int i)
The transformation for a given value (a scalar ndarray)
|
Object |
EqualTo.apply(INDArray from,
Object value,
int i)
The transformation for a given value (a scalar ndarray)
|
Object |
Identity.apply(INDArray from,
Object value,
int i)
The transformation for a given value (a scalar ndarray)
|
Object |
HardTanh.apply(INDArray from,
Object value,
int i)
The transformation for a given value (a scalar ndarray)
|
Object |
Tanh.apply(INDArray from,
Object value,
int i)
The transformation for a given value (a scalar ndarray)
|
Object |
Abs.apply(INDArray from,
Object value,
int i)
The transformation for a given value (a scalar ndarray)
|
Object |
Sigmoid.apply(INDArray from,
Object input,
int i)
The transformation for a given value (a scalar ndarray)
|
static double |
Transforms.cosineSim(INDArray d1,
INDArray d2)
Consine similarity
|
static INDArray |
Transforms.downSample(INDArray d1,
int[] stride)
Down sampling a signal (specifically the first 2 dimensions)
|
static INDArray |
Transforms.eq(INDArray ndArray)
Binary matrix of whether the number at a given index is equal
|
static INDArray |
Transforms.exp(INDArray ndArray) |
static INDArray |
Transforms.floor(INDArray ndArray)
Binary matrix of whether the number at a given index is greatger than
|
static INDArray |
Transforms.gt(INDArray ndArray)
Binary matrix of whether the number at a given index is equal
|
static INDArray |
Transforms.hardTanh(INDArray ndArray) |
static INDArray |
Transforms.identity(INDArray ndArray) |
static INDArray |
Transforms.log(INDArray ndArray) |
static INDArray |
Transforms.lt(INDArray ndArray)
Binary matrix of whether the number at a given index is equal
|
static INDArray |
Transforms.max(INDArray ndArray) |
static INDArray |
Transforms.maxPool(INDArray input,
int[] ds,
boolean ignoreBorder)
Max pooling
|
static INDArray |
Transforms.neg(INDArray ndArray) |
static INDArray |
Transforms.normalizeZeroMeanAndUnitVariance(INDArray toNormalize) |
static INDArray |
Transforms.pool(INDArray toPool,
int[] stride)
Pooled expectations
|
static INDArray |
Transforms.pow(INDArray ndArray,
Number power) |
static INDArray |
Transforms.round(INDArray ndArray) |
static INDArray |
Transforms.sigmoid(INDArray ndArray) |
static INDArray |
Transforms.sqrt(INDArray ndArray) |
static INDArray |
Transforms.stabilize(INDArray ndArray,
float k) |
static INDArray |
Transforms.tanh(INDArray ndArray) |
static INDArray |
Transforms.unitVec(INDArray toScale)
Scale by 1 / norm2 of the matrix
|
static INDArray |
Transforms.upSample(INDArray d,
INDArray scale)
Upsampling a signal (specifically the first 2 dimensions
|
Modifier and Type | Method and Description |
---|---|
static INDArray |
Sampling.binomial(INDArray p,
int n,
org.apache.commons.math3.random.RandomGenerator rng)
Generate a binomial distribution based on the given rng,
a matrix of p values, and a max number.
|
static INDArray |
Sampling.normal(org.apache.commons.math3.random.RandomGenerator rng,
INDArray mean,
double sigma)
A uniform sample ranging from 0 to sigma.
|
static INDArray |
Sampling.normal(org.apache.commons.math3.random.RandomGenerator rng,
INDArray mean,
INDArray sigma)
A uniform sample ranging from 0 to sigma.
|
Modifier and Type | Method and Description |
---|---|
static INDArray |
Sampling.binomial(INDArray p,
int n,
org.apache.commons.math3.random.RandomGenerator rng)
Generate a binomial distribution based on the given rng,
a matrix of p values, and a max number.
|
static INDArray |
Sampling.normal(org.apache.commons.math3.random.RandomGenerator rng,
INDArray mean,
double sigma)
A uniform sample ranging from 0 to sigma.
|
static INDArray |
Sampling.normal(org.apache.commons.math3.random.RandomGenerator rng,
INDArray mean,
INDArray sigma)
A uniform sample ranging from 0 to sigma.
|
Modifier and Type | Method and Description |
---|---|
INDArray |
AddScalar.apply(INDArray input) |
INDArray |
MultiplyScalar.apply(INDArray input) |
INDArray |
SubtractScalar.apply(INDArray input) |
INDArray |
Add.apply(INDArray input) |
INDArray |
Multiply.apply(INDArray input) |
INDArray |
LogTransform.apply(INDArray input) |
INDArray |
ExpTransform.apply(INDArray input) |
INDArray |
DivideScalar.apply(INDArray input) |
abstract INDArray |
ScalarMatrixTransform.apply(INDArray input) |
INDArray |
PowScale.apply(INDArray input) |
INDArray |
Subtract.apply(INDArray input) |
INDArray |
SqrtScalar.apply(INDArray input) |
INDArray |
Divide.apply(INDArray input) |
Modifier and Type | Method and Description |
---|---|
INDArray |
AddScalar.apply(INDArray input) |
INDArray |
MultiplyScalar.apply(INDArray input) |
INDArray |
SubtractScalar.apply(INDArray input) |
INDArray |
Add.apply(INDArray input) |
INDArray |
Multiply.apply(INDArray input) |
INDArray |
LogTransform.apply(INDArray input) |
INDArray |
ExpTransform.apply(INDArray input) |
INDArray |
DivideScalar.apply(INDArray input) |
abstract INDArray |
ScalarMatrixTransform.apply(INDArray input) |
INDArray |
PowScale.apply(INDArray input) |
INDArray |
Subtract.apply(INDArray input) |
INDArray |
SqrtScalar.apply(INDArray input) |
INDArray |
Divide.apply(INDArray input) |
Modifier and Type | Method and Description |
---|---|
static INDArray |
NDArrayUtil.center(INDArray arr,
int[] shape)
Center an array
|
static INDArray |
NDArrayUtil.doSliceWise(NDArrayUtil.ScalarOp op,
INDArray arr)
Execute an element wise operation over the whole array
|
static INDArray |
NDArrayUtil.exp(INDArray toExp) |
static INDArray |
NDArrayUtil.expi(INDArray toExp)
Returns an exponential version of this ndarray
|
static INDArray |
NDArrayUtil.padWithZeros(INDArray nd,
int[] targetShape)
Pads an INDArray with zeros
|
static INDArray |
ArrayUtil.toNDArray(int[] nums) |
static INDArray |
ArrayUtil.toNDArray(int[][] nums) |
static INDArray |
FeatureUtil.toOutcomeMatrix(int[] index,
int numOutcomes)
Creates an out come vector from the specified inputs
|
static INDArray |
FeatureUtil.toOutcomeVector(int index,
int numOutcomes)
Creates an out come vector from the specified inputs
|
static INDArray |
NDArrayUtil.truncate(INDArray nd,
int n,
int dimension)
Truncates an INDArray to the specified shape.
|
Modifier and Type | Method and Description |
---|---|
static void |
LinAlgExceptions.assertColumns(INDArray n,
INDArray n2) |
static void |
LinAlgExceptions.assertMultiplies(INDArray nd1,
INDArray nd2)
Asserts matrix multiply rules (columns of left == rows of right)
|
static void |
LinAlgExceptions.assertRows(INDArray n,
INDArray n2) |
static void |
LinAlgExceptions.assertSameShape(INDArray n,
INDArray n2) |
static void |
LinAlgExceptions.assertValidNum(INDArray n) |
static INDArray |
NDArrayUtil.center(INDArray arr,
int[] shape)
Center an array
|
static INDArray |
NDArrayUtil.doSliceWise(NDArrayUtil.ScalarOp op,
INDArray arr)
Execute an element wise operation over the whole array
|
static INDArray |
NDArrayUtil.exp(INDArray toExp) |
static INDArray |
NDArrayUtil.expi(INDArray toExp)
Returns an exponential version of this ndarray
|
static void |
FeatureUtil.normalizeMatrix(INDArray toNormalize) |
static INDArray |
NDArrayUtil.padWithZeros(INDArray nd,
int[] targetShape)
Pads an INDArray with zeros
|
static void |
FeatureUtil.scaleByMax(INDArray toScale)
Divides each row by its max
|
static int[] |
ArrayUtil.toInts(INDArray n) |
static INDArray |
NDArrayUtil.truncate(INDArray nd,
int n,
int dimension)
Truncates an INDArray to the specified shape.
|
Copyright © 2014. All Rights Reserved.