tensorflow:: אופס:: OnesLike

#include <array_ops.h>

מחזירה טנסור של אלה עם אותה צורה וסוג כמו x.

סיכום

טיעונים:

  • scope: אובייקט Scope
  • x: טנזור מסוג T.

החזרות:

  • Output : טנזור מאותו צורה וסוג כמו x אך מלא באחדים.

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

OnesLike (const :: tensorflow::Scope & scope, :: tensorflow::Input x)

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

operation
y

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

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

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

מבצע

Operation operation

y

::tensorflow::Output y

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

OnesLike

 OnesLike(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input x
)

צוֹמֶת

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const