Skip to content
Snippets Groups Projects
Commit e8c7ffa6 authored by Michal Szczepanski's avatar Michal Szczepanski
Browse files

removal of ftm::print

parent 6978ee80
No related branches found
No related tags found
2 merge requests!152Update Aidge export to take a graph view has an argument instead of a...,!125Operator resize
......@@ -98,15 +98,6 @@ inline std::shared_ptr<Node> Resize(const std::size_t nbInputDims,
const bool noSizes,
const std::string &name = "") {
fmt::print("noROI {}\n", noROI);
fmt::print("IF {}\n", std::array<DimSize_t, 1>({noROI ? 0 : nbInputDims}));
fmt::print("noScales {}\n", noScales);
fmt::print("IF {}\n", std::array<DimSize_t, 1>({noScales ? 0 : nbInputDims}));
fmt::print("noSizes {}\n", noSizes);
fmt::print("IF {}\n", std::array<DimSize_t, 1>({noSizes ? 0 : nbInputDims}));
auto resize_node = std::make_shared<Node>(std::make_shared<Resize_Op>(noROI, noScales, noSizes), name);
// create empty producers of the same as the rank of input size [nbInputDims]
......
......@@ -28,6 +28,9 @@ const std::string Aidge::Resize_Op::Type = "Resize";
bool Aidge::Resize_Op::forwardDims(bool /*allowDataDependency*/) {
AIDGE_ASSERT(getInput(0)->nbDims() == 4,\
"input tensor must have dimentions = 4 .");
// check input ("data_input","roi", "scales", "data_input","sizes") has been associated
for (size_t i = 0; i < 4; ++i) {
if (!getInput(i)) {
......
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