tensorflow:: ops:: الكل

#include <math_ops.h>

يحسب "العملية المنطقية و" للعناصر عبر أبعاد الموتر.

ملخص

يُقلل هذا input وفقًا للأبعاد المحددة في axis . ما لم تكن keep_dims صحيحة، يتم تقليل رتبة الموتر بمقدار 1 لكل عنصر في axis . أما إذا كانت 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:: ops:: All:: 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 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const 

الدوال الثابتة العامة

KeepDims

Attrs KeepDims(
  bool x
)