tensorflow:: ops:: Assert

#include <logging_ops.h>

يؤكد أن الشرط المعطى صحيح.

ملخص

إذا كانت نتيجة condition خاطئة، اطبع قائمة الموترات في data . يحدد summarize عدد عناصر الموترات التي سيتم طباعتها.

الحجج:

  • النطاق: كائن النطاق
  • الشرط: الشرط المراد تقييمه.
  • البيانات: الموترات التي سيتم طباعتها عندما يكون الشرط خاطئًا.

السمات الاختيارية (انظر Attrs ):

  • ملخص: اطبع هذا العدد من المدخلات لكل موتر.

المرتجعات:

البناة والمدمرون

Assert (const :: tensorflow::Scope & scope, :: tensorflow::Input condition, :: tensorflow::InputList data)
Assert (const :: tensorflow::Scope & scope, :: tensorflow::Input condition, :: tensorflow::InputList data, const Assert::Attrs & attrs)

السمات العامة

operation

الوظائف العامة

operator::tensorflow::Operation () const

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

Summarize (int64 x)

الهياكل

tensorflow:: ops:: Assert:: Attrs

مُعدِّلات السمات الاختيارية لـ Assert .

السمات العامة

عملية

Operation operation

الوظائف العامة

تأكيد

 Assert(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input condition,
  ::tensorflow::InputList data
)

تأكيد

 Assert(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input condition,
  ::tensorflow::InputList data,
  const Assert::Attrs & attrs
)

operator::tensorflow::Operation

 operator::tensorflow::Operation() const 

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

لخص

Attrs Summarize(
  int64 x
)