تينسورفلو :: العمليات :: أي
#include <math_ops.h>
يحسب "منطقيًا أو" للعناصر عبر أبعاد موتر.
ملخص
يقلل input
على طول الأبعاد الواردة في axis
. ما لم تكن keep_dims
صحيحة ، يتم تقليل رتبة الموتر بمقدار 1 لكل إدخال في axis
. إذا كانت keep_dims
صحيحة ، يتم الاحتفاظ بالأبعاد keep_dims
بطول 1.
الحجج:
- النطاق: كائن النطاق
- المدخلات: الموتر المراد تقليله.
- المحور: الأبعاد المراد تصغيرها. يجب أن يكون في النطاق
[-rank(input), rank(input))
.
السمات الاختيارية (انظر Attrs
):
- keep_dims: إذا كان هذا صحيحًا ، فاحتفظ بأبعاد مخفضة بطول 1.
عائدات:
-
Output
: موتر مخفض.
اسماء مستعارة:
- تقليل أي
البنائين والمدمرين | |
---|---|
Any (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input axis) | |
Any (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input axis, const Any::Attrs & attrs) |
السمات العامة | |
---|---|
operation | |
output |
الوظائف العامة | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
وظائف ثابتة عامة | |
---|---|
KeepDims (bool x) |
الهياكل | |
---|---|
tensorflow :: ops :: Any :: Attrs | محددات السمات الاختيارية لأي . |
السمات العامة
عملية
Operation operation
انتاج
::tensorflow::Output output
الوظائف العامة
أي
Any( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input axis )
أي
Any( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input axis, const Any::Attrs & attrs )
العقدة
::tensorflow::Node * node() const
المشغل :: tensorflow :: الإدخال
operator::tensorflow::Input() const
المشغل :: Tensorflow :: Output
operator::tensorflow::Output() const
وظائف ثابتة عامة
KeepDims
Attrs KeepDims( bool x )
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2020-04-20 (حسب التوقيت العالمي المتفَّق عليه)
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"لا يحتوي على المعلومات التي أحتاج إليها."
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"الخطوات معقدة للغاية / كثيرة جدًا."
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"المحتوى قديم."
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"ثمة مشكلة في الترجمة."
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"مشكلة في العيّنات / التعليمات البرمجية"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"غير ذلك"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"يسهُل فهم المحتوى."
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"ساعَدني المحتوى في حلّ مشكلتي."
},{
"type": "thumb-up",
"id": "otherUp",
"label":"غير ذلك"
}]