텐서플로우:: 작전:: EncodeBase64

#include <string_ops.h>

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

요약

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

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

인수:

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

선택적 속성( 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
)