diff --git a/include/aidge/data/DataFormat.hpp b/include/aidge/data/DataFormat.hpp index 64a996501b8c49cc3b282dfbcbe4991db126f1cc..d89eb24cdc7d37c1bd58a1e1e97024a9f5bd47b4 100644 --- a/include/aidge/data/DataFormat.hpp +++ b/include/aidge/data/DataFormat.hpp @@ -88,6 +88,11 @@ DataFormatTranspose getPermutationMapping(const DataFormat& src, const DataForma * * This function computes the new data format after transposing a tensor. * + * It follows these steps: + * 1. Retrieves the permutation mapping from the input format. + * 2. Applies the given output dimensions order to compute the new permutation. + * 3. Identifies the corresponding data format after applying the new permutation. + * * @param inputDataFormat The data format of the input tensor. * @param outputDimsOrder The permutation applied to the input tensor's dimensions. * @return DataFormat The computed output data format after applying the permutation.