tensorflow::ops::MaxPool::Атрибуты
#include <nn_ops.h>
Дополнительные атрибуты для MaxPool.
Краткое описание
| Публичные атрибуты | |
|---|---|
data_format_ = "NHWC" | StringPiece |
explicit_paddings_ = {} | gtl::ArraySlice< int > |
| Публичные функции | |
|---|---|
DataFormat(StringPiece x) | TF_MUST_USE_RESULT Attrs Указывает формат данных входных и выходных данных. |
ExplicitPaddings(const gtl::ArraySlice< int > & x) | TF_MUST_USE_RESULT Attrs По умолчанию []. |
Публичные атрибуты
data_format_
StringPiece tensorflow::ops::MaxPool::Attrs::data_format_ = "NHWC"
explicit_paddings_
gtl::ArraySlice< int > tensorflow::ops::MaxPool::Attrs::explicit_paddings_ = {}Публичные функции
DataFormat
TF_MUST_USE_RESULT Attrs tensorflow::ops::MaxPool::Attrs::DataFormat( StringPiece x )
Указывает формат данных входных и выходных данных.
В формате по умолчанию "NHWC" данные хранятся в порядке: [batch, in_height, in_width, in_channels]. В формате "NCHW" порядок хранения: [batch, in_channels, in_height, in_width].
По умолчанию "NHWC"
ExplicitPaddings
TF_MUST_USE_RESULT Attrs tensorflow::ops::MaxPool::Attrs::ExplicitPaddings( const gtl::ArraySlice< int > & x )
По умолчанию [].
© 2022 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/api_docs/cc/struct/tensorflow/ops/max-pool/attrs