class_docstr: Wrap a function to aid in variable sharing.
  
  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 created until the first
  call.
docstr: Returns the list of global and local variables created by the Template.
docstr_tok: ["Returns","the","list","of","global","and","local","variables","created","by","the","Template","."]
code: def variables(self):
      """Returns the list of global and local variables created by the Template."""
      return self.global_variables + self.local_variables
  
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 Template obj's underlying member method code with example usage: obj.variables() and returns: unknown