Skip to main content

ClikaRT::runtime::ModelSchema

struct

Header: ClikaRT/runtime/schema.h

A model's full I/O contract.

Member functions

find_input()

const spec::TensorSpec* find_input(std::string_view n) const

The input spec named n, or nullptr.

Declared in ClikaRT/runtime/schema.h, line 137

find_output()

const spec::TensorSpec* find_output(std::string_view n) const

The output spec named n, or nullptr.

Declared in ClikaRT/runtime/schema.h, line 142

Data members

inputs

std::vector<spec::TensorSpec> inputs

the consumed edges

Declared in ClikaRT/runtime/schema.h, line 131

outputs

std::vector<spec::TensorSpec> outputs

the produced edges

Declared in ClikaRT/runtime/schema.h, line 132

stateful

bool stateful = false

true → the model carries per-session ModelState

Declared in ClikaRT/runtime/schema.h, line 133

supports_streaming

bool supports_streaming = false

true → emits per-step chunks (Iterate)

Declared in ClikaRT/runtime/schema.h, line 134