Google I/O에 참여해 주셔서 감사합니다. 주문형 모든 세션 보기 주문형 시청

tensorflow :: ops :: StringToHashBucket

#include <string_ops.h>

입력 Tensor의 각 문자열을 버킷 수만큼 해시 모드로 변환합니다.

요약

해시 함수는 프로세스 내의 문자열 내용에 대해 결정적입니다.

해시 함수는 수시로 변경 될 수 있습니다. 이 기능은 더 이상 사용되지 않으며 tf.string_to_hash_bucket_fast() 또는 tf.string_to_hash_bucket_strong() 을 사용하는 것이 좋습니다.

인수 :

  • 범위 : 범위 개체
  • num_buckets : 버킷 수.

보고:

  • Output : 입력 string_tensor 와 같은 모양의 Tensor .

생성자와 소멸자

StringToHashBucket (const :: tensorflow::Scope & scope, :: tensorflow::Input string_tensor, int64 num_buckets)

공용 속성

operation
output

공공 기능

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

공용 속성

조작

Operation operation

산출

::tensorflow::Output output

공공 기능

StringToHashBucket

 StringToHashBucket(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input string_tensor,
  int64 num_buckets
)

마디

::tensorflow::Node * node() const 

연산자 :: tensorflow :: 입력

 operator::tensorflow::Input() const 

연산자 :: tensorflow :: 출력

 operator::tensorflow::Output() const