#include <parsing_ops.h>
Convert JSON-encoded Example records to binary protocol buffer strings.
This op translates a tensor containing Example records, encoded using the standard JSON mapping, into a tensor containing the same records encoded as binary protocol buffers. The resulting tensor can then be fed to any of the other Example-parsing ops.
Arguments:
Returns:
Output
: Each string is a binary Example protocol buffer corresponding to the respective element of json_examples
. Constructors and Destructors | |
---|---|
DecodeJSONExample(const ::tensorflow::Scope & scope, ::tensorflow::Input json_examples) |
Public attributes | |
---|---|
binary_examples |
Public functions | |
---|---|
node() const | ::tensorflow::Node * |
operator::tensorflow::Input() const | |
operator::tensorflow::Output() const |
::tensorflow::Output binary_examples
DecodeJSONExample( const ::tensorflow::Scope & scope, ::tensorflow::Input json_examples )
::tensorflow::Node * node() const
operator::tensorflow::Input() const
operator::tensorflow::Output() const
© 2017 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/decode-j-s-o-n-example.html