[single] Optimize invoke critical path
authorParichay Kapoor <pk.kapoor@samsung.com>
Tue, 28 Jul 2020 03:45:28 +0000 (12:45 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Thu, 30 Jul 2020 10:18:50 +0000 (19:18 +0900)
commit2edfcfcd6451ea6308d65a64061cba1bc6fe8b73
treebb785f1ecfde532e9fef08f0310fffc2dedd629d
parent90a5e57d76ce3ecd1a0651cbeb262225c6e7ccda
[single] Optimize invoke critical path

Remove setup gstTensorMemory in each invoke call
rather, pre-set the tensor memory when input dimensions are set
and re-use that setup tensor memory wrapper each time

Signed-off-by: Parichay Kapoor <pk.kapoor@samsung.com>
api/capi/src/nnstreamer-capi-single.c