Skip to content

Commit

Permalink
Output is returnes as a tuple rather than a torch.size([])
Browse files Browse the repository at this point in the history
  • Loading branch information
madhavkhoslaa committed Jul 15, 2019
1 parent 630fa0a commit d0784f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@ def get_out_size(model):
outputs = model(
inputs.type(
torch.FloatTensor))
return outputs.size()
return tuple(outputs.size())

0 comments on commit d0784f2

Please sign in to comment.