Hello I have a little question that might be straightforward:
Suppose we have a torch.tensor
x
with shape (4,5,1)
.
What I’d like to do is applying a neural network on this input data, but on the last dimension only. Let’s say we decide some output features having dimension 64, then my output’s shape would be something like (4,5,64)
.
Trying with the standard procedure, I have noticed that the input tensor gets automatically flattened and the input seeks to receive an input of dimensions (20,1)
Many thanks,
Federico