Enum Class Fft.Norm

java.lang.Object
java.lang.Enum<Fft.Norm>
ai.beestream.jitnn.Fft.Norm
All Implemented Interfaces:
Serializable, Comparable<Fft.Norm>, Constable
Enclosing class:
Fft

public static enum Fft.Norm extends Enum<Fft.Norm>
Scaling, torch's norm: BACKWARD scales the inverse by 1/n, ORTHO both by 1/sqrt(n), FORWARD the forward by 1/n.
  • Enum Constant Details

    • BACKWARD

      public static final Fft.Norm BACKWARD
      The inverse transform scaled by 1/n, the forward unscaled (torch's default).
    • ORTHO

      public static final Fft.Norm ORTHO
      Both transforms scaled by 1/sqrt(n).
    • FORWARD

      public static final Fft.Norm FORWARD
      The forward transform scaled by 1/n, the inverse unscaled.
  • Method Details

    • values

      public static Fft.Norm[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Fft.Norm valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null