tensorflow::ops::QuantizeV2::Attrs
#include <array_ops.h>ตัวเลือกการตั้งค่าแอตทริบิวต์สำหรับ QuantizeV2
สรุป
คุณลักษณะสาธารณะ | |
|---|---|
axis_ = -1 | int64 |
ensure_minimum_range_ = 0.01f | float |
mode_ = "MIN_COMBINED" | StringPiece |
narrow_range_ = false | bool |
round_mode_ = "HALF_AWAY_FROM_ZERO" | StringPiece |
หน้าที่สาธารณะ | |
|---|---|
Axis (int64 x) | TF_MUST_USE_RESULT Attrs ค่าเริ่มต้นคือ -1 |
EnsureMinimumRange (float x) | TF_MUST_USE_RESULT Attrs ค่าเริ่มต้นคือ 0.01 |
Mode (StringPiece x) | TF_MUST_USE_RESULT Attrs ค่าเริ่มต้นคือ "MIN_COMBINED" |
NarrowRange (bool x) | TF_MUST_USE_RESULT Attrs ค่าเริ่มต้นคือ false |
RoundMode (StringPiece x) | TF_MUST_USE_RESULT Attrs ค่าเริ่มต้นคือ "HALF_AWAY_FROM_ZERO" |
คุณลักษณะสาธารณะ
แกน_
int64 tensorflow::ops::QuantizeV2::Attrs::axis_ = -1
ตรวจสอบให้แน่ใจว่าช่วงขั้นต่ำ_
float tensorflow::ops::QuantizeV2::Attrs::ensure_minimum_range_ = 0.01f
โหมด_
StringPiece tensorflow::ops::QuantizeV2::Attrs::mode_ = "MIN_COMBINED"
ช่วงแคบ_
bool tensorflow::ops::QuantizeV2::Attrs::narrow_range_ = false
โหมดรอบ_
StringPiece tensorflow::ops::QuantizeV2::Attrs::round_mode_ = "HALF_AWAY_FROM_ZERO"
หน้าที่สาธารณะ
EnsureMinimumRange
TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizeV2::Attrs::EnsureMinimumRange( float x )
ค่าเริ่มต้นคือ 0.01
โหมด
TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizeV2::Attrs::Mode( StringPiece x )
ค่าเริ่มต้นคือ "MIN_COMBINED"
ช่วงแคบ
TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizeV2::Attrs::NarrowRange( bool x )
ค่าเริ่มต้นคือ false
โหมดกลม
TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizeV2::Attrs::RoundMode( StringPiece x )
ค่าเริ่มต้นคือ "HALF_AWAY_FROM_ZERO"