#include <array_ops.h>
Extract patches
from input
and put them in the "depth"
output dimension.
3D extension of extract_image_patches
.
Arguments:
[batch, in_planes, in_rows, in_cols, depth]
.input
.input
. Must be: [1, stride_planes, stride_rows, stride_cols, 1]
.The size-related attributes are specified as follows:
ksizes = [1, ksize_planes, ksize_rows, ksize_cols, 1] strides = [1, stride_planes, strides_rows, strides_cols, 1]
Returns:
Output
: 5-D Tensor with shape [batch, out_planes, out_rows, out_cols, ksize_planes * ksize_rows * ksize_cols * depth]
containing patches with size ksize_planes x ksize_rows x ksize_cols x depth
vectorized in the "depth" dimension. Note out_planes
, out_rows
and out_cols
are the dimensions of the output patches. Constructors and Destructors | |
---|---|
ExtractVolumePatches(const ::tensorflow::Scope & scope, ::tensorflow::Input input, const gtl::ArraySlice< int > & ksizes, const gtl::ArraySlice< int > & strides, StringPiece padding) |
Public attributes | |
---|---|
operation | |
patches |
Public functions | |
---|---|
node() const | ::tensorflow::Node * |
operator::tensorflow::Input() const | |
operator::tensorflow::Output() const |
Operation operation
::tensorflow::Output patches
ExtractVolumePatches( const ::tensorflow::Scope & scope, ::tensorflow::Input input, const gtl::ArraySlice< int > & ksizes, const gtl::ArraySlice< int > & strides, StringPiece padding )
::tensorflow::Node * node() const
operator::tensorflow::Input() const
operator::tensorflow::Output() const
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/cc/class/tensorflow/ops/extract-volume-patches