tensorflow::ops::QuantizedInstanceNorm

#include <array_ops.h>

การทำให้เป็นมาตรฐานของอินสแตนซ์แบบควอนตัม

สรุป

ข้อโต้แย้ง:

  • ขอบเขต: วัตถุ ขอบเขต
  • x: เทนเซอร์ อินพุต 4 มิติ
  • x_min: ค่าที่แสดงโดยค่าอินพุตที่ถูกควอนไทซ์ต่ำสุด
  • x_max: ค่าที่แสดงโดยค่าอินพุตที่ถูกควอนไทซ์สูงสุด

คุณลักษณะเสริม (ดูที่ Attrs ):

  • output_range_given: ถ้าเป็น True จะใช้ given_y_min และ given_y_min เป็นช่วงเอาต์พุต มิฉะนั้น ระบบจะคำนวณช่วงเอาต์พุต given_y_max
  • given_y_min: แสดงผล ใน y_min หาก output_range_given เป็น True
  • given_y_max: ค่าเอาต์พุต ใน y_max ถ้า output_range_given เป็น True
  • variance_epsilon: ตัวเลขทศนิยมขนาดเล็ก เพื่อหลีกเลี่ยงการหารด้วย 0
  • min_separation: ค่า ต่ำสุด ของ y_max - y_min

การส่งคืนสินค้า:

  • Output y: เทนเซอร์ 4 มิติ
  • ค่า y_min Output : ค่าที่แสดงโดยค่าเอาต์พุตที่ถูกควอนไทซ์ต่ำสุด
  • ค่า y_max Output : ค่าที่แสดงโดยค่าเอาต์พุตที่ถูกควอนไทซ์สูงสุด

ตัวสร้างและตัวทำลาย

QuantizedInstanceNorm (const :: tensorflow::Scope & scope, :: tensorflow::Input x, :: tensorflow::Input x_min, :: tensorflow::Input x_max)
QuantizedInstanceNorm (const :: tensorflow::Scope & scope, :: tensorflow::Input x, :: tensorflow::Input x_min, :: tensorflow::Input x_max, const QuantizedInstanceNorm::Attrs & attrs)

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

operation
y
y_max
y_min

ฟังก์ชันคงที่สาธารณะ

GivenYMax (float x)
GivenYMin (float x)
MinSeparation (float x)
OutputRangeGiven (bool x)
VarianceEpsilon (float x)

โครงสร้าง

tensorflow::ops::QuantizedInstanceNorm::Attrs

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

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

การดำเนินการ

Operation operation

y

::tensorflow::Output y

y_max

::tensorflow::Output y_max

y_min

::tensorflow::Output y_min

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

นอร์มอินสแตนซ์แบบควอนไทซ์

 QuantizedInstanceNorm(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input x,
  ::tensorflow::Input x_min,
  ::tensorflow::Input x_max
)

นอร์มอินสแตนซ์แบบควอนไทซ์

 QuantizedInstanceNorm(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input x,
  ::tensorflow::Input x_min,
  ::tensorflow::Input x_max,
  const QuantizedInstanceNorm::Attrs & attrs
)

ฟังก์ชันคงที่สาธารณะ

GivenYMax

Attrs GivenYMax(
  float x
)

GivenYMin

Attrs GivenYMin(
  float x
)

การแยกขั้นต่ำ

Attrs MinSeparation(
  float x
)

ช่วงเอาต์พุตที่กำหนด

Attrs OutputRangeGiven(
  bool x
)

ความแปรปรวนเอปไซลอน

Attrs VarianceEpsilon(
  float x
)