aboutsummaryrefslogtreecommitdiff
path: root/python/serializer/tosa_serializer.py
diff options
context:
space:
mode:
authorWon Jeon <won.jeon@arm.com>2023-08-21 13:32:36 -0700
committerWon Jeon <won.jeon@arm.com>2023-08-21 13:32:36 -0700
commit780ffb5f034a4fd6581a44cd9c3b1cf119f33589 (patch)
tree243f0b59f3c7c097e34dd3538db0dfe78f4d97d6 /python/serializer/tosa_serializer.py
parent39b5edc49734e08ca6d1c0b091416a04b2f60beb (diff)
downloadserialization_lib-780ffb5f034a4fd6581a44cd9c3b1cf119f33589.tar.gz
Add assertion message to avoid warning message for C++14
Signed-off-by: Won Jeon <won.jeon@arm.com> Change-Id: I95e82ac2d7c6e412f6cda0c9ffb2fb94d25af1d2
Diffstat (limited to 'python/serializer/tosa_serializer.py')
-rw-r--r--python/serializer/tosa_serializer.py8
1 files changed, 7 insertions, 1 deletions
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):