tensorflow :: ops :: EncodeBase64

#include <string_ops.h>

문자열을 웹 안전 base64 형식으로 인코딩합니다.

요약

base64 형식에 대한 자세한 내용은 en.wikipedia.org/wiki/Base64 문서를 참조하십시오. Base64 문자열은 인코딩 된 길이가 4의 배수가되도록 끝에 '='가있는 패딩이있을 수 있습니다. 위 링크의 패딩 섹션을 참조하십시오.

웹 안전은 인코더가 + 및 / 대신-및 _를 사용함을 의미합니다.

인수 :

  • 범위 : 범위 개체
  • 입력 : 인코딩 할 문자열.

선택적 속성 ( Attrs 참조) :

  • pad : 끝에 padding 적용 여부를 지정합니다.

보고:

  • Output : base64로 인코딩 된 입력 문자열입니다.

생성자와 소멸자

EncodeBase64 (const :: tensorflow::Scope & scope, :: tensorflow::Input input)
EncodeBase64 (const :: tensorflow::Scope & scope, :: tensorflow::Input input, const EncodeBase64::Attrs & attrs)

공용 속성

operation
output

공공 기능

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

공개 정적 함수

Pad (bool x)

구조체

tensorflow :: ops :: EncodeBase64 :: Attrs

EncodeBase64에 대한 선택적 속성 설정자.

공용 속성

조작

Operation operation

산출

::tensorflow::Output output

공공 기능

EncodeBase64

 EncodeBase64(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input
)

EncodeBase64

 EncodeBase64(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  const EncodeBase64::Attrs & attrs
)

마디

::tensorflow::Node * node() const 

연산자 :: tensorflow :: 입력

 operator::tensorflow::Input() const 

연산자 :: tensorflow :: 출력

 operator::tensorflow::Output() const 

공개 정적 함수

인주

Attrs Pad(
  bool x
)