ComputeBatchSize

public final class ComputeBatchSize

Computes the static batch size of a dataset sans partial batches.

Public Methods

Output<Long>
asOutput()
Returns the symbolic handle of a tensor.
Output<Long>
static ComputeBatchSize
create(Scope scope, Operand<?> inputDataset)
Factory method to create a class wrapping a new ComputeBatchSize operation.

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 Output<Long> batchSize ()

public static ComputeBatchSize create (Scope scope, Operand<?> inputDataset)

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

Parameters
scope current scope
Returns
  • a new instance of ComputeBatchSize