Do I have to replace all L2 with L1 throughout in the following the code.

This file is MACHINE GENERATED! Do not edit.

Generated by: tensorflow/python/tools/api/generator/create_python_api.py script.
“”"Built-in regularizers.
“”"
from future import print_function as _print_function
import sys as _sys
from tensorflow.python.keras.regularizers import L1L2
from tensorflow.python.keras.regularizers import Regularizer
from tensorflow.python.keras.regularizers import deserialize
from tensorflow.python.keras.regularizers import get
from tensorflow.python.keras.regularizers import l1
from tensorflow.python.keras.regularizers import l1_l2
from tensorflow.python.keras.regularizers import l2
from tensorflow.python.keras.regularizers import serialize
del _print_function