IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /get-started.md). For the complete documentation index, see llms.txt.
Skip to main content
For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).

Mojo module

stable_tensor

Provides StableTensor, a tensor view over a stable address slot, and StableVariadicTensors, the variadic pack of such views.

comptime values​

StableInputTensor​

comptime StableInputTensor = StableTensor[IOSpec[_, _].Input, static_spec=_]

StableInputVariadicTensors​

comptime StableInputVariadicTensors = StableVariadicTensors[_, IOSpec[_, _].Input, static_specs=_]

Structs​

  • ​StableTensor: A tensor view whose data pointer lives in a stable address slot.
  • ​StableVariadicTensors: A tuple-like container of StableTensors representing variadic arguments from the graph compiler.

Was this page helpful?