جریان تنسور:: عملیات:: MaxPool
#include <nn_ops.h>
حداکثر ادغام را روی ورودی انجام می دهد.
خلاصه
استدلال ها:
- scope: یک شی Scope
- ورودی: ورودی 4 بعدی برای جمع کردن.
- ksize: اندازه پنجره برای هر بعد تانسور ورودی.
- strides: گام پنجره کشویی برای هر بعد تانسور ورودی.
- padding: نوع الگوریتم padding مورد استفاده.
ویژگی های اختیاری (به Attrs
مراجعه کنید):
- data_format: فرمت داده داده های ورودی و خروجی را مشخص کنید. با فرمت پیشفرض «NHWC»، دادهها به ترتیب زیر ذخیره میشوند: [batch, in_height, in_width, in_channels]. از طرف دیگر، قالب میتواند «NCHW» باشد، ترتیب ذخیرهسازی دادهها: [دستهای، در کانالها، در ارتفاع، در عرض].
برمی گرداند:
-
Output
: حداکثر تانسور خروجی جمع شده.
سازندگان و ویرانگرها | |
---|---|
MaxPool (const :: tensorflow::Scope & scope, :: tensorflow::Input input, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding) | |
MaxPool (const :: tensorflow::Scope & scope, :: tensorflow::Input input, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding, const MaxPool::Attrs & attrs) |
توابع عمومی | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
توابع استاتیک عمومی | |
---|---|
DataFormat (StringPiece x) |
سازه ها | |
---|---|
tensorflow:: ops:: MaxPool:: Attrs | تنظیم کننده های ویژگی اختیاری برای MaxPool . |
صفات عمومی
عملیات
Operation operation
خروجی
::tensorflow::Output output
توابع عمومی
MaxPool
MaxPool( const ::tensorflow::Scope & scope, ::tensorflow::Input input, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding )
MaxPool
MaxPool( const ::tensorflow::Scope & scope, ::tensorflow::Input input, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding, const MaxPool::Attrs & attrs )
گره
::tensorflow::Node * node() const
عملگر::tensorflow::ورودی
operator::tensorflow::Input() const
عملگر::tensorflow::خروجی
operator::tensorflow::Output() const
توابع استاتیک عمومی
DataFormat
Attrs DataFormat( StringPiece x )