Deep Learning Network Debugging Made Easy
Aligning the shape of tensors (or vectors/matrices) in a network can be challenging at times.
As the network grows, it is common to lose track of dimensionalities in a complex expression.
Instead of explicitly printing tensor shapes to debug, use 𝐓𝐞𝐧𝐬𝐨𝐫𝐒𝐞𝐧𝐬𝐨𝐫. It generates an elegant visualization for each statement executed within its block. This makes dimensionality tracking effortless and quick.
In case of errors, it augments default error messages with more helpful details. This further speeds up the debugging process.
Read more: Documentation
Share this post on LinkedIn: Post Link.
The code snippets for the posts I have shared here are available on GitHub. Check out this repository: GitHub.
I like to explore, experiment and write about data science concepts and tools. You can read my articles on Medium. Also, you can connect with me on LinkedIn.