hpcflow.sdk.core.utils.reshape#

hpcflow.sdk.core.utils.reshape(lst, lens)#

Reverse the destructuring of the flatten() function.

Parameters:
  • lst (Sequence[T]) –

  • lens (Sequence[Sequence[int]]) –

Return type:

list[TList[T]]