tensorflow::ops::Relu
#include <nn_ops.h> Tính toán tuyến tính hiệu chỉnh: max(features, 0) .
Bản tóm tắt
Xem: https://en.wikipedia.org/wiki/Rectifier_(neural_networks) Ví dụ sử dụng: tf.nn.relu([-2., 0., -0., 3.]).numpy() array([ 0., 0., -0., 3.], dtype=float32)
Luận điểm:
- phạm vi: Một đối tượng Phạm vi
Trả về:
-
Output: Tensor kích hoạt.
Hàm khởi tạo và hàm hủy | |
|---|---|
Relu (const :: tensorflow::Scope & scope, :: tensorflow::Input features) |
Thuộc tính công khai | |
|---|---|
activations | |
operation | |
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
kích hoạt
::tensorflow::Output activations
hoạt động
Operation operation
Chức năng công cộng
Relu
Relu( const ::tensorflow::Scope & scope, ::tensorflow::Input features )
nút
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const