tensorflow:: ops:: AvgPool
#include <nn_ops.h>يقوم بعملية تجميع المتوسطات على المدخلات.
ملخص
كل إدخال في output هو متوسط value نافذة الحجم ksize المقابلة.
الحجج:
- النطاق: كائن النطاق
- القيمة: رباعية الأبعاد مع شكل
[batch, height, width, channels]. - ksize: حجم النافذة المنزلقة لكل بُعد من أبعاد
value. - الخطوات: خطوة النافذة المنزلقة لكل بُعد من أبعاد
value. - الحشو: نوع خوارزمية الحشو المراد استخدامها.
السمات الاختيارية (انظر Attrs ):
- data_format: حدد تنسيق بيانات الإدخال والإخراج. مع التنسيق الافتراضي "NHWC"، تُخزَّن البيانات بالترتيب التالي: [batch, in_height, in_width, in_channels]. بدلاً من ذلك، يمكن أن يكون التنسيق "NCHW"، ويكون ترتيب تخزين البيانات كالتالي: [batch, in_channels, in_height, in_width].
المرتجعات:
-
Output: موتر الناتج المجمع المتوسط.
البناة والمدمرون | |
|---|---|
AvgPool (const :: tensorflow::Scope & scope, :: tensorflow::Input value, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding) | |
AvgPool (const :: tensorflow::Scope & scope, :: tensorflow::Input value, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding, const AvgPool::Attrs & attrs) |
السمات العامة | |
|---|---|
operation | |
output | |
الوظائف العامة | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
الدوال الثابتة العامة | |
|---|---|
DataFormat (StringPiece x) | |
الهياكل | |
|---|---|
| tensorflow:: ops:: AvgPool:: Attrs | أدوات تعيين السمات الاختيارية لـ AvgPool . |
السمات العامة
عملية
Operation operation
المخرجات
::tensorflow::Output output
الوظائف العامة
متوسط المجموعة
AvgPool( const ::tensorflow::Scope & scope, ::tensorflow::Input value, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding )
متوسط المجموعة
AvgPool( const ::tensorflow::Scope & scope, ::tensorflow::Input value, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding, const AvgPool::Attrs & attrs )
العقدة
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
الدوال الثابتة العامة
تنسيق البيانات
Attrs DataFormat( StringPiece x )
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2026-11-05 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","easyToUnderstand","thumb-up"],["ساعَدني المحتوى في حلّ مشكلتي.","solvedMyProblem","thumb-up"],["غير ذلك","otherUp","thumb-up"]],[["لا يحتوي على المعلومات التي أحتاج إليها.","missingTheInformationINeed","thumb-down"],["الخطوات معقدة للغاية / كثيرة جدًا.","tooComplicatedTooManySteps","thumb-down"],["المحتوى قديم.","outOfDate","thumb-down"],["ثمة مشكلة في الترجمة.","translationIssue","thumb-down"],["مشكلة في العيّنات / التعليمات البرمجية","samplesCodeIssue","thumb-down"],["غير ذلك","otherDown","thumb-down"]],["تاريخ التعديل الأخير: 2026-11-05 (حسب التوقيت العالمي المتفَّق عليه)"],[],[]]