MLBEDSW-5496: Revert patch for MLBEDSW-4704
This reverts commit 0af0d383925968626a7c37,
which caused a regression by rejecting
previously passing tests as faulty.
Signed-off-by: Dwight Lidman <dwight.lidman@arm.com>
Change-Id: If11737713b6873a67162387e407eadf174b434ec
diff --git a/ethosu/vela/reader_util.py b/ethosu/vela/reader_util.py
old mode 100755
new mode 100644
index b5de8b1..476b70a
--- a/ethosu/vela/reader_util.py
+++ b/ethosu/vela/reader_util.py
@@ -53,11 +53,6 @@
for tens in tensors:
if not tens.ops:
- if tens.values is None:
- tens.error(
- "Tensor with no operator output connection is assumed to contain constant "
- "data but no data buffer is associated with this tensor. Perhaps the network is invalid?"
- )
op = Operation(Op.Const, tens.name)
op.set_output_tensor(tens)