تينسورفلو :: العمليات :: الجميع
#include <math_ops.h>
يحسب "المنطقية و" العناصر عبر أبعاد موتر.
ملخص
يقلل input
على طول الأبعاد الواردة في axis
. ما لم يكن keep_dims
صحيحًا ، يتم تقليل رتبة الموتر بمقدار 1 لكل إدخال في axis
. إذا كانت keep_dims
صحيحة ، يتم الاحتفاظ بالأبعاد keep_dims
بطول 1.
الحجج:
- النطاق: كائن النطاق
- المدخلات: الموتر المراد تقليله.
- المحور: الأبعاد المراد تصغيرها. يجب أن يكون في النطاق
[-rank(input), rank(input))
.
السمات الاختيارية (انظر Attrs
):
- keep_dims: إذا كان هذا صحيحًا ، فاحتفظ بأبعاد مخفضة بطول 1.
عائدات:
-
Output
: موتر مخفض.
اسماء مستعارة:
- تقليل الكل
البنائين والمدمرين | |
---|---|
All (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input axis) | |
All (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input axis, const All::Attrs & attrs) |
السمات العامة | |
---|---|
operation | |
output |
الوظائف العامة | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
وظائف ثابتة عامة | |
---|---|
KeepDims (bool x) |
الهياكل | |
---|---|
tensorflow :: العمليات :: الكل :: Attrs | محددات السمات الاختيارية للجميع . |
السمات العامة
عملية
Operation operation
انتاج
::tensorflow::Output output
الوظائف العامة
الجميع
All( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input axis )
الجميع
All( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input axis, const All::Attrs & attrs )
العقدة
::tensorflow::Node * node() const
المشغل :: tensorflow :: الإدخال
operator::tensorflow::Input() const
المشغل :: Tensorflow :: Output
operator::tensorflow::Output() const
وظائف ثابتة عامة
KeepDims
Attrs KeepDims( bool x )
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-04-20 UTC.
[]
[]