From e6607c563f3ea480fdc25770fdd7434ec7ab776b Mon Sep 17 00:00:00 2001 From: Dwight Lidman Date: Wed, 10 Nov 2021 17:02:17 +0100 Subject: 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 Change-Id: If11737713b6873a67162387e407eadf174b434ec --- ethosu/vela/reader_util.py | 5 ----- 1 file changed, 5 deletions(-) mode change 100755 => 100644 ethosu/vela/reader_util.py diff --git a/ethosu/vela/reader_util.py b/ethosu/vela/reader_util.py old mode 100755 new mode 100644 index b5de8b18..476b70aa --- 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) -- cgit v1.2.1