tensorflow:: ops:: LinSpace

#include <math_ops.h>

מייצר ערכים במרווח זמן.

תַקצִיר

נוצר רצף של ערכים num במרווחים שווים החל מ- start . אם num > 1 , הערכים ברצף גדלים ב- stop - start / num - 1 , כך שהאחרון יהיה בדיוק stop .

לְדוּגמָה:

tf.linspace(10.0, 12.0, 3, name="linspace") => [ 10.0  11.0  12.0]

טיעונים:

  • היקף: אובייקט היקף
  • התחלה: טנזור 0-D. ערך ראשון בטווח.
  • עצור: טנזור 0-D. ערך אחרון בטווח.
  • num: טנזור 0-D. מספר הערכים ליצירה.

החזרות:

  • Output : חד-ממדי. הערכים שנוצרו.

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

LinSpace (const :: tensorflow::Scope & scope, :: tensorflow::Input start, :: tensorflow::Input stop, :: tensorflow::Input num)

מאפיינים ציבוריים

operation
output

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

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

מאפיינים ציבוריים

מִבצָע

Operation operation

תְפוּקָה

::tensorflow::Output output

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

לינספייס

 LinSpace(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input start,
  ::tensorflow::Input stop,
  ::tensorflow::Input num
)

צוֹמֶת

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const