tensorflow::ops::AddN

#include <math_ops.h>

บวก เทนเซอร์อินพุตทั้งหมดทีละองค์ประกอบ

สรุป

ข้อมูลที่ป้อนเข้าต้องมีขนาดและรูปร่างเหมือนกัน

  x = [9, 7, 10]
  tf.math.add_n(x) ==> 26
  

ข้อโต้แย้ง:

การส่งคืนสินค้า:

  • Output : เทนเซอร์ผลรวม

ตัวสร้างและตัวทำลาย

AddN (const :: tensorflow::Scope & scope, :: tensorflow::InputList inputs)

คุณลักษณะสาธารณะ

operation
sum

หน้าที่สาธารณะ

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

คุณลักษณะสาธารณะ

การดำเนินการ

Operation operation

ผลรวม

::tensorflow::Output sum

หน้าที่สาธารณะ

แอดเอ็น

 AddN(
  const ::tensorflow::Scope & scope,
  ::tensorflow::InputList inputs
)

โหนด

::tensorflow::Node * node() const 

ตัวดำเนินการ::เทนเซอร์โฟลว์::อินพุต

 operator::tensorflow::Input() const 

ตัวดำเนินการ::เทนเซอร์โฟลว์::เอาต์พุต

 operator::tensorflow::Output() const