# tff.learning.models.save_functional_model

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/federated/blob/v0.87.0 Version 2.0, January 2004 Licensed under the Apache License, Version 2.0 (the) |

Serializes a `FunctionalModel` as a `tf.SavedModel` to `path`.

    tff.learning.models.save_functional_model(
        functional_model: https://www.tensorflow.org/federated/api_docs/python/tff/learning/models/FunctionalModel,
        path: str
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `functional_model` | A [`tff.learning.models.FunctionalModel`](https://www.tensorflow.org/federated/api_docs/python/tff/learning/models/FunctionalModel). |
| `path` | A `str` directory path to serialize the model to. |

<br />