LookupTableSize

public final class LookupTableSize

Computes the number of elements in the given table.

Public Methods

Output<Long>
asOutput()
Returns the symbolic handle of a tensor.
static LookupTableSize
create(Scope scope, Operand<?> tableHandle)
Factory method to create a class wrapping a new LookupTableSize operation.
Output<Long>
size()
Scalar that contains number of elements in the table.

Inherited Methods

Public Methods

public Output<Long> 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 LookupTableSize create (Scope scope, Operand<?> tableHandle)

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

Parameters
scope current scope
tableHandle Handle to the table.
Returns
  • a new instance of LookupTableSize

public Output<Long> size ()

Scalar that contains number of elements in the table.