[filter] Remove assert and throw exception
authorYongjoo Ahn <yongjoo1.ahn@samsung.com>
Mon, 11 Sep 2023 08:01:41 +0000 (17:01 +0900)
committerjaeyun-jung <39614140+jaeyun-jung@users.noreply.github.com>
Tue, 12 Sep 2023 02:44:31 +0000 (11:44 +0900)
commit975814d7662be01b95bcaca9633a4e0b553f85b3
tree1c052a5d3c8e6b81fd554d7428bdb572154152d1
parent8308b16b7339a09b468febec2978a25b61511bfb
[filter] Remove assert and throw exception

- Remove excessive asserts.
- Throw exception when input or output buffer is NULL in invoke method

Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
ext/nnstreamer/tensor_filter/tensor_filter_snpe.cc
tests/nnstreamer_filter_snpe/unittest_filter_snpe.cc