aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDwight Lidman <dwight.lidman@arm.com>2021-11-10 17:02:17 +0100
committertim.hall <tim.hall@arm.com>2021-11-12 12:40:27 +0000
commite6607c563f3ea480fdc25770fdd7434ec7ab776b (patch)
treefe43f24a26ed22461ff977216f4fb2223c4a7f88
parent9338978eae5656005d8ac909b41aa5abac7a83a7 (diff)
downloadethos-u-vela-e6607c563f3ea480fdc25770fdd7434ec7ab776b.tar.gz
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
-rw-r--r--[-rwxr-xr-x]ethosu/vela/reader_util.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/ethosu/vela/reader_util.py b/ethosu/vela/reader_util.py
index b5de8b1..476b70a 100755..100644
--- a/ethosu/vela/reader_util.py
+++ b/ethosu/vela/reader_util.py
@@ -53,11 +53,6 @@ def fixup_tensors(input_tensors, tensors):
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)