Save the date! Google I/O returns May 18-20 Register now

tf.raw_ops.DatasetCardinality

Returns the cardinality of input_dataset.

Returns the cardinality of input_dataset.

input_dataset A Tensor of type variant. A variant tensor representing the dataset to return cardinality for.
name A name for the operation (optional).

A Tensor of type int64.