تينسورفلو :: العمليات :: نطاق
#include <math_ops.h>
ينشئ سلسلة من الأرقام.
ملخص
تنشئ هذه العملية سلسلة من الأرقام التي تبدأ عند start
وتمتد بزيادات في delta
تصل إلى limit
ولكنها لا limit
.
على سبيل المثال:
# 'start' is 3 # 'limit' is 18 # 'delta' is 3 tf.range(start, limit, delta) ==> [3, 6, 9, 12, 15]
الحجج:
- النطاق: كائن النطاق
- البداية: 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 :: Output
operator::tensorflow::Output() const
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-04-20 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"Translation issue"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"مشكلة في العيّنات / التعليمات البرمجية"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]