Ivy: Templated Deep Learning for Inter-Framework Portability