<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/models/blob/v2.20.0/official/nlp/modeling/layers/cls_head.py#L341-L358) |

Extracts Gaussian process layer configs from a given kwarg.

    tfm.nlp.layers.extract_gp_layer_kwargs(
        kwargs
    )