public class DistributionStats extends Object implements NormalizerStats
Modifier and Type | Class and Description |
---|---|
static class |
DistributionStats.Builder
DynamicCustomOpsBuilder class that can incrementally update a running mean and variance in order to create statistics for a
large set of data
|
Constructor and Description |
---|
DistributionStats(@NonNull INDArray mean,
@NonNull INDArray std) |
Modifier and Type | Method and Description |
---|---|
static DistributionStats |
load(@NonNull File meanFile,
@NonNull File stdFile)
Load distribution statistics from the file system
|
void |
save(@NonNull File meanFile,
@NonNull File stdFile)
Save distribution statistics to the file system
|
public static DistributionStats load(@NonNull @NonNull File meanFile, @NonNull @NonNull File stdFile) throws IOException
meanFile
- file containing the meansstdFile
- file containing the standard deviationsIOException
public void save(@NonNull @NonNull File meanFile, @NonNull @NonNull File stdFile) throws IOException
meanFile
- file to contain the meansstdFile
- file to contain the standard deviationsIOException
Copyright © 2020. All rights reserved.