Expand description
TensorDiffEngine — structural and numeric diff between tensor snapshots.
Used for change-detection in federated learning checkpoints: given two sets of named tensors (old and new), compute per-tensor diffs covering additions, removals, shape changes, and numeric value changes.
Structs§
- Diff
Summary - Aggregated statistics over a slice of
TensorDiffvalues. - Tensor
Diff - Diff result for one named tensor.
- Tensor
Diff Engine - Engine that computes structural and numeric diffs between tensor snapshots.
- Tensor
Snapshot - A named, flat snapshot of a single tensor.
Enums§
- Diff
Kind - Describes what changed (or didn’t) for a single named tensor.