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.
cardinality_options An optional string. Defaults to "".
name A name for the operation (optional).

A Tensor of type int64.