tensorflow:: אופס:: GuaranteeConst

#include <array_ops.h>

נותן ערובה לזמן הריצה של TF שטנסור הקלט הוא קבוע.

סיכום

לאחר מכן, זמן הריצה חופשי לבצע אופטימיזציות על סמך זה.

מקבל רק טנזורים המוקלדים בערכים כקלט ודוחה נקודות אחיזה של משתני משאבים כקלט.

מחזירה את טנזור הקלט ללא שינוי.

טיעונים:

  • scope: אובייקט Scope

החזרות:

  • Output : טנזור הפלט.

בנאים והורסים

GuaranteeConst (const :: tensorflow::Scope & scope, :: tensorflow::Input input)

תכונות ציבוריות

operation
output

תפקידים ציבוריים

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

תכונות ציבוריות

מבצע

Operation operation

תְפוּקָה

::tensorflow::Output output

תפקידים ציבוריים

GuaranteeConst

 GuaranteeConst(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input
)

צוֹמֶת

::tensorflow::Node * node() const 

מפעיל::tensorflow::קלט

 operator::tensorflow::Input() const 

אופרטור::tensorflow::פלט

 operator::tensorflow::Output() const