diff --git a/python_binding/operator/pybind_Conv.cpp b/python_binding/operator/pybind_Conv.cpp index d874e19b73c12b02d600d08c223cd2cb1e8baa11..4a9f588be98bf6e883840ef798273a648e192c3d 100644 --- a/python_binding/operator/pybind_Conv.cpp +++ b/python_binding/operator/pybind_Conv.cpp @@ -73,7 +73,7 @@ template <DimIdx_t DIM> void declare_ConvOp(py::module &m) { void init_Conv(py::module &m) { -// declare_ConvOp<1>(m); + declare_ConvOp<1>(m); declare_ConvOp<2>(m); // declare_ConvOp<3>(m); } diff --git a/python_binding/operator/pybind_ConvDepthWise.cpp b/python_binding/operator/pybind_ConvDepthWise.cpp index 4e63f38304abc49606da4e0f2db661e15b0bd5f0..086df936489dcfffdc0d4e1aae69bea8d44c39d0 100644 --- a/python_binding/operator/pybind_ConvDepthWise.cpp +++ b/python_binding/operator/pybind_ConvDepthWise.cpp @@ -65,7 +65,7 @@ template <DimIdx_t DIM> void declare_ConvDepthWiseOp(py::module &m) { void init_ConvDepthWise(py::module &m) { -// declare_ConvDepthWiseOp<1>(m); + declare_ConvDepthWiseOp<1>(m); declare_ConvDepthWiseOp<2>(m); // declare_ConvDepthWiseOp<3>(m); diff --git a/python_binding/operator/pybind_MetaOperatorDefs.cpp b/python_binding/operator/pybind_MetaOperatorDefs.cpp index c8d88db79e6df261062d737df06b2edf3d2555f9..d021a79c5ff4e337bebf424465458ddabf056a56 100644 --- a/python_binding/operator/pybind_MetaOperatorDefs.cpp +++ b/python_binding/operator/pybind_MetaOperatorDefs.cpp @@ -180,10 +180,10 @@ void declare_LSTMOp(py::module &m) { } void init_MetaOperatorDefs(py::module &m) { -// declare_PaddedConvOp<1>(m); + declare_PaddedConvOp<1>(m); declare_PaddedConvOp<2>(m); // declare_PaddedConvOp<3>(m); -// declare_PaddedConvDepthWiseOp<1>(m); + declare_PaddedConvDepthWiseOp<1>(m); declare_PaddedConvDepthWiseOp<2>(m); // declare_PaddedConvDepthWiseOp<3>(m); // declare_PaddedAvgPoolingOp<1>(m); diff --git a/python_binding/operator/pybind_Pad.cpp b/python_binding/operator/pybind_Pad.cpp index 2bb635635c0be456071507aaf0bfbb76590f9a66..88d5fb4612851551dc844f26373719f13caa7962 100644 --- a/python_binding/operator/pybind_Pad.cpp +++ b/python_binding/operator/pybind_Pad.cpp @@ -63,6 +63,6 @@ void init_Pad(py::module &m) { .export_values(); declare_PadOp<1>(m); declare_PadOp<2>(m); - declare_PadOp<3>(m); + //declare_PadOp<3>(m); } } // namespace Aidge diff --git a/src/operator/Conv.cpp b/src/operator/Conv.cpp index 24e39e48116963991ec9b18825d12a0ad62e2eb0..1a849ede0807deb05253aaebff98db5511f30e71 100644 --- a/src/operator/Conv.cpp +++ b/src/operator/Conv.cpp @@ -164,4 +164,5 @@ void Aidge::Conv_Op<DIM>::setBackend(const std::string &name, Aidge::DeviceIdx_t } } +template class Aidge::Conv_Op<1>; template class Aidge::Conv_Op<2>; \ No newline at end of file diff --git a/src/operator/ConvDepthWise.cpp b/src/operator/ConvDepthWise.cpp index 743ce80bc13f5d2748e7efacb5bf463d72239826..41d386ef96400ce48f7e514ce452812a73b5776d 100644 --- a/src/operator/ConvDepthWise.cpp +++ b/src/operator/ConvDepthWise.cpp @@ -164,4 +164,5 @@ void Aidge::ConvDepthWise_Op<DIM>::setBackend(const std::string &name, Aidge::De } } +template class Aidge::ConvDepthWise_Op<1>; template class Aidge::ConvDepthWise_Op<2>; \ No newline at end of file diff --git a/src/operator/Pad.cpp b/src/operator/Pad.cpp new file mode 100644 index 0000000000000000000000000000000000000000..8356b5da7083aae611869f08a76ad27c4cb499a0 --- /dev/null +++ b/src/operator/Pad.cpp @@ -0,0 +1,15 @@ +/******************************************************************************** + * 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 "aidge/operator/Pad.hpp" + +template class Aidge::Pad_Op<1>; +template class Aidge::Pad_Op<2>;