Package ai.djl.timeseries.transform
Class TimeSeriesTransform.IdentityTransform
java.lang.Object
ai.djl.timeseries.transform.TimeSeriesTransform.IdentityTransform
- All Implemented Interfaces:
TimeSeriesTransform
- Enclosing interface:
- TimeSeriesTransform
public static class TimeSeriesTransform.IdentityTransform
extends Object
implements TimeSeriesTransform
An identity transformation.
-
Nested Class Summary
Nested classes/interfaces inherited from interface ai.djl.timeseries.transform.TimeSeriesTransform
TimeSeriesTransform.IdentityTransform
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiontransform
(ai.djl.ndarray.NDManager manager, TimeSeriesData data, boolean isTrain) Transform process on TimeSeriesData.
-
Constructor Details
-
IdentityTransform
public IdentityTransform()
-
-
Method Details
-
transform
public TimeSeriesData transform(ai.djl.ndarray.NDManager manager, TimeSeriesData data, boolean isTrain) Transform process on TimeSeriesData.- Specified by:
transform
in interfaceTimeSeriesTransform
- Parameters:
manager
- The default manager for data processdata
- The data to be operated onisTrain
- Whether it is training- Returns:
- The result
TimeSeriesData
.
-