텐서플로우::ops::버킷화

#include <math_ops.h>

'경계'를 기준으로 '입력'을 그룹화합니다.

요약

예를 들어, 입력값이 boundaries = [0, 10, 100]인 경우 input = [[-5, 10000] [150, 10] [5, 100]]

그러면 출력은 output = [[0, 3] [3, 2] [1, 3]]이 됩니다.

논거:

  • 범위: Scope 객체
  • 입력: 정수 또는 부동 소수점 타입의 Tensor 형태의 데이터셋 .
  • 경계: 정렬된 부동 소수점 목록은 버킷의 경계를 나타냅니다.

보고:

  • Output : '입력'과 동일한 형태이며, 입력의 각 값은 버킷 인덱스로 대체됩니다.

(numpy) np.digitize와 동일합니다.

생성자와 소멸자

Bucketize (const :: tensorflow::Scope & scope, :: tensorflow::Input input, const gtl::ArraySlice< float > & boundaries)

공개 속성

operation
output

공공 기능

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

공개 속성

작업

Operation operation

산출

::tensorflow::Output output

공공 기능

버킷화

 Bucketize(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  const gtl::ArraySlice< float > & boundaries
)

마디

::tensorflow::Node * node() const 

연산자::텐서플로우::입력

 operator::tensorflow::Input() const 

연산자::텐서플로우::출력

 operator::tensorflow::Output() const