Module executorch_sys::torch::executor

source ·

Modules§

Structs§

  • Represents a constant reference to an array (0 or more elements consecutively in memory), i.e. a start pointer and a length. It allows various APIs to take consecutive elements easily and conveniently.
  • Loads from a data source.
  • EventTracer is a class that users can inherit and implement to log/serialize/stream etc. the profiling and debugging events that are generated at runtime for a model. An example of this is the ETDump implementation in the SDK codebase that serializes these events to a flatbuffer.
  • A read-only buffer than can be freed.
  • A group of buffers that can be used to represent a device’s memory hierarchy.
  • A class that does simple allocation based on a size and returns the pointer to the memory address. It bookmarks a buffer with certain size. The allocation is simply checking space and growing the cur_ pointer with each allocation request.
  • A container class for allocators used during Method load and execution.
  • An executable method of an executorch program. Maps to a python method like forward() on the original nn.Module.
  • Describes a a method in an ExecuTorch program.
  • A facade class for loading programs and executing methods within them.
  • A deserialized ExecuTorch program binary.
  • Result type wrapping either a value of type T or an error.
  • Represent a reference to an array (0 or more elements consecutively in memory), i.e. a start pointer and a length. It allows various APIs to take consecutive elements easily and conveniently.
  • A minimal Tensor type whose API is a source compatible subset of at::Tensor.
  • Manages the storage behind an ETensor (torch::executor::Tensor).
  • Metadata about a specific tensor of an ExecuTorch Program.
  • Leaner optional class, subset of c10, std, and boost optional APIs.

Enums§

  • ExecuTorch Error type.
  • Enum to define memory locking behavior.
  • Describes the presence of an ExecuTorch program header.
  • Types of validation that the Program can do before parsing the data.
  • Data types (dtypes) that can be used as element types in ETensors.
  • Rank can never change in executorch. But shape sometimes can. This enum is used to help provide better safety in kernels on what tensors are resizable

Constants§

Functions§

Type Aliases§

Unions§