Home
last modified time | relevance | path

Searched refs:function_dict (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/python/keras/saving/saved_model/
Dserialized_attributes.py188 def set_and_validate_functions(self, function_dict): argument
191 if key in function_dict:
192 if (function_dict[key] is not None and # Not all functions are required
193 not isinstance(function_dict[key],
197 ' {})'.format(function_dict[key], key))
198 self._function_dict[key] = function_dict[key]
199 setattr(self._keras_trackable, key, function_dict[key])
Dlayer_serialization.py93 object_dict, function_dict = self._get_serialized_attributes_internal(
97 serialized_attr.set_and_validate_functions(function_dict)