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

decode

View source

DEPRECATED FUNCTION

encode

View source

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