Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/torch7.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'doc/random.md')
-rw-r--r--doc/random.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/random.md b/doc/random.md
index 2bb2d1f..235c6f6 100644
--- a/doc/random.md
+++ b/doc/random.md
@@ -120,10 +120,10 @@ random numbers is produced.
<a name="torch.setRNGState"></a>
### [Tensor] setRNGState([gen,] state) ###
-Set the state of the random number generator. If `state` was obtained earlier
+Sets the state of the random number generator. If `state` was obtained earlier
using `getRNGState` then the random number generator should now generate the
same numbers as it did from the point where `state` was obtained. This function
-returns its argument, `state`.
+returns its argument `state`.
<a name="torch.random"></a>
### [number] random([gen,] [a], [b]) ###