MNN  1.0
Public 成员函数 | 所有成员列表
halide_type_t结构体 参考

#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_ATTRIBUTE_ALIGN() [1/3]

halide_type_t::HALIDE_ATTRIBUTE_ALIGN ( )

The basic type code: signed integer, unsigned integer, or floating point.

◆ HALIDE_ATTRIBUTE_ALIGN() [2/3]

halide_type_t::HALIDE_ATTRIBUTE_ALIGN ( )

The number of bits of precision of a single scalar value of this type.

◆ HALIDE_ATTRIBUTE_ALIGN() [3/3]

halide_type_t::HALIDE_ATTRIBUTE_ALIGN ( )

How many elements in a vector. This is 1 for scalar types.


该结构体的文档由以下文件生成: