blue-oil / blueoil

Bring Deep Learning to small devices
https://blueoil.org
Apache License 2.0
248 stars 86 forks source link

Network::run() should take void* (or byte*) instead of float* #1222

Open primenumber opened 4 years ago

primenumber commented 4 years ago

We want to take uint8_t, uint16_t or something else typed buffer for performance, memory usage optimization. Furthermore, we may want to take multiple input/output, it can be mixed-typed buffers. But current Network::run assumes input/output buffer are float-typed buffer. We should take only pointer of buffers.

primenumber commented 4 years ago

network_run in network_c_interface should be fixed, too.