openvino/model-optimizer/extensions/ops/aten.py

22 lines
448 B
Python

# Copyright (C) 2018-2021 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
from mo.graph.graph import Graph
from mo.ops.op import Op
class ATen(Op):
op = 'ATen'
enabled = False
def __init__(self, graph: Graph, attrs: dict):
super().__init__(graph, {
'op': self.op,
'type': None,
'infer': None,
}, attrs)
def supported_attrs(self):
return ['mode', 'operator']