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 indices của SparseTensor , với hình dạng [nnz, ndims] .
  • a_values: 1-D. Các values của SparseTensor , với hình dạng [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 .

Trả về:

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