Unflatten
- class torch.nn.modules.flatten.Unflatten(dim, unflattened_size)
Unflattens a tensor dim expanding it to a desired shape. For use with
Sequential.dimspecifies the dimension of the input tensor to be unflattened.is the new shape of the unflattened dimension of the tensor and it can be a of ints or a of ints or for input.