public class LossUtil extends Object
Constructor and Description |
---|
LossUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
applyMask(INDArray to,
INDArray mask) |
static INDArray |
dLdZsoftmax(INDArray dlda,
INDArray a)
Deprecated.
No longer used
|
static INDArray |
dLdZsoftmaxi(INDArray dlda,
INDArray a)
Deprecated.
No longer used
|
static INDArray |
dLdZsoftmaxPreOut(INDArray dlda,
INDArray z)
Deprecated.
No longer used
|
static boolean |
isPerOutputMasking(INDArray to,
INDArray mask) |
@Deprecated public static INDArray dLdZsoftmaxPreOut(INDArray dlda, INDArray z)
@Deprecated public static INDArray dLdZsoftmax(INDArray dlda, INDArray a)
dLdZsoftmaxi(INDArray, INDArray)
.dlda
- derivative of loss function with respect to the output activations (shape [minibatchSize, nOut])a
- output activations array (shape [minibatchSize, nOut])@Deprecated public static INDArray dLdZsoftmaxi(INDArray dlda, INDArray a)
dLdZsoftmax(INDArray, INDArray)
.dlda
- derivative of loss function with respect to the output activations (shape [minibatchSize, nOut])a
- output activations array (shape [minibatchSize, nOut])Copyright © 2017. All rights reserved.