public interface NormalizerStrategy<S extends NormalizerStats> extends Serializable
Modifier and Type | Method and Description |
---|---|
NormalizerStats.Builder |
newStatsBuilder()
Create a new
NormalizerStats.Builder instance that can be used to fit new data and of the opType that
belongs to the current NormalizerStrategy implementation |
void |
preProcess(INDArray array,
INDArray maskArray,
S stats)
Normalize a data array
|
void |
revert(INDArray array,
INDArray maskArray,
S stats)
Denormalize a data array
|
void preProcess(INDArray array, INDArray maskArray, S stats)
array
- the data to normalizestats
- statistics of the data populationvoid revert(INDArray array, INDArray maskArray, S stats)
array
- the data to denormalizestats
- statistics of the data populationNormalizerStats.Builder newStatsBuilder()
NormalizerStats.Builder
instance that can be used to fit new data and of the opType that
belongs to the current NormalizerStrategy implementationCopyright © 2020. All rights reserved.