# tf.compat.v1.no_regularizer

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.11.1/tensorflow/python/ops/variable_scope.py#L1102-L1105) |

Use this function to prevent regularization of variables.

    tf.compat.v1.no_regularizer(
        _
    )