Commit 96c76b29 authored by Karmel Allison's avatar Karmel Allison Committed by TensorFlower Gardener
Browse files

The SavedModel legacy_init_op and main_op are functionally equivalent. Here,...

The SavedModel legacy_init_op and main_op are functionally equivalent. Here, we remove duplicated code paths by mapping legacy_init_op into main_op in the SavedModelBuilder, and we deprecate the legacy_init_op arg. Note that the loader will still look for both, so old SavedModels will still load without trouble.

PiperOrigin-RevId: 206026743
parent 97292026
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment