BoostedTreesGetEnsembleStates

public final class BoostedTreesGetEnsembleStates

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

Constants

String OP_NAME The name of this op, as known by TensorFlow core engine

Public Methods

static BoostedTreesGetEnsembleStates
create(Scope scope, Operand<?> treeEnsembleHandle)
Factory method to create a class wrapping a new BoostedTreesGetEnsembleStates operation.
Output<TInt32>
lastLayerNodesRange()
Rank size 2 tensor that contains start and end ids of the nodes in the latest layer.
Output<TInt32>
numAttemptedLayers()
The number of layers we attempted to build (but not necessarily succeeded).
Output<TInt32>
numFinalizedTrees()
The number of trees that were finished successfully.
Output<TInt32>
numTrees()
The number of trees in the tree ensemble resource.
Output<TInt64>
stampToken()
Stamp token of the tree ensemble resource.

Inherited Methods

Constants

public static final String OP_NAME

The name of this op, as known by TensorFlow core engine

Constant Value: "BoostedTreesGetEnsembleStates"

Public Methods

public static BoostedTreesGetEnsembleStates create (Scope scope, Operand<?> treeEnsembleHandle)

Factory method to create a class wrapping a new BoostedTreesGetEnsembleStates operation.

Parameters
scope current scope
treeEnsembleHandle Handle to the tree ensemble.
Returns
  • a new instance of BoostedTreesGetEnsembleStates

public Output<TInt32> lastLayerNodesRange ()

Rank size 2 tensor that contains start and end ids of the nodes in the latest layer.

public Output<TInt32> numAttemptedLayers ()

The number of layers we attempted to build (but not necessarily succeeded).

public Output<TInt32> numFinalizedTrees ()

The number of trees that were finished successfully.

public Output<TInt32> numTrees ()

The number of trees in the tree ensemble resource.

public Output<TInt64> stampToken ()

Stamp token of the tree ensemble resource.