class_docstr: SaveableObject implementation for TreeEnsemble.
docstr: Restores the associated tree ensemble from 'restored_tensors'.
  
  Args:
    restored_tensors: the tensors that were loaded from a checkpoint.
    unused_restored_shapes: the shapes this object should conform to after
      restore. Not meaningful for trees.
  
  Returns:
    The operation that restores the state of the tree ensemble variable.
docstr_tok: ["Restores","the","associated","tree","ensemble","from","'restored_tensors","'",".","Args",":","restored_tensors",":","the","tensors","that","were","loaded","from","a","checkpoint",".","unused_restored_shapes",":","the","shapes","this","object","should","conform","to","after","restore",".","Not","meaningful","for","trees",".","Returns",":","The","operation","that","restores","the","state","of","the","tree","ensemble","variable","."]
code: def restore(self, restored_tensors, unused_restored_shapes):
      """Restores the associated tree ensemble from 'restored_tensors'.
  
      Args:
        restored_tensors: the tensors that were loaded from a checkpoint.
        unused_restored_shapes: the shapes this object should conform to after
          restore. Not meaningful for trees.
  
      Returns:
        The operation that restores the state of the tree ensemble variable.
      """
      with ops.control_dependencies([self._create_op]):
          return (
              gen_boosted_trees_ops.boosted_trees_deserialize_ensemble(
                  self.resource_handle,
                  stamp_token=restored_tensors[0],
                  tree_ensemble_serialized=restored_tensors[1],
              )
          )
  
imports: from tensorflow.python.framework import ops
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import gen_boosted_trees_ops
  from tensorflow.python.ops import resources
  from tensorflow.python.ops.gen_boosted_trees_ops import boosted_trees_aggregate_stats
  from tensorflow.python.ops.gen_boosted_trees_ops import boosted_trees_bucketize
  from tensorflow.python.ops.gen_boosted_trees_ops import boosted_trees_calculate_best_feature_split
  from tensorflow.python.ops.gen_boosted_trees_ops import boosted_trees_calculate_best_feature_split_v2
  from tensorflow.python.ops.gen_boosted_trees_ops import boosted_trees_calculate_best_gains_per_feature
  from tensorflow.python.ops.gen_boosted_trees_ops import boosted_trees_center_bias
  from tensorflow.python.ops.gen_boosted_trees_ops import boosted_trees_create_quantile_stream_resource
  from tensorflow.python.ops.gen_boosted_trees_ops import boosted_trees_example_debug_outputs
  from tensorflow.python.ops.gen_boosted_trees_ops import boosted_trees_make_quantile_summaries
  from tensorflow.python.ops.gen_boosted_trees_ops import boosted_trees_make_stats_summary
  from tensorflow.python.ops.gen_boosted_trees_ops import boosted_trees_predict
  from tensorflow.python.ops.gen_boosted_trees_ops import boosted_trees_quantile_stream_resource_add_summaries
  from tensorflow.python.ops.gen_boosted_trees_ops import boosted_trees_quantile_stream_resource_deserialize
  from tensorflow.python.ops.gen_boosted_trees_ops import boosted_trees_quantile_stream_resource_flush
  from tensorflow.python.ops.gen_boosted_trees_ops import boosted_trees_quantile_stream_resource_get_bucket_boundaries
  from tensorflow.python.ops.gen_boosted_trees_ops import boosted_trees_quantile_stream_resource_handle_op
  from tensorflow.python.ops.gen_boosted_trees_ops import boosted_trees_sparse_aggregate_stats
  from tensorflow.python.ops.gen_boosted_trees_ops import boosted_trees_sparse_calculate_best_feature_split
  from tensorflow.python.ops.gen_boosted_trees_ops import boosted_trees_training_predict
  from tensorflow.python.ops.gen_boosted_trees_ops import boosted_trees_update_ensemble
  from tensorflow.python.ops.gen_boosted_trees_ops import boosted_trees_update_ensemble_v2
  from tensorflow.python.ops.gen_boosted_trees_ops import is_boosted_trees_quantile_stream_resource_initialized
  from tensorflow.python.training import saver
label_desc: Use image node_id 2 for calling the _TreeEnsembleSavable obj's underlying member method code with example usage: obj.restore(restored_tensors, unused_restored_shapes) and returns: gen_boosted_trees_ops