เทนเซอร์โฟลว์:: ปฏิบัติการ:: ปริมาณV2:: คุณสมบัติ

#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
ค่าเริ่มต้นเป็นเท็จ
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"

งานสาธารณะ

แกน

TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizeV2::Attrs::Axis(
  int64 x
)

ค่าเริ่มต้นเป็น -1

ตรวจสอบช่วงขั้นต่ำ

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
)

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

โหมดกลม

TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizeV2::Attrs::RoundMode(
  StringPiece x
)

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