From c30f495dc013a73e371dd8053a0381e4707ab309 Mon Sep 17 00:00:00 2001 From: Tim Hall Date: Mon, 15 Jun 2020 20:47:35 +0100 Subject: Code clean-up using black and flake8 - No functional change Signed-off-by: Tim Hall Change-Id: I5ab1198b9d092cd041fa9b85b2dee9900d299bfc --- ethosu/vela/architecture_features.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'ethosu/vela/architecture_features.py') diff --git a/ethosu/vela/architecture_features.py b/ethosu/vela/architecture_features.py index 15cf0ea4..58ab0ad3 100644 --- a/ethosu/vela/architecture_features.py +++ b/ethosu/vela/architecture_features.py @@ -342,9 +342,14 @@ Note the difference between ArchitectureFeatures and CompilerOptions return min(max_block_depth, ifm_depth) # Calculate the size of the IFM block given a depth, target OFM block and a kernel - def get_ifm_block_size(self, ifm_block_depth, ofm_block: Block, - kernel: Kernel, subkernel: Block = Block(8, 8, 65536), - ifm_resampling_mode=resampling_mode.NONE): + def get_ifm_block_size( + self, + ifm_block_depth, + ofm_block: Block, + kernel: Kernel, + subkernel: Block = Block(8, 8, 65536), + ifm_resampling_mode=resampling_mode.NONE, + ): upscaling = 1 if ifm_resampling_mode == resampling_mode.NONE else 2 # Height ifm_odd_2x_height_enable = 0 -- cgit v1.2.1