public class MultiMinMaxSerializerStrategy extends Object implements NormalizerSerializerStrategy<MultiNormalizerMinMaxScaler>
MultiNormalizerMinMaxScaler
instances in single binary filesConstructor and Description |
---|
MultiMinMaxSerializerStrategy() |
Modifier and Type | Method and Description |
---|---|
NormalizerType |
getSupportedType()
Get the enum type of the supported normalizer
|
MultiNormalizerMinMaxScaler |
restore(InputStream stream)
Restore a MultiNormalizerMinMaxScaler that was previously serialized by this strategy
|
void |
write(MultiNormalizerMinMaxScaler normalizer,
OutputStream stream)
Serialize a MultiNormalizerMinMaxScaler to a output stream
|
public void write(@NonNull MultiNormalizerMinMaxScaler normalizer, @NonNull OutputStream stream) throws IOException
write
in interface NormalizerSerializerStrategy<MultiNormalizerMinMaxScaler>
normalizer
- the normalizerstream
- the output stream to write toIOException
public MultiNormalizerMinMaxScaler restore(@NonNull InputStream stream) throws IOException
restore
in interface NormalizerSerializerStrategy<MultiNormalizerMinMaxScaler>
stream
- the input stream to restore fromIOException
public NormalizerType getSupportedType()
NormalizerSerializerStrategy
getSupportedType
in interface NormalizerSerializerStrategy<MultiNormalizerMinMaxScaler>
Normalizer.getType()
Copyright © 2017. All rights reserved.