# tf.raw_ops.BoostedTreesSerializeEnsemble

<br />

Serializes the tree ensemble to a proto.

#### View aliases


**Compat aliases for migration**

See
[Migration guide](https://www.tensorflow.org/guide/migrate) for
more details.

[`tf.compat.v1.raw_ops.BoostedTreesSerializeEnsemble`](https://www.tensorflow.org/api_docs/python/tf/raw_ops/BoostedTreesSerializeEnsemble)

<br />

    tf.raw_ops.BoostedTreesSerializeEnsemble(
        tree_ensemble_handle, name=None
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `tree_ensemble_handle` | A `Tensor` of type `resource`. Handle to the tree ensemble. |
| `name` | A name for the operation (optional). |

<br />

<br />

| ## Returns ||
|---|---|
| A tuple of `Tensor` objects (stamp_token, tree_ensemble_serialized). ||
| `stamp_token` | A `Tensor` of type `int64`. |
| `tree_ensemble_serialized` | A `Tensor` of type `string`. |

<br />