diff options
author | 2017-11-16 06:06:49 -0800 | |
---|---|---|
committer | 2017-11-16 06:11:22 -0800 | |
commit | 2a3429d702699012425eb3fa9cd2a1d796a14b20 (patch) | |
tree | 17dfa435aa94b3768200f0aba16f5409afa38168 /tensorflow/contrib/image | |
parent | 2011c2011ae30c3a40801f0543969fa8f373156a (diff) |
Add docstring note about .transform() backprop behaviour.
PiperOrigin-RevId: 175955706
Diffstat (limited to 'tensorflow/contrib/image')
-rw-r--r-- | tensorflow/contrib/image/python/ops/image_ops.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tensorflow/contrib/image/python/ops/image_ops.py b/tensorflow/contrib/image/python/ops/image_ops.py index 011ddeaa9a..faedee6f87 100644 --- a/tensorflow/contrib/image/python/ops/image_ops.py +++ b/tensorflow/contrib/image/python/ops/image_ops.py @@ -224,7 +224,8 @@ def transform(images, transforms, interpolation="NEAREST", name=None): `(x, y)` to a transformed *input* point `(x', y') = ((a0 x + a1 y + a2) / k, (b0 x + b1 y + b2) / k)`, where `k = c0 x + c1 y + 1`. The transforms are *inverted* compared to - the transform mapping input points to output points. + the transform mapping input points to output points. Note that gradients + are not backpropagated into transformation parameters. interpolation: Interpolation mode. Supported values: "NEAREST", "BILINEAR". Returns: |