# tfl.premade_lib.compute_label_keypoints

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/lattice/blob/v2.1.1/tensorflow_lattice/python/premade_lib.py#L1547-L1576) |

Computes label keypoints with the data provide in `lables` array.

#### View aliases


**Main aliases**

[`tfl.premade.premade_lib.compute_label_keypoints`](https://www.tensorflow.org/lattice/api_docs/python/tfl/premade_lib/compute_label_keypoints)

<br />

    tfl.premade_lib.compute_label_keypoints(
        model_config,
        labels,
        logits_output,
        weights=None,
        weight_reduction='mean'
    )