tensorflow::ops::Mod

#include <math_ops.h>

Trả về phần dư của phép chia theo từng phần tử.

Bản tóm tắt

Điều này mô phỏng ngữ nghĩa của C ở chỗ

Kết quả ở đây phù hợp với phép chia lấy dư. Ví dụ: tf.truncatediv(x, y) * y + truncate_mod(x, y) = x .

LƯU Ý : Mod hỗ trợ phát sóng. Tìm hiểu thêm về phát sóng tại đây.

Luận điểm:

Trả về:

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

Mod (const :: tensorflow::Scope & scope, :: tensorflow::Input x, :: tensorflow::Input y)

Thuộc tính công khai

operation
z

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

z

::tensorflow::Output z

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

Mod

 Mod(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input x,
  ::tensorflow::Input y
)

nút

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const