Have a question? Connect with the community at the TensorFlow Forum Visit Forum

TensorForestTreePredict

public final class TensorForestTreePredict

Output the logits for the given input data

Constants

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

Public Methods

Output < TFloat32 >
asOutput ()
Returns the symbolic handle of the tensor.
static TensorForestTreePredict
create ( Scope scope, Operand <?> treeHandle, Operand < TFloat32 > denseFeatures, Long logitsDimension)
Factory method to create a class wrapping a new TensorForestTreePredict operation.
Output < TFloat32 >
logits ()
The logits predictions from the tree for each instance in the batch.

Inherited Methods

Constants

public static final String OP_NAME

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

Constant Value: "TensorForestTreePredict"

Public Methods

public Output < TFloat32 > asOutput ()

Returns the symbolic handle of the 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 TensorForestTreePredict create ( Scope scope, Operand <?> treeHandle, Operand < TFloat32 > denseFeatures, Long logitsDimension)

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

Parameters
scope current scope
treeHandle Handle to the tree resource.
denseFeatures Rank 2 dense features tensor.
logitsDimension Scalar, dimension of the logits.
Returns
  • a new instance of TensorForestTreePredict

public Output < TFloat32 > logits ()

The logits predictions from the tree for each instance in the batch.