tensorflow::ops::QuantizeAndDequantizeV3
#include <array_ops.h>ทำการแปลงเทนเซอร์ให้เป็นค่าควอนตัมแล้วแปลงกลับเป็นค่าดีควอนตัม
สรุป
ฟังก์ชันนี้เกือบจะเหมือนกับ QuantizeAndDequantizeV2 ทุกประการ ยกเว้นว่า num_bits เป็นเทนเซอร์ ดังนั้นค่าของมันจึงสามารถเปลี่ยนแปลงได้ในระหว่างการฝึกฝน
ข้อโต้แย้ง:
- ขอบเขต: วัตถุ ขอบเขต
การส่งคืนสินค้า:
-
Output: เทนเซอร์เอาต์พุต
ตัวสร้างและตัวทำลาย | |
|---|---|
QuantizeAndDequantizeV3 (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input input_min, :: tensorflow::Input input_max, :: tensorflow::Input num_bits) | |
QuantizeAndDequantizeV3 (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input input_min, :: tensorflow::Input input_max, :: tensorflow::Input num_bits, const QuantizeAndDequantizeV3::Attrs & attrs) |
คุณลักษณะสาธารณะ | |
|---|---|
operation | |
output | |
หน้าที่สาธารณะ | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
ฟังก์ชันคงที่สาธารณะ | |
|---|---|
Axis (int64 x) | |
NarrowRange (bool x) | |
RangeGiven (bool x) | |
SignedInput (bool x) | |
โครงสร้าง | |
|---|---|
| tensorflow::ops::QuantizeAndDequantizeV3::Attrs | ตัวเลือกการตั้งค่าแอตทริบิวต์สำหรับ QuantizeAndDequantizeV3 |
คุณลักษณะสาธารณะ
การดำเนินการ
Operation operation
เอาต์พุต
::tensorflow::Output output
หน้าที่สาธารณะ
QuantizeAndDequantizeV3
QuantizeAndDequantizeV3( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input input_min, ::tensorflow::Input input_max, ::tensorflow::Input num_bits )
QuantizeAndDequantizeV3
QuantizeAndDequantizeV3( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input input_min, ::tensorflow::Input input_max, ::tensorflow::Input num_bits, const QuantizeAndDequantizeV3::Attrs & attrs )
โหนด
::tensorflow::Node * node() const
ตัวดำเนินการ::เทนเซอร์โฟลว์::อินพุต
operator::tensorflow::Input() const
ตัวดำเนินการ::เทนเซอร์โฟลว์::เอาต์พุต
operator::tensorflow::Output() const
ฟังก์ชันคงที่สาธารณะ
แกน
Attrs Axis( int64 x )
ช่วงแคบ
Attrs NarrowRange( bool x )
ช่วงที่กำหนด
Attrs RangeGiven( bool x )
อินพุตที่ลงชื่อ
Attrs SignedInput( bool x )