Publishing 2019 R1 content
This commit is contained in:
1 parent
669bee86e5
commit
72660e9a4d
3639 files changed
+266396
-63952
No files matched your search
@@ -0,0 +1,32 @@
|
||||
"""
|
||||
Copyright (c) 2019 Intel Corporation
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
"""
|
||||
|
||||
from mo.graph.graph import Graph
|
||||
from mo.ops.op import Op
|
||||
|
||||
|
||||
class Binarization(Op):
|
||||
op = 'Binarization'
|
||||
|
||||
def __init__(self, graph: Graph, attrs: dict):
|
||||
mandatory_props = {
|
||||
'op': __class__.op,
|
||||
'infer': None,
|
||||
'dst_type': None,
|
||||
'in_ports_count': 1,
|
||||
'out_ports_count': 1,
|
||||
}
|
||||
super().__init__(graph, mandatory_props, attrs)
|
||||
Reference in new issue
Block a user