Checkpointable: Remove overzealous error checking from tf.make_template
It was checking that all variables in the Template's scope were dependencies, but Optimizer slot variables are created with the same prefix (and should not be dependencies). Conversely, eager execution's eager slot variable creation meant that Templates create unnecessary/somewhat harmful dependencies on restored slot variables. Fixes that. PiperOrigin-RevId: 196321999
Loading
Please sign in to comment