org.platanios.tensorflow.api.ops.training.distribute.packers
Largest tensor eligible for aggregation, in terms of the number of bytes it takes up.
Largest permitted aggregation of small tensors.
InvalidArgumentException
If maxBytes
or maxGroups
is less than 1.
Largest tensor eligible for aggregation, in terms of the number of bytes it takes up.
Largest permitted aggregation of small tensors.
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 small tensors together for reduction.
This packer aggregates values that occupy less than
maxBytes
memory space into groups with at mostmaxGroups
values each.InvalidArgumentException
IfmaxBytes
ormaxGroups
is less than 1.