module generated
The generated api-table surface: per table member, the f_<member>
wrapper returning Result is the PRIMARY, and its panicking twin
<member> unwraps through the one expect_ok funnel (an infallible
member keeps the single plain name). Census Tensor-first operators
additionally surface as Tensor methods (x.f_relu() / x.relu();
the in-place trailing-underscore family returns self, so calls
chain), and the long-optional operators take a <Op>Options struct
whose Default carries the census defaults. Handles are lifetime-tied
owning types (Tensor comes from the hand core; the rest are
generated below, dropping per their table protocol); by-value PODs and
enum values ride the raw sys types; construct them with the
sys::CLIKA_RT_* constants. Runtime failures map to Error,
exactly like the hand core.
AttentionOptions (struct)
The defaulted options of Api::f_op_attention (census ClikaRT::ops::attention).
Default::default() carries the census defaults, so
&Default::default() is the plain call.
Implements: Clone, Debug, Default
AttentionOverCacheOptions (struct)
The defaulted options of Api::f_op_attention_over_cache (census ClikaRT::ops::attention_over_cache).
Default::default() carries the census defaults, so
&Default::default() is the plain call.
Implements: Clone, Debug, Default
AttentionVarlenOptions (struct)
The defaulted options of Api::f_op_attention_varlen (census ClikaRT::ops::attention_varlen).
Default::default() carries the census defaults, so
&Default::default() is the plain call.
Implements: Clone, Debug, Default
CaptureScope (struct)
A clika_rt_capture_scope* handle (single-owner), tied to the Api that produced it.
Implements: Drop
CompiledFunction (struct)
A clika_rt_compiled_function* handle (single-owner), tied to the Api that produced it.
Implements: Drop
ConvTranspose1dOptions (struct)
The defaulted options of Api::f_op_conv_transpose1d (census ClikaRT::ops::conv_transpose1d).
Default::default() carries the census defaults, so
&Default::default() is the plain call.
Implements: Clone, Debug, Default
ConvTranspose2dOptions (struct)
The defaulted options of Api::f_op_conv_transpose2d (census ClikaRT::ops::conv_transpose2d).
Default::default() carries the census defaults, so
&Default::default() is the plain call.
Implements: Clone, Debug, Default
ConvTranspose3dOptions (struct)
The defaulted options of Api::f_op_conv_transpose3d (census ClikaRT::ops::conv_transpose3d).
Default::default() carries the census defaults, so
&Default::default() is the plain call.
Implements: Clone, Debug, Default
DeformConvOptions (struct)
The defaulted options of Api::f_op_deform_conv (census ClikaRT::ops::deform_conv).
Default::default() carries the census defaults, so
&Default::default() is the plain call.
Implements: Clone, Debug, Default
EagerScope (struct)
A clika_rt_eager_scope* handle (single-owner-close), tied to the Api that produced it.
Implements: Drop
Encoded (struct)
A clika_rt_encoded* handle (single-owner), tied to the Api that produced it.
Implements: Drop
GenerateRotaryCacheOptions (struct)
The defaulted options of Api::f_op_generate_rotary_cache (census ClikaRT::ops::generate_rotary_cache).
Default::default() carries the census defaults, so
&Default::default() is the plain call.
Implements: Clone, Debug, Default
GgufCheckpoint (struct)
A clika_rt_gguf_checkpoint* handle (single-owner), tied to the Api that produced it.
Implements: Drop
GroupQueryAttentionOptions (struct)
The defaulted options of Api::f_op_group_query_attention (census ClikaRT::ops::group_query_attention).
Default::default() carries the census defaults, so
&Default::default() is the plain call.
Implements: Clone, Debug, Default
GroupQueryAttentionVarlenOptions (struct)
The defaulted options of Api::f_op_group_query_attention_varlen (census ClikaRT::ops::group_query_attention_varlen).
Default::default() carries the census defaults, so
&Default::default() is the plain call.
Implements: Clone, Debug, Default
ModelGraph (struct)
A clika_rt_model_graph* handle (single-owner), tied to the Api that produced it.
Implements: Drop
MoeOptions (struct)
The defaulted options of Api::f_op_moe (census ClikaRT::ops::moe).
Default::default() carries the census defaults, so
&Default::default() is the plain call.
Implements: Clone, Debug, Default
MropeRotaryEmbeddingOptions (struct)
The defaulted options of Api::f_op_mrope_rotary_embedding (census ClikaRT::ops::mrope_rotary_embedding).
Default::default() carries the census defaults, so
&Default::default() is the plain call.
Implements: Clone, Debug, Default
MropeRotaryEmbeddingQkVarlenOptions (struct)
The defaulted options of Api::f_op_mrope_rotary_embedding_qk_varlen (census ClikaRT::ops::mrope_rotary_embedding_qk_varlen).
Default::default() carries the census defaults, so
&Default::default() is the plain call.
Implements: Clone, Debug, Default
MropeRotaryEmbeddingVarlenOptions (struct)
The defaulted options of Api::f_op_mrope_rotary_embedding_varlen (census ClikaRT::ops::mrope_rotary_embedding_varlen).
Default::default() carries the census defaults, so
&Default::default() is the plain call.
Implements: Clone, Debug, Default
OnnxModel (struct)
A clika_rt_onnx_model* handle (single-owner), tied to the Api that produced it.
Implements: Drop
ProfileSession (struct)
A clika_rt_profile_session* handle (single-owner), tied to the Api that produced it.
Implements: Drop
QTensor (struct)
A clika_rt_qtensor* handle (refcounted), tied to the Api that produced it.
Implements: Drop
QconvInplaceToDenseOptions (struct)
The defaulted options of Api::f_op_qconv_inplace_to_dense (census ClikaRT::ops::qconv_).
Default::default() carries the census defaults, so
&Default::default() is the plain call.
Implements: Clone, Debug, Default
QconvInplaceToDenseOutScaleOptions (struct)
The defaulted options of Api::f_op_qconv_inplace_to_dense_out_scale (census ClikaRT::ops::qconv_).
Default::default() carries the census defaults, so
&Default::default() is the plain call.
Implements: Clone, Debug, Default
QconvInplaceToQuantizedOptions (struct)
The defaulted options of Api::f_op_qconv_inplace_to_quantized (census ClikaRT::ops::qconv_).
Default::default() carries the census defaults, so
&Default::default() is the plain call.
Implements: Clone, Debug, Default
QconvToDenseOptions (struct)
The defaulted options of Api::f_op_qconv_to_dense (census ClikaRT::ops::qconv).
Default::default() carries the census defaults, so
&Default::default() is the plain call.
Implements: Clone, Debug, Default
QconvTranspose1dToDenseOptions (struct)
The defaulted options of Api::f_op_qconv_transpose1d_to_dense (census ClikaRT::ops::qconv_transpose1d).
Default::default() carries the census defaults, so
&Default::default() is the plain call.
Implements: Clone, Debug, Default
QconvTranspose1dWoqOptions (struct)
The defaulted options of Api::f_op_qconv_transpose1d_woq (census ClikaRT::ops::qconv_transpose1d_woq).
Default::default() carries the census defaults, so
&Default::default() is the plain call.
Implements: Clone, Debug, Default
QconvTranspose2dToDenseOptions (struct)
The defaulted options of Api::f_op_qconv_transpose2d_to_dense (census ClikaRT::ops::qconv_transpose2d).
Default::default() carries the census defaults, so
&Default::default() is the plain call.
Implements: Clone, Debug, Default
QconvTranspose2dWoqOptions (struct)
The defaulted options of Api::f_op_qconv_transpose2d_woq (census ClikaRT::ops::qconv_transpose2d_woq).
Default::default() carries the census defaults, so
&Default::default() is the plain call.
Implements: Clone, Debug, Default
QconvTranspose3dToDenseOptions (struct)
The defaulted options of Api::f_op_qconv_transpose3d_to_dense (census ClikaRT::ops::qconv_transpose3d).
Default::default() carries the census defaults, so
&Default::default() is the plain call.
Implements: Clone, Debug, Default
QconvTranspose3dWoqOptions (struct)
The defaulted options of Api::f_op_qconv_transpose3d_woq (census ClikaRT::ops::qconv_transpose3d_woq).
Default::default() carries the census defaults, so
&Default::default() is the plain call.
Implements: Clone, Debug, Default
QconvTransposeInplaceToDenseOptions (struct)
The defaulted options of Api::f_op_qconv_transpose_inplace_to_dense (census ClikaRT::ops::qconv_transpose_).
Default::default() carries the census defaults, so
&Default::default() is the plain call.
Implements: Clone, Debug, Default
QconvTransposeInplaceToDenseOutScaleOptions (struct)
The defaulted options of Api::f_op_qconv_transpose_inplace_to_dense_out_scale (census ClikaRT::ops::qconv_transpose_).
Default::default() carries the census defaults, so
&Default::default() is the plain call.
Implements: Clone, Debug, Default
QconvTransposeInplaceToQuantizedOptions (struct)
The defaulted options of Api::f_op_qconv_transpose_inplace_to_quantized (census ClikaRT::ops::qconv_transpose_).
Default::default() carries the census defaults, so
&Default::default() is the plain call.
Implements: Clone, Debug, Default
QconvTransposeToDenseOptions (struct)
The defaulted options of Api::f_op_qconv_transpose_to_dense (census ClikaRT::ops::qconv_transpose).
Default::default() carries the census defaults, so
&Default::default() is the plain call.
Implements: Clone, Debug, Default
QconvTransposeWoqOptions (struct)
The defaulted options of Api::f_op_qconv_transpose_woq (census ClikaRT::ops::qconv_transpose_woq).
Default::default() carries the census defaults, so
&Default::default() is the plain call.
Implements: Clone, Debug, Default
QconvWoqOptions (struct)
The defaulted options of Api::f_op_qconv_woq (census ClikaRT::ops::qconv_woq).
Default::default() carries the census defaults, so
&Default::default() is the plain call.
Implements: Clone, Debug, Default
QdeformConvToDenseOptions (struct)
The defaulted options of Api::f_op_qdeform_conv_to_dense (census ClikaRT::ops::qdeform_conv).
Default::default() carries the census defaults, so
&Default::default() is the plain call.
Implements: Clone, Debug, Default
QdeformConvWoqOptions (struct)
The defaulted options of Api::f_op_qdeform_conv_woq (census ClikaRT::ops::qdeform_conv_woq).
Default::default() carries the census defaults, so
&Default::default() is the plain call.
Implements: Clone, Debug, Default
QmatmulInplaceToDenseOutScaleOptions (struct)
The defaulted options of Api::f_op_qmatmul_inplace_to_dense_out_scale (census ClikaRT::ops::qmatmul_).
Default::default() carries the census defaults, so
&Default::default() is the plain call.
Implements: Clone, Debug, Default
QmoeToDenseOptions (struct)
The defaulted options of Api::f_op_qmoe_to_dense (census ClikaRT::ops::qmoe).
Default::default() carries the census defaults, so
&Default::default() is the plain call.
Implements: Clone, Debug, Default
QmoeWoqOptions (struct)
The defaulted options of Api::f_op_qmoe_woq (census ClikaRT::ops::qmoe_woq).
Default::default() carries the census defaults, so
&Default::default() is the plain call.
Implements: Clone, Debug, Default
QuantizationConfig (struct)
A clika_rt_quantization_config* handle (single-owner), tied to the Api that produced it.
Implements: Drop
RotaryEmbeddingOptions (struct)
The defaulted options of Api::f_op_rotary_embedding (census ClikaRT::ops::rotary_embedding).
Default::default() carries the census defaults, so
&Default::default() is the plain call.
Implements: Clone, Debug, Default
RotaryEmbeddingQkOptions (struct)
The defaulted options of Api::f_op_rotary_embedding_qk (census ClikaRT::ops::rotary_embedding_qk).
Default::default() carries the census defaults, so
&Default::default() is the plain call.
Implements: Clone, Debug, Default
RotaryEmbeddingQkVarlenOptions (struct)
The defaulted options of Api::f_op_rotary_embedding_qk_varlen (census ClikaRT::ops::rotary_embedding_qk_varlen).
Default::default() carries the census defaults, so
&Default::default() is the plain call.
Implements: Clone, Debug, Default
RotaryEmbeddingVarlenOptions (struct)
The defaulted options of Api::f_op_rotary_embedding_varlen (census ClikaRT::ops::rotary_embedding_varlen).
Default::default() carries the census defaults, so
&Default::default() is the plain call.
Implements: Clone, Debug, Default
StftOptions (struct)
The defaulted options of Api::f_op_stft (census ClikaRT::ops::stft).
Default::default() carries the census defaults, so
&Default::default() is the plain call.
Implements: Clone, Debug, Default
Stream (struct)
A clika_rt_stream* handle (refcounted), tied to the Api that produced it.
Implements: Drop
StreamingDecoder (struct)
A clika_rt_streaming_decoder* handle (single-owner), tied to the Api that produced it.
Implements: Drop
StringList (struct)
A clika_rt_string_list* handle (single-owner), tied to the Api that produced it.
Implements: Drop
SynchronousStreamScope (struct)
A clika_rt_synchronous_stream_scope* handle (single-owner-close), tied to the Api that produced it.
Implements: Drop
TensorList (struct)
A clika_rt_tensor_list* handle (single-owner), tied to the Api that produced it.
Implements: Drop
TensorsContainer (struct)
A clika_rt_tensors_container* handle (single-owner), tied to the Api that produced it.
Implements: Drop
TokenList (struct)
A clika_rt_token_list* handle (single-owner), tied to the Api that produced it.
Implements: Drop
Tokenizer (struct)
A clika_rt_tokenizer* handle (single-owner), tied to the Api that produced it.
Implements: Drop
TraceSession (struct)
A clika_rt_trace_session* handle (unowned), tied to the Api that produced it.
TracingScope (struct)
A clika_rt_tracing_scope* handle (single-owner-close), tied to the Api that produced it.
Implements: Drop