Missed TensorFlow Dev Summit? Check out the video playlist. Watch recordings

tfx.components.util.value_utils.GetValues

View source on GitHub

Retrieves the value of the given labeled input.

tfx.components.util.value_utils.GetValues(
    inputs, label
)

Args:

  • inputs: Dict from label to a value list.
  • label: Label of the value to retrieve.

Returns:

A list of values, or empty list if there's no value.

Raises:

  • ValueError: If label is not one of the valid input labels.