tensorflow::ops::Abs

#include <math_ops.h>

Tính giá trị tuyệt đối của một tenxơ.

Bản tóm tắt

Cho một tensor x , phép toán này trả về một tensor chứa giá trị tuyệt đối của mỗi phần tử trong x . Ví dụ, nếu x là phần tử đầu vào và y là phần tử đầu ra, phép toán này sẽ tính toán: \(y = |x|\).

Luận điểm:

Trả về:

Hàm khởi tạo và hàm hủy

Abs (const :: tensorflow::Scope & scope, :: tensorflow::Input x)

Thuộc tính công khai

operation
y

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

y

::tensorflow::Output y

Chức năng công cộng

Cơ bụng

 Abs(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input x
)

nút

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const