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.
  • 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 interface TimeSeriesTransform
      Parameters:
      manager - The default manager for data process
      data - The data to be operated on
      isTrain - Whether it is training
      Returns:
      The result TimeSeriesData.