Expand description
Re-export of whole mnn-sys
Modules§
Structs§
- \file
- An opaque struct containing per-GPU API implementations of the device functions.
- Each GPU API provides a halide_device_interface_t struct pointing to the code that manages device allocations. You can access these functions directly from the struct member function pointers, or by calling the functions declared below. Note that the global functions are not available when using Halide as a JIT compiler. If you are using raw halide_buffer_t in that context you must use the function pointers in the device_interface struct.
- A runtime tag for a type in the halide type system. Can be ints, unsigned ints, or floats of various bit-widths (the ‘bits’ field). Can also be vectors of the same (by setting the ‘lanes’ field to something larger than one). This struct should be exactly 32-bits in size.
Enums§
- acquire runtime status by Runtime::getCurrentStatus with following keys,
- Types in the halide type system. They can be ints, unsigned ints, or floats (of various bit-widths), or a handle (which is always 64-bits). Note that the int/uint/float values do not imply a specific bit width (the bit width is expected to be encoded in a separate value).
Constants§
Traits§
Functions§
- @brief create net from buffer. @param buffer given data buffer. @param size size of data buffer. @return created net if success, NULL otherwise.
- @brief create net from file. @param file given file. @return created net if success, NULL otherwise.
- @brief get mnn version info. @return mnn version string.