MNN
1.0
|
#include <HalideRuntime.h>
Public 成员函数 | |
HALIDE_ATTRIBUTE_ALIGN (1) uint8_t code | |
HALIDE_ATTRIBUTE_ALIGN (1) uint8_t bits | |
HALIDE_ATTRIBUTE_ALIGN (2) uint16_t lanes | |
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.
halide_type_t::HALIDE_ATTRIBUTE_ALIGN | ( | 1 | ) |
The basic type code: signed integer, unsigned integer, or floating point.
halide_type_t::HALIDE_ATTRIBUTE_ALIGN | ( | 1 | ) |
The number of bits of precision of a single scalar value of this type.
halide_type_t::HALIDE_ATTRIBUTE_ALIGN | ( | 2 | ) |
How many elements in a vector. This is 1 for scalar types.