tensorflow:: אופס:: טווח
#include <math_ops.h>
יוצר רצף של מספרים.
סיכום
פעולה זו יוצרת רצף של מספרים שמתחיל start
ומתרחב במרווחים של delta
עד אך לא כולל limit
.
לדוגמה:
# 'start' is 3 # 'limit' is 18 # 'delta' is 3 tf.range(start, limit, delta) ==> [3, 6, 9, 12, 15]
טיעונים:
- scope: אובייקט Scope
- התחלה: 0-D (סקלר). כניסה ראשונה ברצף.
- מגבלה: 0-D (סקלרית). גבול עליון של רצף, בלעדי.
- דלתא: 0-D (סקלרית). אופציונאלי. ברירת המחדל היא 1. מספר
start
במרווחים .
החזרות:
-
Output
: 1-D.
בנאים והורסים | |
---|---|
Range (const :: tensorflow::Scope & scope, :: tensorflow::Input start, :: tensorflow::Input limit, :: tensorflow::Input delta) |
תכונות ציבוריות | |
---|---|
operation | |
output |
תפקידים ציבוריים | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
תכונות ציבוריות
מבצע
Operation operation
תְפוּקָה
::tensorflow::Output output
תפקידים ציבוריים
טווח
Range( const ::tensorflow::Scope & scope, ::tensorflow::Input start, ::tensorflow::Input limit, ::tensorflow::Input delta )
צוֹמֶת
::tensorflow::Node * node() const
מפעיל::tensorflow::קלט
operator::tensorflow::Input() const
אופרטור::tensorflow::פלט
operator::tensorflow::Output() const
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2023-12-01 (שעון UTC).
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"חסרים לי מידע או פרטים"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"התוכן מורכב מדי או עם יותר מדי שלבים"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"התוכן לא עדכני"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"בעיה בתרגום"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"בעיה בדוגמאות/בקוד"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"סיבה אחרת"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"התוכן קל להבנה"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"התוכן עזר לי לפתור בעיה"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"סיבה אחרת"
}]