Expand description

Core types and abstractions used by the Rune ecosystem.

Feature Flags

This crate has the following cargo feature flags:

  • std - enables functionality that requires the standard library (typically implementations of std::error::Error)

Modules

Structs

A (&str, &[u8]) which stores the first field (name) and second field (data) inline and can be read out of memory using decode_inline_resource().

A serializable version of log::Record.

A tensor’s shape.

A multidimensional array with copy-on-write semantics.

An immutable view into a Tensor with a particular rank (number of dimensions).

A mutable view into a Tensor with a particular rank (number of dimensions).

Enums

A dynamically typed value that may be passed back and forth across the runtime.

Constants

The mimetype used for a ONNX model.

The mimetype used for a TensorFlow JS model.

The mimetype used for a TensorFlow Lite model.

The mimetype used for a TensorFlow model.

The version number for this crate.

Traits

A type that is associated with an ElementType.

A Rust primitive which has a corresponding Type and can be converted to or from a Value.

A helper trait which lets us get the shape from a tuple of different tensors.

A set of tensors that can be mutated.

Functions

Read an InlineResource’s data from its binary form in memory.