tensorflow::ops::FakeQuantWithMinMaxVarsGradient::Attrs

#include <array_ops.h>

ตัวเลือกการตั้งค่าแอตทริบิวต์สำหรับ FakeQuantWithMinMaxVarsGradient

สรุป

คุณลักษณะสาธารณะ

narrow_range_ = false
bool
num_bits_ = 8
int64

หน้าที่สาธารณะ

NarrowRange (bool x)
TF_MUST_USE_RESULT Attrs
จะทำการแปลงค่าเป็น 2^num_bits - 1 ค่าที่แตกต่างกันหรือไม่
NumBits (int64 x)
TF_MUST_USE_RESULT Attrs
ความกว้างของบิตในการควอนไทเซชัน อยู่ระหว่าง 2 ถึง 8 รวมทั้งสองค่านี้ด้วย

คุณลักษณะสาธารณะ

ช่วงแคบ_

bool tensorflow::ops::FakeQuantWithMinMaxVarsGradient::Attrs::narrow_range_ = false

จำนวนบิต

int64 tensorflow::ops::FakeQuantWithMinMaxVarsGradient::Attrs::num_bits_ = 8

หน้าที่สาธารณะ

ช่วงแคบ

TF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxVarsGradient::Attrs::NarrowRange(
  bool x
)

จะทำการแปลงค่าเป็น 2^num_bits - 1 ค่าที่แตกต่างกันหรือไม่

ค่าเริ่มต้นคือเท็จ

นัมบิตส์

TF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxVarsGradient::Attrs::NumBits(
  int64 x
)

ความกว้างของบิตในการควอนไทเซชัน อยู่ระหว่าง 2 ถึง 8 รวมทั้งสองค่านี้ด้วย

ค่าเริ่มต้นคือ 8