<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/models/blob/v2.20.0/official/core/train_utils.py#L474-L488) |

Writes the model parameters and shapes to a file.

    tfm.core.train_utils.write_model_params(
        model: Union[tf.Module, tf_keras.Model], output_path: str
    ) -> None

<br />

<br />

<br />

| ## Args ||
|---|---|
| `model` | A model instance. |
| `output_path` | Output file path. |

<br />