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