Skip to content
Snippets Groups Projects
Commit 31167435 authored by Cyril Moineau's avatar Cyril Moineau Committed by Cyril Moineau
Browse files

[Fix] Rename BatchNorm2DOp->BatchNormOp2D to follow pattern <Type><NbDim>DOp.

parent 8d6b6a0c
No related branches found
No related tags found
3 merge requests!279v0.4.0,!253v0.4.0,!236[Fix] Rename BatchNorm2DOp->BatchNormOp2D to follow pattern <Type><NbDim>DOp.
Pipeline #58025 passed
...@@ -23,7 +23,7 @@ namespace Aidge { ...@@ -23,7 +23,7 @@ namespace Aidge {
template <DimSize_t DIM> template <DimSize_t DIM>
void declare_BatchNormOp(py::module& m) { void declare_BatchNormOp(py::module& m) {
const std::string pyClassName("BatchNormOp" + std::to_string(DIM) + "D"); const std::string pyClassName("BatchNorm" + std::to_string(DIM) + "DOp");
py::class_<BatchNorm_Op<DIM>, std::shared_ptr<BatchNorm_Op<DIM>>, OperatorTensor>( py::class_<BatchNorm_Op<DIM>, std::shared_ptr<BatchNorm_Op<DIM>>, OperatorTensor>(
m, pyClassName.c_str(), py::multiple_inheritance()) m, pyClassName.c_str(), py::multiple_inheritance())
.def(py::init<float, float>(), .def(py::init<float, float>(),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment