onnx / turnkeyml

The no-code AI toolchain
Apache License 2.0
62 stars 12 forks source link

Add an entry-stage class #183

Closed jeremyfowers closed 1 month ago

jeremyfowers commented 2 months ago

Create a new class, class EntryStage(Stage) that is for Stages that can only be used as the first Stage in a Sequence.

These stages are special because they take the --input argument, which accepts one input from the top-level turnkey --inputs argument. All turnkey sequences must already start their sequence with such a stage, this would just make it explicit and allow us to add helper functions.

Existing entry stages:

Planned entry stages:

Problems we can solve with this: