Join the SIG TFX-Addons community and help make TFX even better!

tft.coders.ExampleProtoCoder

A coder between maybe-serialized TF Examples and tf.Transform datasets.

Used in the notebooks

Used in the tutorials

schema A Schema proto.
serialized Whether to encode serialized Example protos (as opposed to in-memory Example protos).

ValueError If schema is invalid.

Methods

encode

View source

Encode a tf.transform encoded dict as tf.Example.