org.platanios.tensorflow.api.ops.training.distribute.packers
Number of packs to split the values into.
InvalidArgumentException
If numPacks
is less than 1.
Number of packs to split the values into.
Packs the provided values.
Packs the provided values.
Grouped values (per device).
Packed values, ready for reduction, along with information that is necessary for unpacking later on.
InvalidArgumentException
If the provided grouped values are inconsistent in any way.
Reverses the packing performed by pack
, on the provided packed values.
Reverses the packing performed by pack
, on the provided packed values.
Packed values to unpack.
Information from the packing process that is necessary for unpacking.
Unpacked packed
.
InvalidArgumentException
If not pack information is provided, while it is actually necessary.
Packer that concatenates all tensors together and then splits them into packs for reduction.
This packer aggregates values into a total of
numPacks
splits.InvalidArgumentException
IfnumPacks
is less than 1.