tensorflow::ops::Range
#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 มิติ (สเกลาร์) รายการแรกในลำดับ
- ขีดจำกัด: 0 มิติ (สเกลาร์) ขีดจำกัดบนของลำดับ ไม่รวมค่าอื่น
- delta: 0-D (สเกลาร์) ตัวเลือกเสริม ค่าเริ่มต้นคือ 1 ตัวเลขที่ใช้เพิ่มค่า
start
การส่งคืนสินค้า:
-
Output: 1 มิติ
ตัวสร้างและตัวทำลาย | |
|---|---|
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
ตัวดำเนินการ::เทนเซอร์โฟลว์::อินพุต
operator::tensorflow::Input() const
ตัวดำเนินการ::เทนเซอร์โฟลว์::เอาต์พุต
operator::tensorflow::Output() const