tensorflow::ops::Round

#include <math_ops.h>

Làm tròn các giá trị của tensor đến số nguyên gần nhất, từng phần tử một.

Bản tóm tắt

Làm tròn một nửa thành số chẵn. Còn được gọi là làm tròn theo kiểu ngân hàng. Nếu bạn muốn làm tròn theo chế độ làm tròn hiện tại của hệ thống, hãy sử dụng std::cint.

Luận điểm:

Trả về:

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

Round (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

Tròn

 Round(
  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