Skip to main content

Api: tensors_container

Api members in the tensors_container family.

Member
tensors_container_contains / f_tensors_container_contains
tensors_container_entry_bytes / f_tensors_container_entry_bytes
tensors_container_evict / f_tensors_container_evict
tensors_container_evict_all / f_tensors_container_evict_all
tensors_container_free
tensors_container_get / f_tensors_container_get
tensors_container_load_into / f_tensors_container_load_into
tensors_container_names
tensors_container_prefetch / f_tensors_container_prefetch
tensors_container_release / f_tensors_container_release
tensors_container_size
tensors_container_total_bytes

tensors_container_contains / f_tensors_container_contains

fn f_tensors_container_contains(self, self_: &TensorsContainer, name: &str) -> Result<bool>
fn tensors_container_contains(self, self_: &TensorsContainer, name: &str) -> bool

Wraps api-table member tensors_container_contains. ClikaRT::io::TensorsContainer::contains <- ClikaRT/io/tensors_container.h

tensors_container_entry_bytes / f_tensors_container_entry_bytes

fn f_tensors_container_entry_bytes(self, self_: &TensorsContainer, name: &str) -> Result<u64>
fn tensors_container_entry_bytes(self, self_: &TensorsContainer, name: &str) -> u64

Wraps api-table member tensors_container_entry_bytes. ClikaRT::io::TensorsContainer::entry_bytes <- ClikaRT/io/tensors_container.h

tensors_container_evict / f_tensors_container_evict

fn f_tensors_container_evict(self, self_: &TensorsContainer, name: &str) -> Result<()>
fn tensors_container_evict(self, self_: &TensorsContainer, name: &str)

Wraps api-table member tensors_container_evict. ClikaRT::io::TensorsContainer::evict <- ClikaRT/io/tensors_container.h

tensors_container_evict_all / f_tensors_container_evict_all

fn f_tensors_container_evict_all(self, self_: &TensorsContainer) -> Result<()>
fn tensors_container_evict_all(self, self_: &TensorsContainer)

Wraps api-table member tensors_container_evict_all. ClikaRT::io::TensorsContainer::evict_all <- ClikaRT/io/tensors_container.h

tensors_container_free

fn tensors_container_free(self, h: &TensorsContainer)

Wraps api-table member tensors_container_free.

tensors_container_get / f_tensors_container_get

fn f_tensors_container_get(self, self_: &TensorsContainer, name: &str) -> Result<Tensor>
fn tensors_container_get(self, self_: &TensorsContainer, name: &str) -> Tensor

Wraps api-table member tensors_container_get. ClikaRT::io::TensorsContainer::get <- ClikaRT/io/tensors_container.h

tensors_container_load_into / f_tensors_container_load_into

fn f_tensors_container_load_into(self, self_: &TensorsContainer, name: &str, dst: &Tensor, where_: clika_rt_stream_or_device) -> Result<()>
fn tensors_container_load_into(self, self_: &TensorsContainer, name: &str, dst: &Tensor, where_: clika_rt_stream_or_device)

Wraps api-table member tensors_container_load_into. ClikaRT::io::TensorsContainer::load_into <- ClikaRT/io/tensors_container.h

tensors_container_names

fn tensors_container_names(self, self_: &TensorsContainer) -> Option<StringList>

Wraps api-table member tensors_container_names. ClikaRT::io::TensorsContainer::names <- ClikaRT/io/tensors_container.h A NULL return maps to None.

tensors_container_prefetch / f_tensors_container_prefetch

fn f_tensors_container_prefetch(self, self_: &TensorsContainer, names: &[&str], where_: clika_rt_stream_or_device) -> Result<()>
fn tensors_container_prefetch(self, self_: &TensorsContainer, names: &[&str], where_: clika_rt_stream_or_device)

Wraps api-table member tensors_container_prefetch. ClikaRT::io::TensorsContainer::prefetch <- ClikaRT/io/tensors_container.h

tensors_container_release / f_tensors_container_release

fn f_tensors_container_release(self, self_: &TensorsContainer, name: &str) -> Result<()>
fn tensors_container_release(self, self_: &TensorsContainer, name: &str)

Wraps api-table member tensors_container_release. ClikaRT::io::TensorsContainer::release <- ClikaRT/io/tensors_container.h

tensors_container_size

fn tensors_container_size(self, self_: &TensorsContainer) -> usize

Wraps api-table member tensors_container_size. ClikaRT::io::TensorsContainer::size <- ClikaRT/io/tensors_container.h

tensors_container_total_bytes

fn tensors_container_total_bytes(self, self_: &TensorsContainer) -> usize

Wraps api-table member tensors_container_total_bytes. ClikaRT::io::TensorsContainer::total_bytes <- ClikaRT/io/tensors_container.h