텐서플로우:: ops:: EncodeBase64

#include <string_ops.h>

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

요약

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

웹 안전(Web-safe)이란 인코더가 +와 / 대신 -와 _를 사용한다는 것을 의미합니다.

논거:

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

선택적 속성( Attrs 참조):

  • pad: 끝부분에 패딩이 적용되는지 여부를 나타내는 부울 값입니다.

보고:

  • 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)

구조

텐서플로우:: 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 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const 

공개 정적 함수

인주

Attrs Pad(
  bool x
)