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/pass_packing.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'ethosu/vela/pass_packing.py') diff --git a/ethosu/vela/pass_packing.py b/ethosu/vela/pass_packing.py index 1ad5b4f7..9bf080e6 100644 --- a/ethosu/vela/pass_packing.py +++ b/ethosu/vela/pass_packing.py @@ -13,17 +13,16 @@ # 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: # Packs a subgraph with Neural Network Operations into Passes. Each Pass has one or more Operations. - -import enum import collections +import enum -from .nn_graph import Pass, PassPlacement +from .nn_graph import Pass +from .nn_graph import PassPlacement +from .operation import NpuBlockType +from .operation import Operation from .tensor import TensorPurpose -from .operation import Operation, NpuBlockType class PassFlags(enum.Flag): -- cgit v1.2.1