From 757ab366084fbacd018b4f201996d992caa072ae Mon Sep 17 00:00:00 2001 From: ms245755 <michal.szczepanski@cea.fr> Date: Fri, 24 May 2024 12:15:02 +0000 Subject: [PATCH] Remove warnings in Resize.cpp --- src/operator/Resize.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/operator/Resize.cpp b/src/operator/Resize.cpp index 068602484..d980cb1bb 100644 --- a/src/operator/Resize.cpp +++ b/src/operator/Resize.cpp @@ -62,7 +62,7 @@ bool Aidge::Resize_Op::forwardDims(bool /*allowDataDependency*/) { for (std::size_t dim=0; dim < getInput(1)->size(); ++dim) { // todo verify if batch and depth is not 1 ! - printf("{} {} \n", dim, scales[dim] ); + fmt::print("{} {} \n", dim, scales[dim] ); outDims[dim] *= scales[dim]; } @@ -95,15 +95,15 @@ bool Aidge::Resize_Op::forwardDims(bool /*allowDataDependency*/) { /* std::vector<DimSize_t> outDims[ width_out = sizes[0], \ - // height_out = sizes[1], \ - // depth_input_tensor, \ - // batch_input_tensor]; + height_out = sizes[1], \ + depth_input_tensor, \ + batch_input_tensor]; */ for (std::size_t dim=0; dim < getInput(1)->size(); ++dim) { // todo verify if batch and depth is not 1 ! outDims[dim] = sizes[dim]; - printf("{} {} \n", dim, sizes[dim] ); + fmt::print("{} {} \n", dim, sizes[dim] ); } mOutputs[0]->resize(outDims); fmt::print("output dims 0 = {}\n", outDims); -- GitLab