openvino/model-optimizer/mo/front/common/weights.py

10 lines
298 B
Python

# Copyright (C) 2018-2021 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
from mo.utils.graph import Graph
def swap_weights_xy(graph: Graph, nodes: list):
from extensions.front.tf.ObjectDetectionAPI import swap_weights_xy as new_swap_weights_xy
new_swap_weights_xy(graph, nodes)