From 780ffb5f034a4fd6581a44cd9c3b1cf119f33589 Mon Sep 17 00:00:00 2001 From: Won Jeon Date: Mon, 21 Aug 2023 13:32:36 -0700 Subject: Add assertion message to avoid warning message for C++14 Signed-off-by: Won Jeon Change-Id: I95e82ac2d7c6e412f6cda0c9ffb2fb94d25af1d2 --- python/serializer/tosa_serializer.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'python/serializer/tosa_serializer.py') diff --git a/python/serializer/tosa_serializer.py b/python/serializer/tosa_serializer.py index cd31624..1f6d26e 100644 --- a/python/serializer/tosa_serializer.py +++ b/python/serializer/tosa_serializer.py @@ -711,7 +711,13 @@ class TosaSerializerRegion: return tens def addInputTensor(self, tensor): - self.currBasicBlock.addTensor(tensor.name, tensor.shape, tensor.dtype, tensor.data, tensor.placeholderFilename) + self.currBasicBlock.addTensor( + tensor.name, + tensor.shape, + tensor.dtype, + tensor.data, + tensor.placeholderFilename, + ) self.currBasicBlock.addInput(tensor.name) def addOutputTensor(self, tensor): -- cgit v1.2.1