diff --git a/src/operator/Resize.cpp b/src/operator/Resize.cpp index 068602484b7bdfb4eadf1c29ad561d53325e3a67..d980cb1bb5ebe7022b87168d97b255232f3bbcc1 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);