class_docstr: SaveableObject implementation for TreeEnsemble.
docstr: Creates a _TreeEnsembleSavable object.
  
  Args:
    resource_handle: handle to the decision tree ensemble variable.
    create_op: the op to initialize the variable.
    name: the name to save the tree ensemble variable under.
docstr_tok: ["Creates","a","_TreeEnsembleSavable","object",".","Args",":","resource_handle",":","handle","to","the","decision","tree","ensemble","variable",".","create_op",":","the","op","to","initialize","the","variable",".","name",":","the","name","to","save","the","tree","ensemble","variable","under","."]
code: def __init__(self, resource_handle, create_op, name):
      """Creates a _TreeEnsembleSavable object.
  
      Args:
        resource_handle: handle to the decision tree ensemble variable.
        create_op: the op to initialize the variable.
        name: the name to save the tree ensemble variable under.
      """
      (
          stamp_token,
          serialized,
      ) = gen_boosted_trees_ops.boosted_trees_serialize_ensemble(
          resource_handle
      )
      # slice_spec is useful for saving a slice from a variable.
      # It's not meaningful the tree ensemble variable. So we just pass an empty
      # value.
      slice_spec = ""
      specs = [
          saver.BaseSaverBuilder.SaveSpec(
              stamp_token, slice_spec, name + "_stamp"
          ),
          saver.BaseSaverBuilder.SaveSpec(
              serialized, slice_spec, name + "_serialized"
          ),
      ]
      super(_TreeEnsembleSavable, self).__init__(
          resource_handle, specs, name
      )
      self.resource_handle = resource_handle
      self._create_op = create_op
  
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 1 to create a new _TreeEnsembleSavable object from inherited base classes: saver.BaseSaverBuilder with example: obj = _TreeEnsembleSavable(resource_handle, create_op, name)