tensorflow::ops::Dequantize::Attrs
#include <array_ops.h>ตัวเลือกการตั้งค่าแอตทริบิวต์สำหรับ Dequantize
สรุป
คุณลักษณะสาธารณะ | |
|---|---|
axis_ = -1 | int64 |
dtype_ = DT_FLOAT | DataType |
mode_ = "MIN_COMBINED" | StringPiece |
narrow_range_ = false | bool |
หน้าที่สาธารณะ | |
|---|---|
Axis (int64 x) | TF_MUST_USE_RESULT Attrs ค่าเริ่มต้นคือ -1 |
Dtype (DataType x) | TF_MUST_USE_RESULT Attrs ประเภทของเทนเซอร์เอาต์พุต |
Mode (StringPiece x) | TF_MUST_USE_RESULT Attrs ค่าเริ่มต้นคือ "MIN_COMBINED" |
NarrowRange (bool x) | TF_MUST_USE_RESULT Attrs ค่าเริ่มต้นคือ false |
คุณลักษณะสาธารณะ
แกน_
int64 tensorflow::ops::Dequantize::Attrs::axis_ = -1
dtype_
DataType tensorflow::ops::Dequantize::Attrs::dtype_ = DT_FLOAT
โหมด_
StringPiece tensorflow::ops::Dequantize::Attrs::mode_ = "MIN_COMBINED"
ช่วงแคบ_
bool tensorflow::ops::Dequantize::Attrs::narrow_range_ = false
หน้าที่สาธารณะ
ประเภท D
TF_MUST_USE_RESULT Attrs tensorflow::ops::Dequantize::Attrs::Dtype( DataType x )
ประเภทของเทนเซอร์เอาต์พุต
ปัจจุบัน Dequantize รองรับเฉพาะประเภทข้อมูล float และ bfloat16 เท่านั้น หาก 'dtype' เป็น 'bfloat16' จะรองรับเฉพาะโหมด 'MIN_COMBINED' เท่านั้น
ค่าเริ่มต้นคือ DT_FLOAT
โหมด
TF_MUST_USE_RESULT Attrs tensorflow::ops::Dequantize::Attrs::Mode( StringPiece x )
ค่าเริ่มต้นคือ "MIN_COMBINED"
ช่วงแคบ
TF_MUST_USE_RESULT Attrs tensorflow::ops::Dequantize::Attrs::NarrowRange( bool x )
ค่าเริ่มต้นคือ false