diff options
Diffstat (limited to 'runtime/onert/core/include/ir/operation/ElementwiseBinary.h')
-rw-r--r-- | runtime/onert/core/include/ir/operation/ElementwiseBinary.h | 71 |
1 files changed, 0 insertions, 71 deletions
diff --git a/runtime/onert/core/include/ir/operation/ElementwiseBinary.h b/runtime/onert/core/include/ir/operation/ElementwiseBinary.h deleted file mode 100644 index dd07f6058..000000000 --- a/runtime/onert/core/include/ir/operation/ElementwiseBinary.h +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright (c) 2020 Samsung Electronics Co., Ltd. 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. - */ - -#ifndef __ONERT_IR_OPERATION_ELEMENTWISEBINARY_H__ -#define __ONERT_IR_OPERATION_ELEMENTWISEBINARY_H__ - -#include "ir/Operation.h" - -namespace onert -{ -namespace ir -{ -namespace operation -{ - -class ElementwiseBinary : public Operation -{ -public: - enum Input - { - LHS = 0, - RHS - }; - - enum class ElementwiseBinaryType - { - LOGICAL_AND, - LOGICAL_OR, - MAX, - MIN - }; - - struct Param - { - ElementwiseBinaryType op_type; - }; - -public: - ElementwiseBinary(const OperandIndexSequence &inputs, const OperandIndexSequence &outputs, - const Param ¶m); - -public: - void accept(OperationVisitor &v) const override; - std::string name() const override; - OpCode opcode() const final { return OpCode::ElementwiseBinary; } - -public: - const Param ¶m() const { return _param; } - -private: - Param _param; -}; - -} // namespace operation -} // namespace ir -} // namespace onert - -#endif // __ONERT_IR_OPERATION_ELEMENTWISEBINARY_H__ |