Typed Program Arguments #
Arguments α shapes is the public container for an ordered set of tensors supplied to a
multi-input program. Each tensor retains its own statically known shape while the tensor-pack
representation remains behind Arguments.Internal.
Ordered tensor arguments for a program whose input shapes are known statically.
- tensors : TorchLean.TensorPack α shapes
Instances For
Wrap the tensor-pack representation at an implementation boundary.
Instances For
Reveal the tensor-pack representation at an implementation boundary.
Instances For
Revealing a freshly wrapped tensor pack returns the original pack.
Two argument sequences are equal when their tensor-pack representations are equal.
Combine corresponding arguments with a shape-preserving operation.
Instances For
Named result of splitting arguments at a statically known shape-list boundary.
- left : Arguments α leftShapes
Arguments before the split boundary.
- right : Arguments α rightShapes
Arguments after the split boundary.