Support nesting EagerTemplate objects.
* Nesting is implemented by sharing a single EagerVariableStore among a top-level EagerTemplate and all children EagerTemplate objects that are nested underneath it. Variables added to an EagerTemplate object are also added to all EagerTemplate objects under which it is nested. * This change also simplifies the implementation of __call__ for both Template and EagerTemplate. PiperOrigin-RevId: 181506600
Loading
Please sign in to comment