tfx.components.util.examples_utils.get_payload_format

Returns the payload format of Examples artifact.

If Examples artifact does not contain the "payload_format" custom property, it is made before tfx supports multiple payload format, and can regard as tf.Example format.

examples A standard_artifacts.Examples artifact.

payload_format One of the enums in example_gen_pb2.PayloadFormat.