diff --git a/include/aidge/graph/GraphView.hpp b/include/aidge/graph/GraphView.hpp index c9a4c11d780a41a1620518047d66a7de2d7b55fa..627e78790020c04d50f839f01de2130ba8d8d774 100644 --- a/include/aidge/graph/GraphView.hpp +++ b/include/aidge/graph/GraphView.hpp @@ -208,7 +208,12 @@ public: /** * @brief Compute dimensions of input/output Tensors for each Operator of the - * GraphView object's Nodes. + * GraphView object's Nodes, by calling Node::forwardDims(). + * This function verifies the following conditions: + * - Every node will forwardDims() regardless of if dims were previously forwarded or not; + * - forwadDims() calls are made in node dependencies order, because if dims have changed + * at any point in the graph, it must de propagated correctly to all succeeding nodes; + * - It handles cyclic dependencies correctly (currently only induced by the Memorize_Op). */ bool forwardDims(const std::vector<std::vector<DimSize_t>>& dims = {}, bool allowDataDependency = false);