텐서플로우:: 연산:: 빈 카운트
#include <math_ops.h>정수 배열에서 각 값의 발생 횟수를 계산합니다.
요약
size 길이의 벡터를 출력하며, weights 와 동일한 데이터 타입을 갖습니다. weights 비어 있으면 인덱스 i 에는 arr 에서 해당 값 i 나타나는 횟수가 저장됩니다. weights 비어 있지 않으면 인덱스 ` i 에는 arr 에서 해당 값이 i 인 각 인덱스의 weights 값들의 합이 저장됩니다.
arr 의 값이 [0, size) 범위를 벗어나면 무시됩니다.
논거:
- 범위: Scope 객체
- arr: int32
Tensor. - 크기: 음수가 아닌 int32 스칼라
Tensor. - weights:
arr과 동일한 형태의 int32, int64, float32 또는 float64Tensor이거나, 길이가 0인 Tensor입니다. 길이가 0인Tensor의 경우 모든 가중치가 1인 것처럼 동작합니다.
보고:
생성자와 소멸자 | |
|---|---|
Bincount (const :: tensorflow::Scope & scope, :: tensorflow::Input arr, :: tensorflow::Input size, :: tensorflow::Input weights) |
공개 속성 | |
|---|---|
bins | |
operation | |
공공 기능 | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
공개 속성
쓰레기통
::tensorflow::Output bins
작업
Operation operation
공공 기능
빈카운트
Bincount( const ::tensorflow::Scope & scope, ::tensorflow::Input arr, ::tensorflow::Input size, ::tensorflow::Input weights )
마디
::tensorflow::Node * node() const
연산자::텐서플로우::입력
operator::tensorflow::Input() const
연산자::텐서플로우::출력
operator::tensorflow::Output() const