Class MultiMinMaxSerializerStrategy
- java.lang.Object
-
- org.nd4j.linalg.dataset.api.preprocessor.serializer.MultiMinMaxSerializerStrategy
-
- All Implemented Interfaces:
NormalizerSerializerStrategy<MultiNormalizerMinMaxScaler>
public class MultiMinMaxSerializerStrategy extends Object implements NormalizerSerializerStrategy<MultiNormalizerMinMaxScaler>
-
-
Constructor Summary
Constructors Constructor Description MultiMinMaxSerializerStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NormalizerTypegetSupportedType()Get the enum opType of the supported normalizerMultiNormalizerMinMaxScalerrestore(@NonNull InputStream stream)Restore a MultiNormalizerMinMaxScaler that was previously serialized by this strategyvoidwrite(@NonNull MultiNormalizerMinMaxScaler normalizer, @NonNull OutputStream stream)Serialize a MultiNormalizerMinMaxScaler to a output stream
-
-
-
Method Detail
-
write
public void write(@NonNull @NonNull MultiNormalizerMinMaxScaler normalizer, @NonNull @NonNull OutputStream stream) throws IOExceptionSerialize a MultiNormalizerMinMaxScaler to a output stream- Specified by:
writein interfaceNormalizerSerializerStrategy<MultiNormalizerMinMaxScaler>- Parameters:
normalizer- the normalizerstream- the output stream to write to- Throws:
IOException
-
restore
public MultiNormalizerMinMaxScaler restore(@NonNull @NonNull InputStream stream) throws IOException
Restore a MultiNormalizerMinMaxScaler that was previously serialized by this strategy- Specified by:
restorein interfaceNormalizerSerializerStrategy<MultiNormalizerMinMaxScaler>- Parameters:
stream- the input stream to restore from- Returns:
- the restored MultiNormalizerMinMaxScaler
- Throws:
IOException
-
getSupportedType
public NormalizerType getSupportedType()
Description copied from interface:NormalizerSerializerStrategyGet the enum opType of the supported normalizer- Specified by:
getSupportedTypein interfaceNormalizerSerializerStrategy<MultiNormalizerMinMaxScaler>- Returns:
- the enum opType
- See Also:
Normalizer.getType()
-
-