public class ErrorMessages extends Object
| Constructor and Description |
|---|
ErrorMessages() |
| Modifier and Type | Method and Description |
|---|---|
static String |
illegalSize(int... shape) |
static String |
immutable(Object a) |
static String |
incompatibleBroadcast(INDArray a,
int... shape)
Returns an error message indicating that a broadcast is not possible
e.g.
|
static String |
incompatibleShape(INDArray m) |
static String |
incompatibleShapes(INDArray a,
INDArray b)
Returns an error message indicating that two arrays have incompatible shapes.
|
static String |
invalidDimension(INDArray a,
int dimension) |
static String |
invalidIndex(INDArray a,
int... indexes) |
static String |
invalidRange(AVector v,
int start,
int length) |
static String |
invalidSlice(INDArray a,
int slice) |
static String |
mismatch(INDArray a,
INDArray b)
Returns an error message indicating that two arrays have different sizes
|
static String |
noSlices(INDArray a) |
static String |
notFullyMutable(AMatrix m,
int row,
int column) |
static String |
position(int... indexes) |
static String |
squareMatrixRequired(AMatrix m) |
static String |
wrongDestLength(AVector dest) |
static String |
wrongSourceLength(AVector source) |
public static String mismatch(INDArray a, INDArray b)
a - b - public static String incompatibleShapes(INDArray a, INDArray b)
a - b - public static String incompatibleBroadcast(INDArray a, int... shape)
a - b - public static String position(int... indexes)
public static String illegalSize(int... shape)
Copyright © 2013. All Rights Reserved.