# tfl.premade_lib.compute_feature_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#L1501-L1533) |

Computes feature keypoints with the data provide in `features` dict.

#### View aliases


**Main aliases**

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

<br />

    tfl.premade_lib.compute_feature_keypoints(
        feature_configs, features, weights=None, weight_reduction='mean'
    )

### Used in the notebooks

| Used in the tutorials |
|---|
| - [Shape Constraints for Ethics with Tensorflow Lattice](https://www.tensorflow.org/lattice/tutorials/shape_constraints_for_ethics) - [TF Lattice Premade Models](https://www.tensorflow.org/lattice/tutorials/premade_models) - [Shape Constraints with Tensorflow Lattice](https://www.tensorflow.org/lattice/tutorials/shape_constraints) |