Packing options for the Packer
Returns the total number of values which will be held in a one-dimensional array after packing by this Packer.
Returns the number of variables in the shape used to initialise this Packer.
Calculates the length of array required to contain the first n variables from the start of the shape this Packer was initialised with.
Index of start variable (inclusive)
Index of final variable (inclusive)
Unpacks a one-dimensional array to the shapes defined by this Packer.
A standard number array
Unpacks an NdArray to the shapes defined by this Packer. We require the first dimension in the NdArray to equal length. Any additional dimensions are added to the configured shapes for each unpacked value.
NdArray of numbers
Class which can pack multiple values which may have multiple dimensions into a one-dimensional array of values, and unpack them again.