I'm confused regarding the place of using regularization. In the theory, I saw regularization has been used with the Loss function.
But in the time implementation in Keras, I saw regularization has been used in the neural network layer.
from keras import regularizers
model.add(Dense(64, input_dim=64, kernel_regularizer=regularizers.l2(0.01)
model.add(Dense(28, input_dim=64, kernel_regularizer=regularizers.l1(0.05)
Here I used L1 and L2 loss in different layers. So How the final loss function will be calculated?