Solved by ptrblck in post #4 
              
              
                You can use @Supreet’s code to return the outputs (just add commas between the returned tensors). 
Once you grab the outputs, you could save them to a .csv. 
Here is a small example: 
class Autoencoder(nn.Module):
    def __init__(self, ):
        super(Autoencoder, self).__init__()
        self.fc1…