Spec-Zone.ru › TensorFlow C++ 1.15

tensorflow::ops::ExtractVolumePatches

#include <array_ops.h>

Извлечь patches из input и поместить их в размерность вывода "глубина".

Краткое описание

Трехмерное расширение 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
Operation
patches
::tensorflow::Output
Общедоступные функции
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 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/ops/extract-volume-patches

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API