The d2l API Reference (Tools for Deep Learning)