Polish weighted_sparse_column doc (#8909)

This commit is contained in:
Yuan (Terry) Tang 2017-04-03 15:30:17 -04:00 committed by Rohan Jain
parent 0f99337955
commit a336b06d29

View File

@ -791,9 +791,11 @@ def weighted_sparse_column(sparse_id_column,
weight or value of the corresponding sparse id feature.
dtype: Type of weights, such as `tf.float32`. Only floating and integer
weights are supported.
Returns:
A _WeightedSparseColumn composed of two sparse features: one represents id,
the other represents weight (value) of the id feature in that example.
Raises:
ValueError: if dtype is not convertible to float.
"""