Remove v1 decorators from saved_model:saved_model_test.
Saved model tests care about building the right graphs, so they were forced into graph mode (instead of being ported to tf.function infrastructure). There are differences in the graphs produced between v1 and v2, but those can be handled easily - for testing purposes - by carefully choosing operation names based on the mode. There were unneeded collection operations in a few tests, which were removed. Other small changes were made but mostly tests were forced to run in graph mode. PiperOrigin-RevId: 324289722 Change-Id: Iad60aac85cc3954755a9c6a35cf5a4ddb42640ed
This commit is contained in:
parent
e3ac0822d8
commit
0bf6bb64ce