eloquentarduino / EloquentTinyML

Eloquent interface to Tensorflow Lite for Microcontrollers
288 stars 57 forks source link

memcpy Bug #20

Closed agrawalparth10 closed 3 years ago

agrawalparth10 commented 3 years ago

The source and destination are flipped in the file src/EloquentTinyML.h.

Function - uint8_t predict(uint8_t input, uint8_t output = NULL)

Memcpy API - void memcpy(void dest, const void * src, size_t n)

Link - https://www.tutorialspoint.com/c_standard_library/c_function_memcpy.htm

Pull Request for the same - https://github.com/eloquentarduino/EloquentTinyML/pull/19#issue-585944770