tensorflow::ops::ExtractVolumePatches
#include <array_ops.h>
Извлечь patches из input и поместить их в "depth" размерность вывода.
Краткое описание
3D расширение extract_image_patches.
Аргументы:
- scope: Объект Scope
- input: 5-мерный Tensor с формой
[batch, in_planes, in_rows, in_cols, depth]. - ksizes: Размер скользящего окна для каждой размерности
input. - strides: 1-мерный массив длиной 5. Расстояние между центрами двух последовательных блоков в
input. Должно быть:[1, stride_planes, stride_rows, stride_cols, 1]. - padding: Тип алгоритма заполнения.
Атрибуты, связанные с размером, задаются следующим образом:
ksizes = [1, ksize_planes, ksize_rows, ksize_cols, 1] strides = [1, stride_planes, strides_rows, strides_cols, 1]
Возвращает:
-
Output: 5-мерный Tensor с формой[batch, out_planes, out_rows, out_cols, ksize_planes * ksize_rows * ksize_cols * depth]содержащий блоки размеромksize_planes x ksize_rows x ksize_cols x depthвекторные в размерности "глубина". Заметьте,out_planes,out_rowsиout_cols- это размерности выходных блоков.
| Конструкторы и деструкторы | |
|---|---|
ExtractVolumePatches(const ::tensorflow::Scope & scope, ::tensorflow::Input input, const gtl::ArraySlice< int > & ksizes, const gtl::ArraySlice< int > & strides, StringPiece padding) |
| Публичные атрибуты | |
|---|---|
operation | |
patches | |
| Публичные функции | |
|---|---|
node() const | ::tensorflow::Node * |
operator::tensorflow::Input() const | |
operator::tensorflow::Output() const | |
Публичные атрибуты
operation
Operation operation
patches
::tensorflow::Output patches
Публичные функции
ExtractVolumePatches
ExtractVolumePatches( const ::tensorflow::Scope & scope, ::tensorflow::Input input, const gtl::ArraySlice< int > & ksizes, const gtl::ArraySlice< int > & strides, StringPiece padding )
node
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
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