aboutsummaryrefslogtreecommitdiff
path: root/ethosu/vela/tflite_writer.py
diff options
context:
space:
mode:
Diffstat (limited to 'ethosu/vela/tflite_writer.py')
-rw-r--r--ethosu/vela/tflite_writer.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ethosu/vela/tflite_writer.py b/ethosu/vela/tflite_writer.py
index cf40b5b5..3f3b7b1b 100644
--- a/ethosu/vela/tflite_writer.py
+++ b/ethosu/vela/tflite_writer.py
@@ -316,6 +316,7 @@ class TFLiteSerialiser:
scratch_tensors = [tens for tens in all_tensors if tens.name.endswith("scratch")]
+ scratch_fast_tensor = None
for tens in all_tensors:
if tens.name.endswith("scratch_fast"):
scratch_fast_tensor = tens