LIBML Version 4.1.9
LIBML NN Software Library
Loading...
Searching...
No Matches
tpt_util.h File Reference
This graph shows which files directly or indirectly include this file:

Enumerations

enum  tpt_upsample_method { NN_UPSAMPLE_NEAREST = 0 }

Functions

tpt_nn_status tpt_top_k_s8 (q7_t *aOutData, uint32_t *aOut_idx, q7_t *aInData, uint32_t aKer_value, uint32_t aCount)
 This function finds the k largest values and their indices from the signed 8-bit integer input vector.
tpt_nn_status tpt_upsampling2d_s8 (int8_t *aOut_tensor, const int8_t *aIn_tensor, const uint32_t aIn_tensor_w, const uint32_t aIn_tensor_h, const uint32_t aIn_tensor_c, const uint32_t aScale_factor_w, const uint32_t aScale_factor_h, const tpt_upsample_method upsample_method)

Enumeration Type Documentation

◆ tpt_upsample_method

Enumerator
NN_UPSAMPLE_NEAREST 

Function Documentation

◆ tpt_upsampling2d_s8()

tpt_nn_status tpt_upsampling2d_s8 ( int8_t * aOut_tensor,
const int8_t * aIn_tensor,
const uint32_t aIn_tensor_w,
const uint32_t aIn_tensor_h,
const uint32_t aIn_tensor_c,
const uint32_t aScale_factor_w,
const uint32_t aScale_factor_h,
const tpt_upsample_method upsample_method )