def METHOD_NAME(name, *args, **kw):
  """Implements an operator that generates a variable.
  This function is still experimental. Use it only
  for generating a single variable instance for
  each name.
  Args:
      name: Name of the variable.
      *args: Other arguments to get_variable.
      **kw: Other keywords for get_variable.
  Returns:
      A specs object for generating a variable.
  """
  def var(_):
    return variable_scope.get_variable(name, *args, **kw)
  return specs_lib.Callable(var)