| Package | Description |
|---|---|
| mikera.arrayz | |
| mikera.arrayz.impl | |
| mikera.matrixx | |
| mikera.matrixx.impl | |
| mikera.vectorz | |
| mikera.vectorz.impl | |
| mikera.vectorz.ops | |
| mikera.vectorz.util |
| Modifier and Type | Method and Description |
|---|---|
void |
INDArray.applyOp(Op2 op,
double b)
Applies a binary operator to this array and a double value.
|
void |
INDArray.applyOp(Op2 op,
INDArray b)
Applies a binary operator to this array and a second array.
|
double |
INDArray.reduce(Op2 op)
Reduces over all elements of the array in row-major order.
|
double |
Array.reduce(Op2 op) |
double |
INDArray.reduce(Op2 op,
double init)
Reduces over all elements of the array in row-major order.
|
double |
Array.reduce(Op2 op,
double init) |
AVector |
INDArray.reduceSlices(Op2 op)
Reduces each slice of the array by the given operator
|
AVector |
INDArray.reduceSlices(Op2 op,
double init)
Reduces each slice of the array by the given operator
Uses the specified init value for reduction of each slice
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractArray.applyOp(Op2 op,
double b) |
void |
AbstractArray.applyOp(Op2 op,
INDArray b) |
double |
BaseShapedArray.reduce(Op2 op) |
double |
AbstractArray.reduce(Op2 op) |
double |
BaseShapedArray.reduce(Op2 op,
double init) |
double |
AbstractArray.reduce(Op2 op,
double init) |
AVector |
AbstractArray.reduceSlices(Op2 op) |
AVector |
AbstractArray.reduceSlices(Op2 op,
double init) |
| Modifier and Type | Method and Description |
|---|---|
void |
AMatrix.applyOp(Op2 op,
AMatrix b) |
void |
AMatrix.applyOp(Op2 op,
AVector b) |
void |
Matrix.applyOp(Op2 op,
double b) |
void |
AMatrix.applyOp(Op2 op,
double b) |
void |
AMatrix.applyOp(Op2 op,
INDArray b) |
double |
AMatrix.reduce(Op2 op) |
double |
AMatrix.reduce(Op2 op,
double init) |
AVector |
AMatrix.reduceSlices(Op2 op) |
AVector |
AMatrix.reduceSlices(Op2 op,
double init) |
| Modifier and Type | Method and Description |
|---|---|
void |
SparseColumnMatrix.applyOp(Op2 op,
AMatrix b) |
void |
MatrixRowView.applyOp(Op2 op,
AVector v) |
void |
SparseColumnMatrix.applyOp(Op2 op,
double b) |
void |
MatrixRowView.applyOp(Op2 op,
double v) |
double |
ZeroMatrix.reduce(Op2 op) |
double |
ZeroMatrix.reduce(Op2 op,
double init) |
double |
SparseColumnMatrix.reduce(Op2 op,
double init) |
double |
RowMatrix.reduce(Op2 op,
double init) |
double |
ColumnMatrix.reduce(Op2 op,
double init) |
double |
AStridedMatrix.reduce(Op2 op,
double init) |
double |
ADenseArrayMatrix.reduce(Op2 op,
double init) |
| Modifier and Type | Field and Description |
|---|---|
static Op2 |
Ops.ADD |
static Op2 |
Ops.ADD_ABS |
static Op2 |
Ops.ADD_SQUARE |
static Op2 |
Ops.CROSS_ENTROPY |
static Op2 |
Ops.D_CROSS_ENTROPY |
static Op2 |
Ops.D_CROSS_ENTROPY_LOGISTIC |
static Op2 |
Ops.MAX |
static Op2 |
Ops.MAX_ABS |
static Op2 |
Ops.MIN |
| Modifier and Type | Method and Description |
|---|---|
Op2 |
Op2.getDerivative(int i)
Gets the derivative of this Op2 with respect to the specified parameter (0 or 1)
|
| Modifier and Type | Method and Description |
|---|---|
void |
AVector.applyOp(Op2 op,
AVector b)
Applies a binary operator to this vector and a second vector
|
void |
AVector.applyOp(Op2 op,
double b) |
void |
AScalar.applyOp(Op2 op,
double b) |
void |
AVector.applyOp(Op2 op,
INDArray b) |
void |
AScalar.applyOp(Op2 op,
INDArray b) |
double |
Vector4.reduce(Op2 op) |
double |
Vector3.reduce(Op2 op) |
double |
Vector2.reduce(Op2 op) |
double |
Vector1.reduce(Op2 op) |
double |
AVector.reduce(Op2 op) |
double |
AScalar.reduce(Op2 op) |
double |
Vector4.reduce(Op2 op,
double init) |
double |
Vector3.reduce(Op2 op,
double init) |
double |
Vector2.reduce(Op2 op,
double init) |
double |
Vector1.reduce(Op2 op,
double init) |
double |
AVector.reduce(Op2 op,
double init) |
double |
AScalar.reduce(Op2 op,
double init) |
AVector |
AVector.reduceSlices(Op2 op) |
AVector |
AVector.reduceSlices(Op2 op,
double init) |
| Modifier and Type | Method and Description |
|---|---|
void |
AJoinedVector.applyOp(Op2 op,
AVector b) |
void |
ADenseArrayVector.applyOp(Op2 op,
AVector b) |
void |
SparseIndexedVector.applyOp(Op2 op,
double d) |
double |
ZeroVector.reduce(Op2 op) |
double |
SparseIndexedVector.reduce(Op2 op) |
double |
SingleElementVector.reduce(Op2 op) |
double |
AStridedVector.reduce(Op2 op) |
double |
ASparseVector.reduce(Op2 op) |
double |
AJoinedVector.reduce(Op2 op) |
double |
ADenseArrayVector.reduce(Op2 op) |
double |
ZeroVector.reduce(Op2 op,
double init) |
double |
SparseIndexedVector.reduce(Op2 op,
double init) |
double |
SingleElementVector.reduce(Op2 op,
double init) |
double |
AStridedVector.reduce(Op2 op,
double init) |
double |
ASparseVector.reduce(Op2 op,
double init) |
double |
AJoinedVector.reduce(Op2 op,
double init) |
double |
ADenseArrayVector.reduce(Op2 op,
double init) |
AVector |
ASparseVector.reduceSlices(Op2 op,
double init) |
| Modifier and Type | Class and Description |
|---|---|
class |
Add
Binary operator for `max` function
|
class |
AddFunction
Binary operator for z = a.y + b.f(x) function
|
class |
ComposedOp2
Class representing a composed operation of the form z = f(x,g(y))
|
class |
CrossEntropy
Binary operator to compute cross entropy between an output and target value
given two probability values in range 0..1
|
class |
CrossEntropyDerivative
Binary operator to compute derivative of cross entropy loss between an output and target value
given two probability values in range 0..1
|
class |
CrossEntropyLogisticDerivative
Binary operator to compute derivative of cross entropy loss multiplied by derivative of
logistic function.
|
class |
Max
Binary operator for `max` function
|
class |
Min
Binary operator for `min` function
|
| Modifier and Type | Field and Description |
|---|---|
Op2 |
ComposedOp2.outer |
| Modifier and Type | Method and Description |
|---|---|
Op2 |
CrossEntropy.getDerivative(int i) |
| Modifier and Type | Method and Description |
|---|---|
static ComposedOp2 |
ComposedOp2.compose(Op2 outer,
Op inner) |
static ComposedOp2 |
ComposedOp2.create(Op2 a,
Op b) |
| Modifier and Type | Method and Description |
|---|---|
static double |
DoubleArrays.reduce(Op2 op,
double[] data,
int offset,
int length) |
static double |
DoubleArrays.reduce(Op2 op,
double[] data,
int offset,
int length,
int stride) |
Copyright © 2016. All rights reserved.