Skip to content
Snippets Groups Projects
Commit 9ff4d3e2 authored by Wissam Boussella's avatar Wissam Boussella
Browse files

docstring : Back to the future

parent 17224136
No related branches found
No related tags found
No related merge requests found
Pipeline #68306 failed
...@@ -88,6 +88,11 @@ DataFormatTranspose getPermutationMapping(const DataFormat& src, const DataForma ...@@ -88,6 +88,11 @@ DataFormatTranspose getPermutationMapping(const DataFormat& src, const DataForma
* *
* This function computes the new data format after transposing a tensor. * 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 inputDataFormat The data format of the input tensor.
* @param outputDimsOrder The permutation applied to the input tensor's dimensions. * @param outputDimsOrder The permutation applied to the input tensor's dimensions.
* @return DataFormat The computed output data format after applying the permutation. * @return DataFormat The computed output data format after applying the permutation.
......
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