joschu / cgt

Computation Graph Toolkit
Other
628 stars 87 forks source link

Better error message for cgt.broadcast #28

Open dementrock opened 8 years ago

dementrock commented 8 years ago

Right now when the dimensions don't match, we see an AssertionError with no error messages. This should be made more informative as I can imagine it being a common error

joschu commented 8 years ago

Agreed, will fix.