View source on GitHub |
Returns a variant representing the given dataset.
tf.data.experimental.to_variant(
dataset: tf.data.Dataset
)
Args | |
---|---|
dataset
|
A tf.data.Dataset .
|
Returns | |
---|---|
A scalar tf.variant tensor representing the given dataset.
|