Google I/O에 참여해 주셔서 감사합니다. 주문형 모든 세션 보기 주문형 시청

tensorflow :: ops :: SparseDenseCwiseAdd

#include <sparse_ops.h>

다음 특수 규칙을 사용하여 SparseTensor 및 조밀 Tensor를 추가합니다.

요약

(1) 적격 한 경우 조 밀면을 희소면과 동일한 모양으로 방송합니다. (2) 그런 다음 SparseTensor의 인덱스가 가리키는 조밀 한 값만 cwise 덧셈에 참여합니다.

이러한 규칙에 따라 결과는 정확히 동일한 인덱스와 모양을 가진 논리적 SparseTensor이지만 0이 아닌 값이 다를 수 있습니다. 이 Op의 출력은 결과적으로 0이 아닌 값입니다.

인수 :

  • 범위 : 범위 개체
  • sp_indices : 2-D. SparseTensor에서 비어 있지 않은 값의 인덱스가 포함 된 N x R 행렬 (정규 순서가 아닐 수 있음).
  • sp_values ​​: 1-D. sp_indices 해당하는 N 개의 비어 있지 않은 값.
  • sp_shape : 1-D. 입력 SparseTensor의 모양.
  • 밀도 : R -D. 조밀 한 Tensor 피연산자입니다.

보고:

  • Output : 1-D. 작동되는 N 값입니다.

생성자와 소멸자

SparseDenseCwiseAdd (const :: tensorflow::Scope & scope, :: tensorflow::Input sp_indices, :: tensorflow::Input sp_values, :: tensorflow::Input sp_shape, :: tensorflow::Input dense)

공용 속성

operation
output

공공 기능

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

공용 속성

조작

Operation operation

산출

::tensorflow::Output output

공공 기능

SparseDenseCwiseAdd

 SparseDenseCwiseAdd(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input sp_indices,
  ::tensorflow::Input sp_values,
  ::tensorflow::Input sp_shape,
  ::tensorflow::Input dense
)

마디

::tensorflow::Node * node() const 

연산자 :: tensorflow :: 입력

 operator::tensorflow::Input() const 

연산자 :: tensorflow :: 출력

 operator::tensorflow::Output() const