텐서플로우:: 작전:: SparseBincount
#include <math_ops.h>정수 배열에서 각 값의 발생 횟수를 셉니다.
요약
 길이 size 와 weights 와 동일한 dtype을 가진 벡터를 출력합니다. weights 비어 있으면 인덱스 i 값 i 가 arr 에 계산되는 횟수를 저장합니다. weights 비어 있지 않으면 인덱스 i 는 arr 의 해당 값이 i 인 각 인덱스의 weights 값의 합을 저장합니다.
 arr 의 값이 [0, size) 범위를 벗어나면 무시됩니다.
인수:
- 범위: 범위 개체
-  인덱스: 2D int64 Tensor.
-  값: 1D int Tensor.
-  density_shape: 1D int64 Tensor.
-  크기: 음수가 아닌 정수 스칼라 Tensor.
-  가중치: int32, int64, float32 또는 float64 Tensorinput과 동일한 형태를 갖거나 길이가 0인Tensor입니다. 이 경우 모든 가중치가 1인 것처럼 작동합니다.
 선택적 속성( Attrs 참조):
- 바이너리 출력: 부울; 커널이 출현 횟수 또는 발생 횟수를 계산해야 하는지 여부입니다.
보고:
-  Output: 길이가size와 같은 1DTensor또는 [batch_size,size]의 2DTensor. [0, 크기) 범위에 있는 각 값의 개수 또는 합산된 가중치입니다.
| 생성자와 소멸자 | |
|---|---|
| SparseBincount (const :: tensorflow::Scope & scope, :: tensorflow::Input indices, :: tensorflow::Input values, :: tensorflow::Input dense_shape, :: tensorflow::Input size, :: tensorflow::Input weights) | |
| SparseBincount (const :: tensorflow::Scope & scope, :: tensorflow::Input indices, :: tensorflow::Input values, :: tensorflow::Input dense_shape, :: tensorflow::Input size, :: tensorflow::Input weights, const SparseBincount::Attrs & attrs) | 
| 공개 속성 | |
|---|---|
| operation | |
| output | |
| 공공 기능 | |
|---|---|
| node () const | ::tensorflow::Node * | 
| operator::tensorflow::Input () const | |
| operator::tensorflow::Output () const | |
| 공개 정적 함수 | |
|---|---|
| BinaryOutput (bool x) | |
| 구조체 | |
|---|---|
| 텐서플로우:: ops:: SparseBincount:: 속성 | SparseBincount 에 대한 선택적 속성 설정자입니다. | 
공개 속성
작업
Operation operation
산출
::tensorflow::Output output
공공 기능
SparseBincount
SparseBincount( const ::tensorflow::Scope & scope, ::tensorflow::Input indices, ::tensorflow::Input values, ::tensorflow::Input dense_shape, ::tensorflow::Input size, ::tensorflow::Input weights )
SparseBincount
SparseBincount( const ::tensorflow::Scope & scope, ::tensorflow::Input indices, ::tensorflow::Input values, ::tensorflow::Input dense_shape, ::tensorflow::Input size, ::tensorflow::Input weights, const SparseBincount::Attrs & attrs )
마디
::tensorflow::Node * node() const
연산자::텐서플로우::입력
operator::tensorflow::Input() const
연산자::텐서플로우::출력
operator::tensorflow::Output() const
공개 정적 함수
바이너리 출력
Attrs BinaryOutput( bool x )