regmodule_pyngraph_op_util.cpp 1.59 KB
Newer Older
1
//*****************************************************************************
2
// Copyright 2017-2020 Intel Corporation
3 4 5 6 7 8 9 10 11 12 13 14 15
//
// 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.
//*****************************************************************************
16 17 18 19 20 21 22 23 24

#include "pyngraph/ops/util/regmodule_pyngraph_op_util.hpp"
#include <pybind11/pybind11.h>

namespace py = pybind11;

void regmodule_pyngraph_op_util(py::module m)
{
    py::module m_util = m.def_submodule("util", "module pyngraph.op.util");
25
    //    regclass_pyngraph_op_util_RequiresTensorViewArgs(m_util);
26 27
    regclass_pyngraph_op_util_OpAnnotations(m_util);
    regclass_pyngraph_op_util_ArithmeticReduction(m_util);
28
    //    regclass_pyngraph_op_util_BinaryElementwise(m_util);
29 30
    regclass_pyngraph_op_util_BinaryElementwiseArithmetic(m_util);
    regclass_pyngraph_op_util_BinaryElementwiseComparison(m_util);
31
    regclass_pyngraph_op_util_BinaryElementwiseLogical(m_util);
32
    //    regclass_pyngraph_op_util_UnaryElementwise(m_util);
33
    regclass_pyngraph_op_util_UnaryElementwiseArithmetic(m_util);
34
    regclass_pyngraph_op_util_IndexReduction(m_util);
35
}