Keras Subclasssing

import tensorflow as tf
from tensorflow as keras

1.Layer class

2.add_loss method

3.add_metric method

4.call method

5.Model class

6.The Functional API