Missed TensorFlow World? Check out the recap. Learn more

tf.keras.regularizers.l2

tf.keras.regularizers.l2(l=0.01)

Defined in tensorflow/python/keras/regularizers.py.