Add assertion message to avoid warning message for C++14
Signed-off-by: Won Jeon <won.jeon@arm.com>
Change-Id: I95e82ac2d7c6e412f6cda0c9ffb2fb94d25af1d2
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 @@
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):