เทนเซอร์โฟลว์:: ปฏิบัติการ:: หมายถึง
#include <math_ops.h>คำนวณค่าเฉลี่ยขององค์ประกอบตามมิติของเทนเซอร์
สรุป
 ลด input ตามขนาดที่กำหนดใน axis ยกเว้นในกรณีที่ keep_dims เป็นจริง อันดับของเมตริกซ์จะลดลง 1 สำหรับแต่ละรายการใน axis หาก keep_dims เป็นจริง มิติที่ลดลงจะถูกคงไว้โดยมีความยาว 1
ข้อโต้แย้ง:
- ขอบเขต: วัตถุ ขอบเขต
- อินพุต: เทนเซอร์เพื่อลด
-  แกน: ขนาดที่จะลด ต้องอยู่ในช่วง [-rank(input), rank(input))
 แอ็ตทริบิวต์ทางเลือก (ดู Attrs ):
- keep_dims: หากเป็นจริง ให้คงขนาดที่ลดลงโดยมีความยาว 1
ผลตอบแทน:
-  Output: เทนเซอร์รีดิวซ์
นามแฝง:
- ลดค่าเฉลี่ย
| ตัวสร้างและผู้ทำลาย | |
|---|---|
| Mean (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input axis) | |
| Mean (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input axis, const Mean::Attrs & attrs) | 
| คุณลักษณะสาธารณะ | |
|---|---|
| operation | |
| output | |
| งานสาธารณะ | |
|---|---|
| node () const | ::tensorflow::Node * | 
| operator::tensorflow::Input () const | |
| operator::tensorflow::Output () const | |
| ฟังก์ชันคงที่สาธารณะ | |
|---|---|
| KeepDims (bool x) | |
| โครงสร้าง | |
|---|---|
| เทนเซอร์โฟลว์ :: ops :: ค่าเฉลี่ย :: Attrs | ตัวตั้งค่าแอ็ตทริบิวต์ทางเลือกสำหรับ Mean | 
คุณลักษณะสาธารณะ
การดำเนินการ
Operation operation
เอาท์พุท
::tensorflow::Output output
งานสาธารณะ
หมายถึง
Mean( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input axis )
หมายถึง
Mean( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input axis, const Mean::Attrs & attrs )
โหนด
::tensorflow::Node * node() const
ตัวดำเนินการ::tensorflow::อินพุต
operator::tensorflow::Input() const
ตัวดำเนินการ::tensorflow::เอาต์พุต
operator::tensorflow::Output() const
ฟังก์ชันคงที่สาธารณะ
KeepDims
Attrs KeepDims( bool x )