tft.coders.ExampleProtoCoder

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

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.