16 lines
371 B
Python
16 lines
371 B
Python
# Copyright (C) 2018-2021 Intel Corporation
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
from extensions.ops.activation_ops import Floor
|
|
from mo.front.extractor import FrontExtractorOp
|
|
|
|
|
|
class FloorExtractor(FrontExtractorOp):
|
|
op = 'Floor'
|
|
enabled = True
|
|
|
|
@classmethod
|
|
def extract(cls, node):
|
|
Floor.update_node_stat(node, {})
|
|
return cls.enabled
|