Class MPSGraphLossReductionType


  • public final class MPSGraphLossReductionType
    extends java.lang.Object
    The type of the reduction MPSGraph applies in the loss operations.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long Axis
      Computes the loss without reduction.
      static long Mean
      Reduces the loss down to a scalar with a mean operation.
      static long None
      Computes the loss without reduction.
      static long Sum
      Reduces the loss down to a scalar with a sum operation.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • Axis

        public static final long Axis
        Computes the loss without reduction. API-Since: 14.0
        See Also:
        Constant Field Values
      • Sum

        public static final long Sum
        Reduces the loss down to a scalar with a sum operation. API-Since: 14.0
        See Also:
        Constant Field Values
      • Mean

        public static final long Mean
        Reduces the loss down to a scalar with a mean operation. API-Since: 15.0
        See Also:
        Constant Field Values
      • None

        public static final long None
        Computes the loss without reduction. API-Since: 17.0
        See Also:
        Constant Field Values