intel / inference-engine-node

Bringing the hardware accelerated deep learning inference to Node.js and Electron.js apps.
Apache License 2.0
33 stars 8 forks source link

avoid to use the construct directly #35

Closed lionkunonly closed 4 years ago

lionkunonly commented 4 years ago

Fix a bug in preprocess_info.cc. Avoid to use the constructor Napi::ArrayBuffer::ArrayBuffer and Napi::Array::Array directly.