Updates minimum version of TensorFlow from 2.8 to 2.9
Removes some patching of _set_save_spec that was added for support for earlier TensorFlow versions.
Motivation. Newer versions of numpy have dropped support for the deprecated builtin type aliaes (e.g. np.object).
This causes an expression like tf.ragged.constant([[1, 2], [3]]) to raise AttributeError: module 'numpy' has no attribute 'object'.
Removes some patching of
_set_save_spec
that was added for support for earlier TensorFlow versions.Motivation. Newer versions of numpy have dropped support for the deprecated builtin type aliaes (e.g.
np.object
). This causes an expression liketf.ragged.constant([[1, 2], [3]])
to raiseAttributeError: module 'numpy' has no attribute 'object'.