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
path: root/doc
diff options
context:
space:
mode:
authorcpuhrsch <cpuhrsch@googlemail.com>2016-05-25 18:33:39 +0300
committerSoumith Chintala <soumith@gmail.com>2016-05-25 18:33:39 +0300
commit7fc533eb8f9f55ba83db256c811667c347e6bb1a (patch)
tree213a63333a815caf1130646989e86594d2568e23 /doc
parentbfa7fc8584739825389647f371494d17ae18a7cd (diff)
Make CmdLine:log check whether file is a file descriptor, before creating a new file (#690)
* Make CmdLine:log check whether file is a file descriptor, before creating a new file.
Diffstat (limited to 'doc')
-rw-r--r--doc/cmdline.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/cmdline.md b/doc/cmdline.md
index 7f34e28..3f33439 100644
--- a/doc/cmdline.md
+++ b/doc/cmdline.md
@@ -107,7 +107,8 @@ The final produced output for the following command is:
### log(filename, parameter_table) ###
It sets the log filename to `filename` and prints the values of
-parameters in the `parameter_table`.
+parameters in the `parameter_table`. If filename is an open file
+descriptor, it will write to the file instead of creating a new one.
<a name="torch.CmdLine.option"></a>
### option(name, default, help) ###