Protocol buffers
A protocol buffer is a language-neutral serializable data format developed mainly by Google. The binary format is used by many products published by Google and, of course, TensorFlow is not an exception. All of the files generated by TensorFlow are based on protocol buffers. A protocol buffer is a serialization format that is readable by various kinds of programming languages. Once you define the schema of the protocol in the protocol buffer DSL, the protocol buffer compiler can generate serializers in various kinds of programming languages. This allows us to write a system to exchange data between services in a heterogeneous system smoothly.
Due to the nature of the protocol buffer, TensorFlow can make use of it in order ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access