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

github.com/torch/image.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Tompson <jonathantompson@gmail.com>2015-04-14 18:48:59 +0300
committerJonathan Tompson <jonathantompson@gmail.com>2015-04-15 17:00:51 +0300
commit14f20a798102f514369fc22225977ccfe3491ce2 (patch)
tree5b0e6063c3d689a9fe5c746a330688c4292d2aae /README.md
parent341c86c4bffac0dce2ef0946c0924cc4c693a939 (diff)
Added flip function (to flip an arbitrary dimension up to 5D).
Added back rawset for vflip Added test for non-contiguous tensors. Removed non-contiguous test. Added checks for the source and desination tensor in vflip, hflip and flip. flixed leaked global.
Diffstat (limited to 'README.md')
-rwxr-xr-x[-rw-r--r--]README.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/README.md b/README.md
index 314062c..9c71d7e 100644..100755
--- a/README.md
+++ b/README.md
@@ -128,6 +128,11 @@ store the output image. Otherwise, returns a new `res` Tensor.
Flips image `src` vertically (upsize<->down). If `dst` is provided, it is used to
store the output image. Otherwise, returns a new `res` Tensor.
+<a name="image.flip"/>
+### [res] image.flip([dst,] src, flip_dim) ###
+Flips image `src` along the specified dimension. If `dst` is provided, it is used to
+store the output image. Otherwise, returns a new `res` Tensor.
+
<a name="image.minmax"/>
### [res] image.minmax{tensor, [min, max, ...]} ###
Compresses image `tensor` between `min` and `max`.