View source on GitHub |
A class used to represent VarLenFeature with rank.
tfio.experimental.columnar.VarLenFeatureWithRank(
dtype: tf.dtypes.DType,
rank: int = 1
)
Used in the notebooks
Used in the tutorials |
---|
This allows rank to be passed by users, and when parsing, rank will be used to determine the shape of sparse feature. User should use this class as opposed to VarLenFeature when defining features of data.
Attributes | |
---|---|
dtype
|
|
rank
|