Skip to content
This repository has been archived by the owner on Dec 1, 2021. It is now read-only.

Commit

Permalink
Refactored operators. (#532)
Browse files Browse the repository at this point in the history
  • Loading branch information
ed728 committed Feb 27, 2020
1 parent c3a297b commit e1af0ec
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
22 changes: 22 additions & 0 deletions blueoil/converter/core/operators/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# -*- coding: utf-8 -*-
# Copyright 2019 The Blueoil Authors. All Rights Reserved.
#
# 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 .base import Operator, Conv, Pool, MaxPool, AveragePool, Add, Gemm, Mul,\
Maximum, MatMul, Minimum, Identity, BatchNormalization, Dropout, Gather,\
Unique, Cast, Prod, BatchNormalizationOptimized, Softmax, Relu, LeakyRelu,\
Quantizer, QTZ_binary_mean_scaling, QTZ_linear_mid_tread_half,\
QTZ_binary_channel_wise_mean_scaling, Lookup, SpaceToDepth, Transpose,\
Reshape, Flatten, ConcatOnDepth, DepthToSpace, ResizeNearestNeighbor,\
Split, Pad, Shape, StridedSlice, Variable, Input, Constant, Output
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
from blueoil.converter.core.view import View
from blueoil.converter.util import classproperty

from .data_types import *
from blueoil.converter.core.data_types import *

if TYPE_CHECKING:
import blueoil.converter.core.operators as ops
Expand Down

0 comments on commit e1af0ec

Please sign in to comment.