espressif / esp-dl

Espressif deep-learning library for AIoT applications
MIT License
519 stars 116 forks source link

PADDING_SAME_DONT_FREE_INPUT padding type description #27

Closed Vvard closed 4 years ago

Vvard commented 4 years ago

Could you describe the padding type PADDING_SAME_DONT_FREE_INPUT in dl_lib matrix3d.h?

Vvard commented 4 years ago

And there is complete documentation for the DL API?

XiaochaoGONG commented 4 years ago

Hi I'll update the documentation of dl_lib. Please wait for a while, maybe next week. For short, the PADDING_SAME flag indicates the process would free the input matrix when finish padding, while PADDING_SAME_DONT_FREE_INPUT indicates the input matrix remain. Both of PADDING_SAME will give you a new allocated padded input.

Vvard commented 4 years ago

OK, thanks)