# tfl.premade_lib.set_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#L1536-L1544) |

Updates the feature configs with provided keypoints.

#### View aliases


**Main aliases**

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

<br />

    tfl.premade_lib.set_feature_keypoints(
        feature_configs, feature_keypoints, add_missing_feature_configs
    )

### Used in the notebooks

| Used in the tutorials |
|---|
| - [Shape Constraints with Tensorflow Lattice](https://www.tensorflow.org/lattice/tutorials/shape_constraints) - [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) |