dòng chảy :: hoạt động :: SparseTensorDenseAdd

#include <sparse_ops.h>

Thêm một SparseTensor và một Tensor dày đặc, tạo ra một Tensor dày đặc.

Tóm lược

Op này không yêu cầu a_indices được sắp xếp theo thứ tự từ điển học tiêu chuẩn.

Tranh luận:

  • phạm vi: Một đối tượng Phạm vi
  • a_indices: 2-D. Các indices của SparseTensor , với shape [nnz, ndims] .
  • a_values: 1-D. Các values của SparseTensor , với shape [nnz] .
  • a_shape: 1-D. Hình shape của SparseTensor , với hình dạng [ndims] .
  • b: ndims -D Tensor . Với hình dạng a_shape .

Lợi nhuận:

  • Output : Bộ căng đầu ra.

Người xây dựng và Người phá 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 

toán tử :: tensorflow :: Đầu vào

 operator::tensorflow::Input() const 

toán tử :: tensorflow :: Đầu ra

 operator::tensorflow::Output() const