tensorflow::ops::ExtractImagePatches
tensorflow::ops::ExtractImagePatches
#include <array_ops.h>
Extract patches
from images
and put them in the "depth" output dimension.
Summary
Arguments:
- scope: A Scope object
- images: 4-D Tensor with shape
[batch, in_rows, in_cols, depth]
. - ksizes: The size of the sliding window for each dimension of
images
. - strides: 1-D of length 4. How far the centers of two consecutive patches are in the images. Must be:
[1, stride_rows, stride_cols, 1]
. - rates: 1-D of length 4. Must be:
[1, rate_rows, rate_cols, 1]
. This is the input stride, specifying how far two consecutive patch samples are in the input. Equivalent to extra