Help protect the Great Barrier Reef with TensorFlow on Kaggle Join Challenge

TensorForestTreeSize

public final class TensorForestTreeSize

Get the number of nodes in a tree

Public Methods

Output<Integer>
asOutput()
Returns the symbolic handle of a tensor.
static TensorForestTreeSize
create(Scope scope, Operand<?> treeHandle)
Factory method to create a class wrapping a new TensorForestTreeSize operation.
Output<Integer>
treeSize()
The size of the tree.

Inherited Methods

Public Methods

public Output<Integer> asOutput ()

Returns the symbolic handle of a tensor.

Inputs to TensorFlow operations are outputs of another TensorFlow operation. This method is used to obtain a symbolic handle that represents the computation of the input.

public static TensorForestTreeSize create (Scope scope, Operand<?> treeHandle)

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

Parameters
scope current scope
treeHandle Handle to the tree resource.
Returns
  • a new instance of TensorForestTreeSize

public Output<Integer> treeSize ()

The size of the tree.