![]() |
Returns the payload format of Examples artifact.
tfx.components.util.examples_utils.get_payload_format(
examples: tfx.types.Artifact
) -> int
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.
Args | |
---|---|
examples
|
A standard_artifacts.Examples artifact. |
Returns | |
---|---|
payload_format
|
One of the enums in example_gen_pb2.PayloadFormat. |