diff options
Diffstat (limited to 'driver_library/python/src/ethosu_driver/_utilities/driver_utilities.py')
-rw-r--r-- | driver_library/python/src/ethosu_driver/_utilities/driver_utilities.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/driver_library/python/src/ethosu_driver/_utilities/driver_utilities.py b/driver_library/python/src/ethosu_driver/_utilities/driver_utilities.py index fcea91f..ca39751 100644 --- a/driver_library/python/src/ethosu_driver/_utilities/driver_utilities.py +++ b/driver_library/python/src/ethosu_driver/_utilities/driver_utilities.py @@ -30,8 +30,7 @@ def load_model(device: Device, model: str) -> Network: `Network`: Return the object that represent the neural __network file descriptor received from the Ethos-U device. """ logging.info("Creating network") - network_buffer = Buffer(device, model) - return Network(device, network_buffer) + return Network(device, model) def populate_buffers(input_data: List[bytearray], buffers: List[Buffer]): |