From c776851cac468a211f2d10656b1f14b380749714 Mon Sep 17 00:00:00 2001 From: bhalimi <benjamin.halimi@cea.fr> Date: Fri, 17 Jan 2025 14:21:56 +0000 Subject: [PATCH] Revert "add pybind_Abs" This reverts commit 8c8ebb2b8cd778f5daedea5d20d2a9ef52da88fc. --- python_binding/operator/pybind_Abs.cpp | 31 -------------------------- 1 file changed, 31 deletions(-) delete mode 100644 python_binding/operator/pybind_Abs.cpp diff --git a/python_binding/operator/pybind_Abs.cpp b/python_binding/operator/pybind_Abs.cpp deleted file mode 100644 index 6c7cd6bae..000000000 --- a/python_binding/operator/pybind_Abs.cpp +++ /dev/null @@ -1,31 +0,0 @@ -/******************************************************************************** - * Copyright (c) 2023 CEA-List - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License 2.0 which is available at - * http://www.eclipse.org/legal/epl-2.0. - * - * SPDX-License-Identifier: EPL-2.0 - * - ********************************************************************************/ - -#include <pybind11/pybind11.h> - -#include "aidge/data/Tensor.hpp" -#include "aidge/operator/Abs.hpp" -#include "aidge/operator/OperatorTensor.hpp" - -namespace py = pybind11; -namespace Aidge { - -void init_Abs(py::module& m) { - py::class_<Abs_Op, std::shared_ptr<Abs_Op>, OperatorTensor>(m, "AbsOp", py::multiple_inheritance()) - .def(py::init<>()) - .def_static("get_inputs_name", &Abs_Op::getInputsName) - .def_static("get_outputs_name", &Abs_Op::getOutputsName) - .def_readonly_static("Type", &Abs_Op::Type); - declare_registrable<Abs_Op>(m, "AbsOp"); - - m.def("Abs", &Abs, py::arg("name") = ""); -} -} // namespace Aidge -- GitLab