Public name for TorchLean's shape-indexed tensor-pack / typed tuple representation.
Instances For
Construct a 1-element tensor pack.
Instances For
Construct a 2-element tensor pack.
Instances For
Construct a 3-element tensor pack.
Instances For
Construct a 4-element tensor pack.
Instances For
Map each tensor entry (shape-preserving).
Instances For
Zip two tensor packs pointwise (shape-preserving).
Instances For
Append two tensor packs.
Instances For
Split a tensor pack into its prefix and suffix.
Instances For
First element of a non-empty tensor pack.
Instances For
Second element of a tensor pack with at least two entries.
Instances For
Third element of a tensor pack with at least three entries.
Instances For
Fourth element of a tensor pack with at least four entries.
Instances For
Unpack a one-element tensor pack.
Instances For
Unpack a two-element tensor pack into a Lean pair.
Instances For
Unpack a three-element tensor pack into a Lean triple.
Instances For
Unpack a four-element tensor pack into a Lean 4-tuple.
Instances For
A supervised sample (x, y) with input shape σ and target shape τ.
Instances For
A fixed-size minibatch of supervised samples.
Instances For
Build a supervised sample (x, y) as a two-tensor pack.
Instances For
Build a batched supervised sample (xBatch, yBatch).
Instances For
Extract the input tensor x from a supervised sample.
Instances For
Extract the target tensor y from a supervised sample.
Instances For
Unpack a supervised sample as the ordinary pair (x, y).
Instances For
Map a function over the input tensor x, leaving the target y unchanged.
Instances For
Map a function over the target tensor y, leaving the input x unchanged.
Instances For
Map functions over both x and y in a supervised sample.
Instances For
A supervised sample (x, y) with input shape σ and target shape τ.