Packer that concatenates small tensors together for reduction.
Packer that concatenates all tensors together and then splits them into packs for reduction.
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
If numPacks
is less than 1.
Represents a tensor packer that helps facilitate faster communication between devices.
Represents a tensor packer that helps facilitate faster communication between devices.
TODO: [DISTRIBUTE] This can only be used with dense tensors at this point.
Pack information type. Represents information collected during packing that is necessary for unpacking.
Represents a dummy packer that does not perform any tensor packing at all.
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.