View source on GitHub |
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
Args | |
---|---|
model
|
A model instance. |
output_path
|
Output file path. |