Polish weighted_sparse_column doc (#8909)
This commit is contained in:
parent
0f99337955
commit
a336b06d29
@ -791,9 +791,11 @@ def weighted_sparse_column(sparse_id_column,
|
|||||||
weight or value of the corresponding sparse id feature.
|
weight or value of the corresponding sparse id feature.
|
||||||
dtype: Type of weights, such as `tf.float32`. Only floating and integer
|
dtype: Type of weights, such as `tf.float32`. Only floating and integer
|
||||||
weights are supported.
|
weights are supported.
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
A _WeightedSparseColumn composed of two sparse features: one represents id,
|
A _WeightedSparseColumn composed of two sparse features: one represents id,
|
||||||
the other represents weight (value) of the id feature in that example.
|
the other represents weight (value) of the id feature in that example.
|
||||||
|
|
||||||
Raises:
|
Raises:
|
||||||
ValueError: if dtype is not convertible to float.
|
ValueError: if dtype is not convertible to float.
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user