openvino/model-optimizer/extensions/front/pass_separator.py

32 lines
623 B
Python

# Copyright (C) 2018-2021 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
from mo.front.common.replacement import FrontReplacementPattern
from mo.graph.graph import Graph
class FrontStart(FrontReplacementPattern):
enabled = True
def run_after(self):
return []
def run_before(self):
return []
def find_and_replace_pattern(self, graph: Graph):
pass
class FrontFinish(FrontReplacementPattern):
enabled = True
def run_after(self):
return []
def run_before(self):
return []
def find_and_replace_pattern(self, graph: Graph):
pass