Runtime Selection #
Arithmetic semantics, execution mode, device, and backend-contract inspection.
Arithmetic semantics, execution mode, and device for a run. The record is defined with the
Torch runtime; this is the name the public API uses, so user code never spells
Runtime.Autograd.Torch to configure a run.
Instances For
A shape-indexed handle to a value owned by a runtime program.
Unlike Tensor, a ValueRef does not contain tensor elements. It names an intermediate value in
an eager session or typed graph and is valid only in the program that created it.
Instances For
Apply an affine map to the final axis, independently over every index in batchShape.
Instances For
Operation-Polymorphic Programs #
These operations build or execute runtime programs. They consume shape-indexed references rather
than materialized Tensor values, so they live under Runtime instead of the pure tensor API.
Ordinary models should use nn and Trainer; this lower-level surface is useful for custom losses,
verification programs, and graph-lowering tools.
Stable command-line spelling of an execution mode.
Instances For
Parse the stable command-line spelling of an execution mode.
Instances For
Plan operations under the runtime-selected backend-contract profile.