tensorflow:: אופס:: 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]
טיעונים:
- scope: אובייקט Scope
- התחלה: טנסור 0-D. כניסה ראשונה בטווח.
- עצירה: 0-D טנסור. כניסה אחרונה בטווח.
- מספר: 0-D טנסור. מספר הערכים להפקה.
החזרות:
-
Output
: 1-D. הערכים שנוצרו.
בנאים והורסים | |
---|---|
LinSpace (const :: tensorflow::Scope & scope, :: tensorflow::Input start, :: tensorflow::Input stop, :: tensorflow::Input num) |
תפקידים ציבוריים | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
תכונות ציבוריות
מִבצָע
Operation operation
תְפוּקָה
::tensorflow::Output output
תפקידים ציבוריים
LinSpace
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