tensorflow :: ops :: 버킷 화
#include <math_ops.h>
'경계'를 기반으로 '입력'을 버킷 화합니다.
요약
예를 들어 입력이 경계인 경우 = [0, 10, 100] 입력 = [[-5, 10000] [150, 10] [5, 100]]
그러면 출력이 출력됩니다 = [[0, 3] [3, 2] [1, 3]]
인수 :
보고:
-
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
연산자 :: tensorflow :: 입력
operator::tensorflow::Input() const
연산자 :: tensorflow :: 출력
operator::tensorflow::Output() const