parameters: (stamp_token,
                             tree_ensemble_config,
                             name,
                             container=None)
docstring: r"""Creates a tree ensemble model and returns a handle to it.
  
    Args:
      stamp_token: The initial stamp token value for the ensemble resource.
      tree_ensemble_config: A `Tensor` of type `string`. Serialized proto of the
        tree ensemble.
      name: A name for the ensemble variable.
      container: An optional `string`. Defaults to `""`.
  
    Returns:
      A `Tensor` of type mutable `string`. The handle to the tree ensemble.
docstring_summary: r"""Creates a tree ensemble model and returns a handle to it.
docstring_tokens: r Creates a tree ensemble model and returns a handle to it .
function: def tree_ensemble_variable(stamp_token,
                             tree_ensemble_config,
                             name,
                             container=None):
    r"""Creates a tree ensemble model and returns a handle to it.
  
    Args:
      stamp_token: The initial stamp token value for the ensemble resource.
      tree_ensemble_config: A `Tensor` of type `string`. Serialized proto of the
        tree ensemble.
      name: A name for the ensemble variable.
      container: An optional `string`. Defaults to `""`.
  
    Returns:
      A `Tensor` of type mutable `string`. The handle to the tree ensemble.
    """
    with ops.name_scope(name, "TreeEnsembleVariable") as name:
      tree_ensemble_var = TreeEnsembleVariable(stamp_token, tree_ensemble_config,
                                               name, container)
      resource_handle = tree_ensemble_var.resource_handle
      create_op = tree_ensemble_var.initializer
      is_initialized_op = tree_ensemble_var.is_initialized()
      # Adds the variable to the savable list.
      saveable = TreeEnsembleVariableSavable(resource_handle, create_op,
                                             resource_handle.name)
      ops.add_to_collection(ops.GraphKeys.SAVEABLE_OBJECTS, saveable)
      resources.register_resource(resource_handle, create_op, is_initialized_op)
      return resource_handle
function_tokens: def tree_ensemble_variable ( stamp_token , tree_ensemble_config , name , container = None ) : with ops . name_scope ( name , "TreeEnsembleVariable" ) as name : tree_ensemble_var = TreeEnsembleVariable ( stamp_token , tree_ensemble_config , name , container ) resource_handle = tree_ensemble_var . resource_handle create_op = tree_ensemble_var . initializer is_initialized_op = tree_ensemble_var . is_initialized ( ) # Adds the variable to the savable list. saveable = TreeEnsembleVariableSavable ( resource_handle , create_op , resource_handle . name ) ops . add_to_collection ( ops . GraphKeys . SAVEABLE_OBJECTS , saveable ) resources . register_resource ( resource_handle , create_op , is_initialized_op ) return resource_handle