add more comment

revert-16650-refine_parallel_executor_3
zhoukunsheng 6 years ago
parent 43060084a4
commit 263ff731eb

@ -832,7 +832,8 @@ def linspace(start, stop, num, dtype):
Examples: Examples:
.. code-block:: python .. code-block:: python
data = fluid.layers.linspace(0, 10, 5, 'float32') data = fluid.layers.linspace(0, 10, 5, 'float32') # [0.0, 2.5, 5.0, 7.5, 10.0]
data = fluid.layers.linspace(0, 10, 1, 'float32') # [0.0]
""" """
helper = LayerHelper("linspace", **locals()) helper = LayerHelper("linspace", **locals())

Loading…
Cancel
Save