tf.compat.v1.no_regularizer

Use this function to prevent regularization of variables.