tensorflow::ops::SparseTensorDenseAdd
#include <sparse_ops.h> Cộng một SparseTensor và một Tensor , tạo ra một Tensor .
Bản tóm tắt
Thao tác này không yêu cầu a_indices phải được sắp xếp theo thứ tự từ điển chuẩn.
Luận điểm:
- phạm vi: Một đối tượng Phạm vi
- a_indices: 2 chiều. Các
indicescủaSparseTensor, với hình dạng[nnz, ndims]. - a_values: 1-D. Các
valuescủaSparseTensor, với hình dạng[nnz]. - a_shape: 1-D. Hình
shapecủaSparseTensor, với hình dạng[ndims]. - b:
ndims-D Tensor . Với hình dạnga_shape.
Trả về:
-
Output: Tensor đầu ra.
Hàm khởi tạo và hàm hủy | |
|---|---|
SparseTensorDenseAdd (const :: tensorflow::Scope & scope, :: tensorflow::Input a_indices, :: tensorflow::Input a_values, :: tensorflow::Input a_shape, :: tensorflow::Input b) |
Thuộc tính công khai | |
|---|---|
operation | |
output | |
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
đầu ra
::tensorflow::Output output
Chức năng công cộng
SparseTensorDenseAdd
SparseTensorDenseAdd( const ::tensorflow::Scope & scope, ::tensorflow::Input a_indices, ::tensorflow::Input a_values, ::tensorflow::Input a_shape, ::tensorflow::Input b )
nút
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const