caldera.utils.unravel_index

caldera.utils.unravel_index(index: int, shape: ) → Tuple[int][source]
Parameters
  • index (LongTensor) –

  • shape (Union[Size, Tuple[int, …]]) –

Return type

Tuple[LongTensor, …]