klyn.math.nn.serialization.LayerCodec.integer
method
public static integer(value as Object) as Long
Description

Parses a canonical non-negative decimal string without floating conversion.

Parameters
ParameterDescription
valueJSON string. @return Addressable Long value.
Throws
  • ValueException for wrong types, signs, leading zeros or overflow.
Example

count = LayerCodec<Float>.integer("128")