tensorflow :: ops :: DecodeJSONExample

#include <parsing_ops.h>

Mengonversi catatan Contoh yang dikodekan JSON menjadi string buffer protokol biner.

Ringkasan

Operasi ini menerjemahkan tensor yang berisi catatan Contoh, yang dienkode menggunakan pemetaan JSON standar , menjadi tensor yang berisi catatan yang sama yang dikodekan sebagai buffer protokol biner. Tensor yang dihasilkan kemudian dapat diumpankan ke salah satu operasi penguraian Contoh lainnya.

Argumen:

  • scope: Objek Scope
  • json_examples: Setiap string adalah objek JSON yang diserialkan sesuai dengan pemetaan JSON dari proto Example.

Pengembalian:

  • Output : Setiap string adalah buffer protokol Contoh biner yang sesuai dengan elemen masing-masing json_examples .

Pembuat dan Penghancur

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

Atribut publik

binary_examples
operation

Fungsi publik

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

Atribut publik

binary_examples

::tensorflow::Output binary_examples

operasi

Operation operation

Fungsi publik

DecodeJSONExample

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

simpul

::tensorflow::Node * node() const 

operator :: tensorflow :: Input

 operator::tensorflow::Input() const 

operator :: tensorflow :: Keluaran

 operator::tensorflow::Output() const