tensorflow::ops::QuantizedConv2D::Attrs

#include <nn_ops.h>

ตัวเลือกการตั้งค่าแอตทริบิวต์สำหรับ QuantizedConv2D ( ไม่บังคับ)

สรุป

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

dilations_ = Default_dilations()
gtl::ArraySlice< int >
out_type_ = DT_QINT32
DataType

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

Dilations (const gtl::ArraySlice< int > & x)
TF_MUST_USE_RESULT Attrs
เทนเซอร์ 1 มิติ ความยาว 4
OutType (DataType x)
TF_MUST_USE_RESULT Attrs
ค่าเริ่มต้นคือ DT_QINT32

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

การขยายตัว_

gtl::ArraySlice< int > tensorflow::ops::QuantizedConv2D::Attrs::dilations_ = Default_dilations()

ประเภทเอาต์พุต_

DataType tensorflow::ops::QuantizedConv2D::Attrs::out_type_ = DT_QINT32

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

การขยาย

TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizedConv2D::Attrs::Dilations(
  const gtl::ArraySlice< int > & x
)

เทนเซอร์ 1 มิติ ความยาว 4

ค่าตัวประกอบการขยายสำหรับแต่ละมิติของ input หากตั้งค่า k > 1 จะมีการข้ามเซลล์ k-1 เซลล์ระหว่างแต่ละองค์ประกอบตัวกรองในมิตินั้น ลำดับของมิติจะถูกกำหนดโดยค่าของ data_format ดูรายละเอียดเพิ่มเติมด้านบน การขยายในมิติแบทช์และมิติความลึกต้องเป็น 1

ค่าเริ่มต้นคือ [1, 1, 1, 1]

ประเภทเอาต์พุต

TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizedConv2D::Attrs::OutType(
  DataType x
)

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