[Doc] For contrib.Resampler: explicitly specify the last dimension of 'warp' being the [x (width), y (height)] coordinates of the pixel to be sampled from.

PiperOrigin-RevId: 218892030
This commit is contained in:
Kay Zhu 2018-10-26 12:03:13 -07:00 committed by TensorFlower Gardener
parent a3140b606c
commit 9c5fa10f2e

View File

@ -39,7 +39,9 @@ def resampler(data, warp, name="resampler"):
data_num_channels]` containing 2D data that will be resampled.
warp: Tensor of minimum rank 2 containing the coordinates at which
resampling will be performed. Since only bilinear interpolation is
currently supported, the last dimension of the `warp` tensor must be 2.
currently supported, the last dimension of the `warp` tensor must be 2,
representing the (x, y) coordinate where x is the index for width and y is
the index for height.
name: Optional name of the op.
Returns: