Enum Class F.Reduction

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

public static enum F.Reduction extends Enum<F.Reduction>
How a loss reduces its per-element values.
  • Enum Constant Details

    • NONE

      public static final F.Reduction NONE
      The per-element losses, unreduced.
    • MEAN

      public static final F.Reduction MEAN
      The mean of the per-element losses.
    • SUM

      public static final F.Reduction SUM
      The sum of the per-element losses.
  • Method Details

    • values

      public static F.Reduction[] 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 F.Reduction 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