Interface | Description |
---|---|
Merger |
An interface for merging an array of
DenseSparseMatrix into a single DenseSparseMatrix . |
VectorNormalizer |
A functional interface that generates a normalized version of a double array.
|
Class | Description |
---|---|
ExpNormalizer |
Normalizes the exponential values of the input array.
|
HeapMerger |
Merges each
SparseVector separately using a PriorityQueue as a heap. |
MatrixHeapMerger | |
NoopNormalizer |
NoopNormalizer returns a copy in
NoopNormalizer.normalize(double[]) and is a no-op in place. |
Normalizer |
Normalizes, but first subtracts the minimum value (to ensure positivity).
|
SigmoidNormalizer |
Normalizes the input by applying a logistic sigmoid to each element.
|
There are two interfaces: Merger
and
VectorNormalizer
. Merger is used to combine gradient tensors
produced across different examples (i.e., to combine the gradients within a minibatch). VectorNormalizer is
used to normalize an array, usually into a probability distribution.
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.