diff options
author | Jonas Ohlsson <jonas.ohlsson@arm.com> | 2022-03-30 10:30:25 +0200 |
---|---|---|
committer | Jonas Ohlsson <jonas.ohlsson@arm.com> | 2022-03-30 15:54:14 +0200 |
commit | d85750702229af97c0b0bbda6e397a23254b6144 (patch) | |
tree | 389962105a35d5cef595cfeb5d640bd59a0d0ff8 /ethosu/vela/compiler_driver.py | |
parent | cc5f4de1c35ba44fca7ff6295c6ae846f8242344 (diff) | |
download | ethos-u-vela-d85750702229af97c0b0bbda6e397a23254b6144.tar.gz |
Update version of Black to 22.3.0
Update version of Black to 22.3.0 due to updated dependencies.
Updates to fix reported issues due to new version.
Signed-off-by: Jonas Ohlsson <jonas.ohlsson@arm.com>
Change-Id: I60056aae452093ce8dcea1f499ecced22b25eef1
Diffstat (limited to 'ethosu/vela/compiler_driver.py')
-rw-r--r-- | ethosu/vela/compiler_driver.py | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/ethosu/vela/compiler_driver.py b/ethosu/vela/compiler_driver.py index cf26eb3b..2715c8fe 100644 --- a/ethosu/vela/compiler_driver.py +++ b/ethosu/vela/compiler_driver.py @@ -44,10 +44,9 @@ from .tensor import Tensor class CompilerOptions: """Set of options to change compiler behaviour - verbosity, targets, turning off passes. -Note the difference between ArchitectureFeatures and CompilerOptions -- ArchitectureFeatures is for changing the Ethos-U and system architecture -- CompilerOptions is for changing the behaviour of the compiler -""" + Note the difference between ArchitectureFeatures and CompilerOptions + - ArchitectureFeatures is for changing the Ethos-U and system architecture + - CompilerOptions is for changing the behaviour of the compiler""" def __init__( self, @@ -194,7 +193,10 @@ def compiler_driver(nng, arch, options, scheduler_options, network_type): # Calculate live ranges for all constant Npu tensors, in permanent storage for sg in npu_subgraphs: lr_graph_flash = live_range.create_linear_live_range_graph( - sg, permanent_storage, MemType.Permanent_NPU, lr_graph=lr_graph_flash, + sg, + permanent_storage, + MemType.Permanent_NPU, + lr_graph=lr_graph_flash, ) if npu_subgraphs: |