From dba67dc5bdf4676c734e34f5f57426e7ad315006 Mon Sep 17 00:00:00 2001 From: Niraj Singh Date: Wed, 24 Jan 2024 12:51:54 +0530 Subject: [PATCH] added deprecated warning --- tf_keras/saving/legacy/model_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tf_keras/saving/legacy/model_config.py b/tf_keras/saving/legacy/model_config.py index 7c1ecc855..4e217e03a 100644 --- a/tf_keras/saving/legacy/model_config.py +++ b/tf_keras/saving/legacy/model_config.py @@ -75,7 +75,7 @@ def model_from_config(config, custom_objects=None): def model_from_yaml(yaml_string, custom_objects=None): """Parses a yaml model configuration file and returns a model instance. - Note: Since TF 2.6, this method is no longer supported and will raise a + Note: Deprecated: THIS FUNCTION IS DEPRECATED. Since TF 2.6, this method is no longer supported and will raise a RuntimeError. Args: