tensorflow::ops::L2Loss
#include <nn_ops.h>การสูญเสีย L2
สรุป
คำนวณครึ่งหนึ่งของค่า L2 norm ของเทนเซอร์โดยไม่ต้อง sqrt :
output = sum(t ** 2) / 2
ข้อโต้แย้ง:
- ขอบเขต: วัตถุ ขอบเขต
- t: โดยทั่วไปจะเป็น 2 มิติ แต่ก็อาจมีมิติใดก็ได้
การส่งคืนสินค้า:
-
Output: 0-D.
ตัวสร้างและตัวทำลาย | |
|---|---|
L2Loss (const :: tensorflow::Scope & scope, :: tensorflow::Input t) |
คุณลักษณะสาธารณะ | |
|---|---|
operation | |
output | |
หน้าที่สาธารณะ | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
คุณลักษณะสาธารณะ
การดำเนินการ
Operation operation
เอาต์พุต
::tensorflow::Output output
หน้าที่สาธารณะ
L2Loss
L2Loss( const ::tensorflow::Scope & scope, ::tensorflow::Input t )
โหนด
::tensorflow::Node * node() const
ตัวดำเนินการ::เทนเซอร์โฟลว์::อินพุต
operator::tensorflow::Input() const
ตัวดำเนินการ::เทนเซอร์โฟลว์::เอาต์พุต
operator::tensorflow::Output() const