Skip to main content

load

family

Declared in clika_rt/clika_rt_core.h.

Members

NameDescription
load_audio_bytesClikaRT::io::load_audio <- ClikaRT/io/io.h one form of the overloaded C++ load_audio; the _bytes suffix names this form the decoded waveform: out_samples is a host Float32 tensor, [frames] mono or [frames, channels] interleaved; out_info carries the effective sample rate / channel count / frame count all-or-nothing: both outs are set, or out_samples is NULL and out_info untouched on failure (contract §10) C++ defaults (dropped at this surface): target_sample_rate=0, target_channels=0
load_audio_pathClikaRT::io::load_audio <- ClikaRT/io/io.h one form of the overloaded C++ load_audio; the _path suffix names this form the decoded waveform: out_samples is a host Float32 tensor, [frames] mono or [frames, channels] interleaved; out_info carries the effective sample rate / channel count / frame count all-or-nothing: both outs are set, or out_samples is NULL and out_info untouched on failure (contract §10) C++ defaults (dropped at this surface): target_sample_rate=0, target_channels=0
load_gguf_to_gguf_checkpointClikaRT::io::load_gguf <- ClikaRT/io/io.h one form of the overloaded C++ load_gguf; the _to_gguf_checkpoint suffix names this form policy_device: where materialized tensors live; policy_sticky: keep the lineage disk-spillable single-owner handle: take_tensors moves the lazy container out once; metadata reads as JSON text; gguf_checkpoint_free frees it
load_image_bytesClikaRT::io::load_image <- ClikaRT/io/io.h one form of the overloaded C++ load_image; the _bytes suffix names this form C++ defaults (dropped at this surface): requested_channels=0
load_image_pathClikaRT::io::load_image <- ClikaRT/io/io.h one form of the overloaded C++ load_image; the _path suffix names this form C++ defaults (dropped at this surface): requested_channels=0
load_npyClikaRT::io::load_npy <- ClikaRT/io/io.h C++ defaults (dropped at this surface): device=Device::cpu()
load_safetensors_to_tensors_containerClikaRT::io::load_safetensors <- ClikaRT/io/io.h one form of the overloaded C++ load_safetensors; the _to_tensors_container suffix names this form policy_device: where materialized tensors live; policy_sticky: keep the lineage disk-spillable single-owner handle: tensors_container_free frees it (NULL is a no-op)
load_torch_checkpoint_to_tensors_containerClikaRT::io::load_torch_checkpoint <- ClikaRT/io/io.h one form of the overloaded C++ load_torch_checkpoint; the _to_tensors_container suffix names this form policy_device: where materialized tensors live; policy_sticky: keep the lineage disk-spillable single-owner handle: tensors_container_free frees it (NULL is a no-op)

Functions

load_audio_bytes

clika_rt_error*(* load_audio_bytes)(const uint8_t *bytes, size_t bytes_count, int32_t target_sample_rate, int32_t target_channels, clika_rt_tensor **out_samples, clika_rt_audio_info *out_info)

ClikaRT::io::load_audio <- ClikaRT/io/io.h one form of the overloaded C++ load_audio; the _bytes suffix names this form the decoded waveform: out_samples is a host Float32 tensor, [frames] mono or [frames, channels] interleaved; out_info carries the effective sample rate / channel count / frame count all-or-nothing: both outs are set, or out_samples is NULL and out_info untouched on failure (contract §10) C++ defaults (dropped at this surface): target_sample_rate=0, target_channels=0

Declared in clika_rt/clika_rt_core.h, line 8859

load_audio_path

clika_rt_error*(* load_audio_path)(const char *path, size_t path_len, int32_t target_sample_rate, int32_t target_channels, clika_rt_tensor **out_samples, clika_rt_audio_info *out_info)

ClikaRT::io::load_audio <- ClikaRT/io/io.h one form of the overloaded C++ load_audio; the _path suffix names this form the decoded waveform: out_samples is a host Float32 tensor, [frames] mono or [frames, channels] interleaved; out_info carries the effective sample rate / channel count / frame count all-or-nothing: both outs are set, or out_samples is NULL and out_info untouched on failure (contract §10) C++ defaults (dropped at this surface): target_sample_rate=0, target_channels=0

Declared in clika_rt/clika_rt_core.h, line 8847

load_gguf_to_gguf_checkpoint

clika_rt_error*(* load_gguf_to_gguf_checkpoint)(const char *path, size_t path_len, clika_rt_stream_or_device policy_device, uint8_t policy_sticky, clika_rt_gguf_checkpoint **out)

ClikaRT::io::load_gguf <- ClikaRT/io/io.h one form of the overloaded C++ load_gguf; the _to_gguf_checkpoint suffix names this form policy_device: where materialized tensors live; policy_sticky: keep the lineage disk-spillable single-owner handle: take_tensors moves the lazy container out once; metadata reads as JSON text; gguf_checkpoint_free frees it

Declared in clika_rt/clika_rt_core.h, line 8905

load_image_bytes

clika_rt_error*(* load_image_bytes)(const uint8_t *bytes, size_t bytes_count, int32_t requested_channels, clika_rt_tensor **out)

ClikaRT::io::load_image <- ClikaRT/io/io.h one form of the overloaded C++ load_image; the _bytes suffix names this form C++ defaults (dropped at this surface): requested_channels=0

Declared in clika_rt/clika_rt_core.h, line 8824

load_image_path

clika_rt_error*(* load_image_path)(const char *path, size_t path_len, int32_t requested_channels, clika_rt_tensor **out)

ClikaRT::io::load_image <- ClikaRT/io/io.h one form of the overloaded C++ load_image; the _path suffix names this form C++ defaults (dropped at this surface): requested_channels=0

Declared in clika_rt/clika_rt_core.h, line 8816

load_npy

clika_rt_error*(* load_npy)(const char *path, size_t path_len, clika_rt_device device, clika_rt_tensor **out)

ClikaRT::io::load_npy <- ClikaRT/io/io.h C++ defaults (dropped at this surface): device=Device::cpu()

Declared in clika_rt/clika_rt_core.h, line 8802

load_safetensors_to_tensors_container

clika_rt_error*(* load_safetensors_to_tensors_container)(const char *path, size_t path_len, clika_rt_stream_or_device policy_device, uint8_t policy_sticky, clika_rt_tensors_container **out)

ClikaRT::io::load_safetensors <- ClikaRT/io/io.h one form of the overloaded C++ load_safetensors; the _to_tensors_container suffix names this form policy_device: where materialized tensors live; policy_sticky: keep the lineage disk-spillable single-owner handle: tensors_container_free frees it (NULL is a no-op)

Declared in clika_rt/clika_rt_core.h, line 8885

load_torch_checkpoint_to_tensors_container

clika_rt_error*(* load_torch_checkpoint_to_tensors_container)(const char *path, size_t path_len, clika_rt_stream_or_device policy_device, uint8_t policy_sticky, clika_rt_tensors_container **out)

ClikaRT::io::load_torch_checkpoint <- ClikaRT/io/io.h one form of the overloaded C++ load_torch_checkpoint; the _to_tensors_container suffix names this form policy_device: where materialized tensors live; policy_sticky: keep the lineage disk-spillable single-owner handle: tensors_container_free frees it (NULL is a no-op)

Declared in clika_rt/clika_rt_core.h, line 8895