# tf.raw_ops.BoostedTreesGetEnsembleStates

<br />

Retrieves the tree ensemble resource stamp token, number of trees and growing statistics.

#### View aliases


**Compat aliases for migration**

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

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

<br />

    tf.raw_ops.BoostedTreesGetEnsembleStates(
        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, num_trees, num_finalized_trees, num_attempted_layers, last_layer_nodes_range). ||
| `stamp_token` | A `Tensor` of type `int64`. |
| `num_trees` | A `Tensor` of type `int32`. |
| `num_finalized_trees` | A `Tensor` of type `int32`. |
| `num_attempted_layers` | A `Tensor` of type `int32`. |
| `last_layer_nodes_range` | A `Tensor` of type `int32`. |

<br />