Question 12/30 fast.ai v3 lecture 10


What do you need to define to implement additions between instances of a class?

Answer

__add__

Screenshot

supplementary material

Here is a list of other methods you can define if you want to emulate numeric types.