From 86a96e99a18b6d3d9f8836d9d9e75df632697c61 Mon Sep 17 00:00:00 2001 From: johnnoel Date: Wed, 8 Nov 2023 16:24:49 +0000 Subject: [PATCH] [Driver] Update comment --- src/finn/qnn-data/templates/driver/driver_base.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/finn/qnn-data/templates/driver/driver_base.py b/src/finn/qnn-data/templates/driver/driver_base.py index 850fdc8993..373f8badd9 100644 --- a/src/finn/qnn-data/templates/driver/driver_base.py +++ b/src/finn/qnn-data/templates/driver/driver_base.py @@ -197,8 +197,7 @@ def load_runtime_weights(self, flush_accel=True, verify=True): # Pynq for Alveo uses tinynumpy under the hood. There is a bug when going # from a tinynumpy.ndarray to numpy.ndarray. To work around this, we first # convert the tinynumpy.ndarray to a list and then copy the list to a - # numpy.ndarray. This shouldn't affect the non-alveo platforms so no need to - # check platform. + # numpy.ndarray. new_w = np.copy( list(layer_mmio.array[: layer_w.shape[0]]), dtype=layer_w.dtype )