เทนเซอร์โฟลว์:: ปฏิบัติการ:: ชั้นMod
#include <math_ops.h>ส่งกลับส่วนที่เหลือของการหารตามองค์ประกอบ
สรุป
เมื่อ x < 0 x หรือ y < 0 คือ
จริงอยู่ สิ่งนี้เป็นไปตามความหมายของ Python โดยผลลัพธ์ที่นี่สอดคล้องกับการแบ่งพื้น เช่น floor(x / y) * y + mod(x, y) = x
หมายเหตุ : FloorMod รองรับการออกอากาศ เพิ่มเติมเกี่ยวกับการออกอากาศ ที่นี่
ข้อโต้แย้ง:
- ขอบเขต: วัตถุ ขอบเขต
ผลตอบแทน:
-
Output: z เทนเซอร์
ตัวสร้างและผู้ทำลาย | |
|---|---|
FloorMod (const :: tensorflow::Scope & scope, :: tensorflow::Input x, :: tensorflow::Input y) |
คุณลักษณะสาธารณะ | |
|---|---|
operation | |
z | |
งานสาธารณะ | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
คุณลักษณะสาธารณะ
การดำเนินการ
Operation operation
z
::tensorflow::Output z
งานสาธารณะ
ชั้นMod
FloorMod( const ::tensorflow::Scope & scope, ::tensorflow::Input x, ::tensorflow::Input y )
โหนด
::tensorflow::Node * node() const
ตัวดำเนินการ::tensorflow::อินพุต
operator::tensorflow::Input() const
ตัวดำเนินการ::tensorflow::เอาต์พุต
operator::tensorflow::Output() const