[Filter/Python] Don't assert. Provide exceptions.
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 22 Apr 2020 11:08:42 +0000 (20:08 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Thu, 23 Apr 2020 12:27:26 +0000 (21:27 +0900)
commitd12640d55ff801fbedad384cf7bcedf573f3e563
treeaff68c1dd05830df5f4d3f909cd935569b45ea1f
parent78e2ffb15f1e64a70cddb51532f048232caf8ac7
[Filter/Python] Don't assert. Provide exceptions.

A subplugin shouldn't be arrogant enough to assert.
Return errors or throw exceptions instead.

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
ext/nnstreamer/tensor_filter/tensor_filter_python.cc