Spec-Zone.ru › TensorFlow C++ 2.3

tensorflow::ops::ExtractVolumePatches

#include <array_ops.h>

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

Summary

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
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/r2.3/api_docs/cc/class/tensorflow/ops/extract-volume-patches

Spec-Zone.ru

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