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 of the input, without normalizing it.
|
Normalizer |
Normalizes, but first subtracts the minimum value (to ensure positivity).
|
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.