Available on crate feature
std only.Expand description
Bindings generated by the cxx crate.
Modules§
- util
tensor-ptr - Utility functions and structs used by the cxx bridge.
Structs§
- Event
Tracer module - EventTracer is a class that users can inherit and implement to log/serialize/stream etc.
- Malloc
Memory Allocator - Dynamically allocates memory using malloc() and frees all pointers at destruction time.
- Module
module - A facade class for loading programs and executing methods within them.
- Tensor
tensor-ptr - Redefinition of the
Tensor.
Functions§
- Malloc
Memory ⚠Allocator_ as_ memory_ allocator - Get a pointer to the base class
MemoryAllocator. - Malloc
Memory Allocator_ new - Construct a new Malloc memory allocator.
- Module_
execute ⚠module - Execute a specific method with the given input values and retrieve the output values. Loads the program and method before executing if needed.
- Module_
is_ method_ loaded module - Checks if a specific method is loaded.
- Module_
load module - Load the program if needed.
- Module_
load_ ⚠method module - Load a specific method from the program and set up memory management if needed.
- Module_
method_ ⚠meta module - Get a method metadata struct by method name.
- Module_
method_ ⚠names module - Get a list of method names available in the loaded program.
- Module_
new module - Constructs an instance by loading a program from a file with specified memory locking behavior.
- Module_
num_ ⚠methods module - Get the number of methods available in the loaded program.
- Tensor
Ptr_ ⚠new tensor-ptr - Create a new tensor pointer.
Type Aliases§
- Array
RefE Value module - A specification of
ArrayRef<EValue>. - Error
module - Cpp executorch error type.
- Hierarchical
Allocator module - Redefinition of the
HierarchicalAllocator. - Memory
Allocator - Redefinition of the
MemoryAllocator. - Method
Meta module - Describes a method in an ExecuTorch program.
- Module
Load Mode module - Enum to define loading behavior.
- Program
Verification module - Types of validation that a
Programcan do before parsing the data. - Scalar
Type tensor-ptr - Redefinition of the
ScalarType. - Tensor
Shape Dynamism tensor-ptr - Redefinition of the
TensorShapeDynamism. - VecE
Value module - A vector of
EValue.