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

tensorflow :: ops :: SparseSegmentSqrtNWithNumSegments

#include <math_ops.h>

N의 sqrt로 나눈 텐서의 희소 세그먼트를 따라 합계를 계산합니다.

요약

N은 축소되는 세그먼트의 크기입니다.

SparseSegmentSqrtNSparseSegmentSqrtN 하지만 segment_ids 에서 누락 된 ID를 허용합니다. ID가 잘못된 경우 해당 위치의 output 텐서는 0이됩니다.

세그먼트 에 대한 설명은 세분화 섹션을 참조 하십시오 .

인수 :

  • 범위 : 범위 개체
  • 인덱스 : 1-D 텐서. segment_ids 와 순위가 동일합니다.
  • segment_ids : 1 차원 텐서. 값은 정렬되어야하며 반복 될 수 있습니다.
  • num_segments : 고유 한 세그먼트 ID의 수와 같아야합니다.

보고:

  • Output : 세그먼트 수인 크기가 k 인 차원 0을 제외하고 데이터와 모양이 동일합니다.

생성자와 소멸자

SparseSegmentSqrtNWithNumSegments (const :: tensorflow::Scope & scope, :: tensorflow::Input data, :: tensorflow::Input indices, :: tensorflow::Input segment_ids, :: tensorflow::Input num_segments)

공용 속성

operation
output

공공 기능

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

공용 속성

조작

Operation operation

산출

::tensorflow::Output output

공공 기능

SparseSegmentSqrtNWithNumSegments

 SparseSegmentSqrtNWithNumSegments(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input data,
  ::tensorflow::Input indices,
  ::tensorflow::Input segment_ids,
  ::tensorflow::Input num_segments
)

마디

::tensorflow::Node * node() const 

연산자 :: tensorflow :: 입력

 operator::tensorflow::Input() const 

연산자 :: tensorflow :: 출력

 operator::tensorflow::Output() const