polish doc: lod_rank_table, embedding

wangkuiyi-patch-1
tensor-tang 7 years ago
parent 24fea628cc
commit f9bebfe430

@ -177,7 +177,7 @@ def embedding(input,
padding_idx(int|long|None): If :attr:`None`, it makes no effect to lookup.
Otherwise the given :attr:`padding_idx` indicates padding the output
with zeros whenever lookup encounters it in :attr:`input`. If
:math:`padding_idx < 0`, the padding_idx to use in lookup is
:math:`padding_idx < 0`, the :attr:`padding_idx` to use in lookup is
:math:`size[0] + dim`.
param_attr(ParamAttr): Parameters for this layer
dtype(np.dtype|core.VarDesc.VarType|str): The type of data : float32, float_16, int etc

Loading…
Cancel
Save