From e8a10454eba4c7392cb301fbfbe796e5bfb2b729 Mon Sep 17 00:00:00 2001 From: Diego Russo Date: Tue, 21 Apr 2020 17:39:10 +0100 Subject: Add reorder-python-import pre-commit hook Also updated README.md Change-Id: I118309c61f4d00e8508d6b888c606995490fba39 Signed-off-by: Diego Russo --- ethosu/vela/architecture_features.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'ethosu/vela/architecture_features.py') diff --git a/ethosu/vela/architecture_features.py b/ethosu/vela/architecture_features.py index 69f95fa2..c8827db6 100644 --- a/ethosu/vela/architecture_features.py +++ b/ethosu/vela/architecture_features.py @@ -13,22 +13,21 @@ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. - - # Description: # Holds a container for Ethos-U55/System architecture parameters. - import enum from collections import namedtuple from configparser import ConfigParser import numpy as np -from .tensor import MemArea, TensorPurpose, TensorFormat +from .numeric_util import round_up +from .numeric_util import round_up_divide from .operation import NpuBlockType -from .numeric_util import round_up, round_up_divide from .supported_operators import SupportedOperators - +from .tensor import MemArea +from .tensor import TensorFormat +from .tensor import TensorPurpose PointXY = namedtuple("PointXY", "x y") PointXYZ = namedtuple("PointXYZ", "x y z") -- cgit v1.2.1