LiteRT C++ API Reference
Classes |
|
|---|---|
| BufferRef | An immutable and non-owning view of a buffer. |
| CompiledModel | A high-level inference API for LiteRT. |
| CustomOpKernel | |
| Environment | |
| EnvironmentOptions | Manages configuration options for a LiteRT Environment. |
| Error | A C++ wrapper for a LiteRtStatus code, providing a status and an error message. |
| ErrorStatusBuilder | A helper class for building and handling error statuses. |
| Event | |
| Expected | A utility for generic return values that may represent a failure. |
| Expected< void > | |
| Layout | A C++ wrapper for LiteRtLayout, representing a tensor layout. |
| LogBeforeAbort | |
| Model | A C++ wrapper for LiteRtModel, representing a LiteRT model. |
| MutableBufferRef | A writable, non-owning version of BufferRef. |
| OpaqueOptions | A C++ wrapper for LiteRtOpaqueOptions, providing a way to manage and access type-erased configuration data. |
| Options | Manages the configuration options for compiling a LiteRT model. |
| OwningBufferRef | A writable and owning buffer reference. |
| SimpleSignature | A simplified C++ wrapper for LiteRtSignature, representing a model signature. |
| SimpleTensor | A C++ wrapper for LiteRtTensor with limited functionality. |
| TensorBuffer | A C++ wrapper for LiteRtTensorBuffer, representing a tensor and its associated backing buffer. |
| TensorBufferRequirements | Represents the requirements for allocating a TensorBuffer. |
| TensorBufferScopedLock | |
| Unexpected | |
Structs |
|
|---|---|
| Option | |
| ErrorConversion | Specializes this class with an implicit conversion to litert::Error and an IsError() member. |
| ErrorConversion< LiteRtStatus > | |
| ErrorConversion< T * > | |
| is_arithmetic_v< T > > > | |
| Status > | |
| StatusOr< T > > | |
| ErrorConversion< bool > | |
| Expected< T > > | |
| Unexpected > | |
| Mallocator | Defines allocation and deallocation behavior for owning buffer refs. |
| Newlocator | A memory allocator based on new and delete. |
| DmaBuf | |
| GlBuffer | |
| GlTexture | |
| CanBeAbslFormated | |