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


Generates a MLMD event given type, key and index.

event_type The type of the event. e.g., INPUT, OUTPUT, etc.
key The key of the input or output channel. Usually a key can uniquely identify a channel of a TFX node.
index The index of the artifact in a channel. For example, a trainer might take more than one Example artifacts in one of its input channels. We need to distinguish each artifact when creating events.
artifact_id Optional artifact id for the event.
execution_id Optional execution id for the event.

A metadata_store_pb2.Event message.