Fixed wrong input/output buffer allocation
authorTae-Young Chung <ty83.chung@samsung.com>
Thu, 2 Apr 2020 05:38:47 +0000 (14:38 +0900)
committerInki Dae <inki.dae@samsung.com>
Mon, 20 Apr 2020 00:51:05 +0000 (09:51 +0900)
commitbbf1cc99a34b9449537300f03e4febd1b6bbb95b
treec2703651b7fa29885c18ddd4558c13de7e5571a0
parentf448c615a8b94c8efacf4e371a4523399e51c40f
Fixed wrong input/output buffer allocation

Fixed wrong input/output buffer size in GetInputTensorBuffers() and
GetOutputTensorBuffers(). In Run(), the output buffer addr is changed
after forward() so buffer addr should be updated.

Add a trick to handle output without post-process.

Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
src/inference_engine_opencv.cpp