# Module: tf.contrib.proto

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/contrib/proto/__init__.py) |

Ops and modules related to proto.

## Functions

[`decode_proto(...)`](https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/io/decode_proto): The op extracts fields from a serialized protocol buffers message into tensors.

[`encode_proto(...)`](https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/io/encode_proto): The op serializes protobuf messages provided in the input tensors.