Enum Class EMeans.BatchLaw
- All Implemented Interfaces:
Serializable, Comparable<EMeans.BatchLaw>, Constable
- Enclosing class:
EMeans
Scaling law mode for selecting the mini-batch size
B.-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionQuality-optimized batch law (batches ~8x smaller than throughput):B = 0.00439175 * k^0.134749 * n^0.876473 * T^0.813344, rounded to the nearest power of two.Throughput-optimized batch law:B = 0.035134 * k^0.134749 * n^0.876473 * T^0.813344, rounded to the nearest power of two. -
Method Summary
Modifier and TypeMethodDescriptionstatic EMeans.BatchLawReturns the enum constant of this class with the specified name.static EMeans.BatchLaw[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AUTO
-
THROUGHPUT
Throughput-optimized batch law:B = 0.035134 * k^0.134749 * n^0.876473 * T^0.813344, rounded to the nearest power of two. -
QUALITY
Quality-optimized batch law (batches ~8x smaller than throughput):B = 0.00439175 * k^0.134749 * n^0.876473 * T^0.813344, rounded to the nearest power of two.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-