tensorflow:: ops:: DecodeJSONExample

#include <parsing_ops.h>

JSON形式でエンコードされたExampleレコードをバイナリプロトコルバッファ文字列に変換します。

まとめ

この操作は、標準のJSONマッピングを使用してエンコードされたExampleレコードを含むテンソルを、バイナリプロトコルバッファとしてエンコードされた同じレコードを含むテンソルに変換します。結果として得られるテンソルは、他のExample解析操作に渡すことができます。

議論:

  • スコープ:スコープオブジェクト
  • json_examples: 各文字列は、Example proto の JSON マッピングに従ってシリアル化された JSON オブジェクトです。

返品:

  • Output : 各文字列は、 json_examplesのそれぞれの要素に対応するバイナリ Example プロトコル バッファです。

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

DecodeJSONExample (const :: tensorflow::Scope & scope, :: tensorflow::Input json_examples)

公開属性

binary_examples
operation

公的機能

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

公開属性

バイナリの例

::tensorflow::Output binary_examples

手術

Operation operation

公的機能

DecodeJSONExample

 DecodeJSONExample(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input json_examples
)

ノード

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const