python's @abstractmethod
1、 Write in front
Since python does not have the concept of abstract classes and interfaces, the abc.py class library is needed to realize this function
2、@ abstractmethod features###
@ abstractmethod: abstract method. Classes containing abstractmethod methods cannot be instantiated. Subclasses that inherit the abstractmethod method must override all abstractmethod-decorated methods. Those that are not decorated can not be rewritten.
3、 Take a negative example (instantiate abstract class)

4、 Give a normal example###

***Undertake programming in Matlab, Python and C++, machine learning, computer vision theory implementation and guidance, both undergraduate and master's degree, salted fish trading, professional answers please go to know, please contact QQ number 757160542, if you are the one ***