tensorflow::ops::SparseTensorDenseAdd
#include <sparse_ops.h> นำ SparseTensor และ Dense Tensor มาบวกกัน จะได้ Dense Tensor หนึ่งตัว
สรุป
ฟังก์ชันนี้ไม่ต้องการให้ a_indices เรียงลำดับตามพจนานุกรมมาตรฐาน
ข้อโต้แย้ง:
- ขอบเขต: วัตถุ ขอบเขต
- a_indices: 2 มิติ
indicesของSparseTensorที่มีรูปร่าง[nnz, ndims] - a_values: 1 มิติ
valuesของSparseTensorที่มีรูปร่าง[nnz] - a_shape: 1 มิติ
shapeของSparseTensorที่มีรูปร่าง[ndims] - b:
ndims-D Tensor . With shapea_shape.
การส่งคืนสินค้า:
-
Output: เทนเซอร์เอาต์พุต
ตัวสร้างและตัวทำลาย | |
|---|---|
SparseTensorDenseAdd (const :: tensorflow::Scope & scope, :: tensorflow::Input a_indices, :: tensorflow::Input a_values, :: tensorflow::Input a_shape, :: tensorflow::Input b) |
คุณลักษณะสาธารณะ | |
|---|---|
operation | |
output | |
หน้าที่สาธารณะ | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
คุณลักษณะสาธารณะ
การดำเนินการ
Operation operation
เอาต์พุต
::tensorflow::Output output
หน้าที่สาธารณะ
SparseTensorDenseAdd
SparseTensorDenseAdd( const ::tensorflow::Scope & scope, ::tensorflow::Input a_indices, ::tensorflow::Input a_values, ::tensorflow::Input a_shape, ::tensorflow::Input b )
โหนด
::tensorflow::Node * node() const
ตัวดำเนินการ::เทนเซอร์โฟลว์::อินพุต
operator::tensorflow::Input() const
ตัวดำเนินการ::เทนเซอร์โฟลว์::เอาต์พุต
operator::tensorflow::Output() const