Updated on 2022-03-13 GMT+08:00

AITensorGetBytes

Macro for obtaining the byte size of a tensor. This API is defined in ai_tensor.h.

extern uint32_t AITensorGetBytes(int32_t data_type);