Skip to main content

compiled_function

family

Declared in clika_rt/clika_rt_core.h.

Members​

NameDescription
clika_rt_compiled_function
compiled_function_callcall the function: inputs are BORROWED; returns the function's own outputs (surfaced state rides take_graph, never the call)
compiled_function_free
compiled_function_from_graphwrap an already-captured graph: born in the Compiled state, serving shape-matching calls from the graph; consumes graph (contract §6). No callable is attached; shape drift refuses readably, never an eager fallback or a silent re-capture
compiled_function_recapture_countClikaRT::graph::CompiledFunction::recapture_count <- ClikaRT/graph/compile.h borrows self infallible
compiled_function_stateClikaRT::graph::CompiledFunction::state <- ClikaRT/graph/compile.h borrows self infallible
compiled_function_take_graphClikaRT::graph::CompiledFunction::take_graph <- ClikaRT/graph/compile.h borrows self single-owner handle: model_graph_free frees it (NULL is a no-op)

Type aliases​

using clika_rt_compiled_function​

using clika_rt_compiled_function = struct clika_rt_compiled_function

Declared in clika_rt/clika_rt_core.h, line 335

Functions​

compiled_function_call​

clika_rt_error*(* compiled_function_call)(clika_rt_compiled_function *self, clika_rt_tensor *const *inputs, size_t inputs_count, clika_rt_tensor_list **out)

call the function: inputs are BORROWED; returns the function's own outputs (surfaced state rides take_graph, never the call)

Declared in clika_rt/clika_rt_core.h, line 848

compiled_function_free​

void(* compiled_function_free)(clika_rt_compiled_function *h)

Declared in clika_rt/clika_rt_core.h, line 725

compiled_function_from_graph​

clika_rt_error*(* compiled_function_from_graph)(clika_rt_model_graph *graph, clika_rt_compiled_function **out)

wrap an already-captured graph: born in the Compiled state, serving shape-matching calls from the graph; consumes graph (contract §6). No callable is attached; shape drift refuses readably, never an eager fallback or a silent re-capture

Declared in clika_rt/clika_rt_core.h, line 845

compiled_function_recapture_count​

int64_t(* compiled_function_recapture_count)(clika_rt_compiled_function *self)

ClikaRT::graph::CompiledFunction::recapture_count <- ClikaRT/graph/compile.h borrows self infallible

Declared in clika_rt/clika_rt_core.h, line 8868

compiled_function_state​

clika_rt_state(* compiled_function_state)(clika_rt_compiled_function *self)

ClikaRT::graph::CompiledFunction::state <- ClikaRT/graph/compile.h borrows self infallible

Declared in clika_rt/clika_rt_core.h, line 8863

compiled_function_take_graph​

clika_rt_error*(* compiled_function_take_graph)(clika_rt_compiled_function *self, clika_rt_model_graph **out)

ClikaRT::graph::CompiledFunction::take_graph <- ClikaRT/graph/compile.h borrows self single-owner handle: model_graph_free frees it (NULL is a no-op)

Declared in clika_rt/clika_rt_core.h, line 8873