This reverses pack_ternary, restoring an int8 tensor whose values are
in {-1, 0, +1}. The original axis order is preserved and any padding
added during packing is removed.
Args
packed
A uint8 tensor produced by pack_ternary, with five trits
encoded in each byte along axis.
orig_len
The original (unpadded) length of the packed axis, used to
strip padding.
axis
The axis along which the tensor was packed. Defaults to 0.
Returns
An int8 tensor with values in {-1, 0, +1} and the original
(unpacked) shape along axis.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-10-31 UTC."],[],[]]