tensorflow:: ops:: SparseSegmentSqrtNWithNumSegments
#include <math_ops.h>텐서의 희소 세그먼트를 따라 합을 계산하고, 그 합을 N의 제곱근으로 나눕니다.
요약
N은 축소되는 세그먼트의 크기입니다.
SparseSegmentSqrtN 과 유사하지만 segment_ids 에 ID가 누락된 경우를 허용합니다. ID가 누락된 경우 해당 위치의 output 텐서는 0으로 설정됩니다.
세그먼트에 대한 설명은 세그먼트 관련 섹션을 참조하십시오.
논거:
- 범위: Scope 객체
- 인덱스: 1차원 텐서입니다.
segment_ids와 동일한 랭크를 가집니다. - segment_ids: 1차원 텐서입니다. 값은 정렬되어 있어야 하며 중복될 수 있습니다.
- num_segments: 고유한 세그먼트 ID의 개수와 같아야 합니다.
보고:
-
Output: 데이터와 동일한 형태를 가지지만, 0번째 차원의 크기는 세그먼트 수인k입니다.
생성자와 소멸자 | |
|---|---|
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
연산자::텐서플로우::입력
operator::tensorflow::Input() const
연산자::텐서플로우::출력
operator::tensorflow::Output() const