tensorflow::ops::L2Loss
#include <nn_ops.h>Mất L2.
Bản tóm tắt
Tính một nửa chuẩn L2 của một tensor mà không cần sqrt :
output = sum(t ** 2) / 2
Luận điểm:
- phạm vi: Một đối tượng Phạm vi
- t: Thường là hình 2 chiều, nhưng có thể có bất kỳ chiều nào.
Trả về:
-
Output: 0-D.
Hàm khởi tạo và hàm hủy | |
|---|---|
L2Loss (const :: tensorflow::Scope & scope, :: tensorflow::Input t) |
Thuộc tính công khai | |
|---|---|
operation | |
output | |
Chức năng công cộng | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
Thuộc tính công khai
hoạt động
Operation operation
đầu ra
::tensorflow::Output output
Chức năng công cộng
L2Loss
L2Loss( const ::tensorflow::Scope & scope, ::tensorflow::Input t )
nút
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const