prolearner / hypertorch

MIT License
119 stars 16 forks source link

Add suport for unused variables in the graph #3

Open Arnav0400 opened 4 years ago

Arnav0400 commented 4 years ago

The variables not used in the graph are not supported and gives a runtime error - RuntimeError: One of the differentiated Tensors appears to not have been used in the graph. Set allow_unused=True if this is the desired behavior.