tensorflow:: ops:: EncodeBase64

#include <string_ops.h>

文字列をウェブセーフなbase64形式にエンコードします。

まとめ

Base64形式の詳細については、次の記事を参照してください:en.wikipedia.org/wiki/Base64。Base64文字列の末尾には、エンコードされた文字列の長さが4の倍数になるように「=」によるパディングが含まれる場合があります。上記のリンクの「パディング」セクションを参照してください。

ウェブセーフとは、エンコーダーがプラス記号とスラッシュ記号の代わりにハイフン記号とアンダースコア記号を使用することを意味します。

議論:

  • スコープ:スコープオブジェクト
  • 入力:エンコードする文字列。

オプション属性( Attrs参照):

  • pad: 両端にパディングを適用するかどうかを示すブール値。

返品:

コンストラクターとデストラクタ

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

公的機能

エンコードBase64

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

エンコードBase64

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

ノード

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const 

パブリック静的関数

パッド

Attrs Pad(
  bool x
)