concept more function in category deep learning
appears as: more functions

This is an excerpt from Manning's book Grokking Deep Learning.
This is the first version of this basic data structure. Note that it stores all the numerical information in a NumPy array (self.data), and it supports one tensor operation (addition). Adding more operations is relatively simple: create more functions on the tensor class with the appropriate functionality.