Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds the transient modifier to the cache field. This tells serialization
to avoid serializing such fields. Not having this causes serialization to be nondeterministic, depending on whether or not the memoized accessor has been called. This is more robust than depending on the @lazyinit annotation, which the processor sometimes can't find. RELNOTES=none ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=220301585
- Loading branch information