Module hotg_rune_compiler::parse
source · [−]Expand description
The parsing phase.
This is a simple phase which just calls Document::parse()
and stores
the resulting DocumentV1
in the global legion::Resources
.
Structs
A newtype around ResourceOrString
which is used in each stage’s args
dictionary.
A stage which reads inputs from the runtime.
Version 1 of the Runefile.yml
format.
The image a Rune is based on.
The name of a tensor.
A ML model which will be executed by the runtime.
A stage which passes outputs back to the runtime.
A specification for finding a dependency.
A stage which executes a procedural block.
The declaration for a resource, typically something like a wordlist or environment variable.
A reference to some ResourceDeclaration
. It typically looks like
$RESOURCE_NAME
.
The element type and dimensions for a particular tensor.
Enums
The top level Runefile type.
Something that could be either a reference to a resource ($resource
)
or a plain string (./path
).
How the resource should be treated inside the Rune.
A stage in the Rune’s pipeline.