class_docstr: Wrap a function to aid in variable sharing in Eager mode.
  
  Templates are functions that create variables the first time they are called
  and reuse them thereafter. See `make_template` for full documentation.
  
  Note: By default, the full variable scope is captured at the time of first
  call. If `create_scope_now` is passed as True to the constructor, the full
  scope will be captured there, but no variables will be created until the first
  call.
class_docstr_tok: ["Wrap","a","function","to","aid","in","variable","sharing","in","Eager","mode",".","Templates","are","functions","that","create","variables","the","first","time","they","are","called","and","reuse","them","thereafter",".","See","`","make_template","`","for","full","documentation",".","Note",":","By","default",",","the","full","variable","scope","is","captured","at","the","time","of","first","call",".","If","`","create_scope_now","`","is","passed","as","True","to","the","constructor",",","the","full","scope","will","be","captured","there",",","but","no","variables","will","be","created","until","the","first","call","."]
docstr: Returns the list of global variables created by the Template.
docstr_tok: ["Returns","the","list","of","global","variables","created","by","the","Template","."]
code: def local_variables(self):
      """Returns the list of global variables created by the Template."""
      # Currently there is no local variable in Eager mode.
      return []
  
imports: import functools
  import traceback
  from tensorflow.python.checkpoint import checkpoint
  from tensorflow.python.eager import context
  from tensorflow.python.eager import def_function
  from tensorflow.python.framework import ops
  from tensorflow.python.ops import variable_scope
  from tensorflow.python.platform import tf_logging
  from tensorflow.python.trackable import base
  from tensorflow.python.util import object_identity
  from tensorflow.python.util import tf_contextlib
  from tensorflow.python.util.deprecation import deprecated
  from tensorflow.python.util.tf_export import tf_export
label_desc: Use image node_id 8 for calling the EagerTemplate obj's underlying member method code with example usage: obj.local_variables() and returns: list