TF 2.0 is out! Get hands-on practice at TF World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

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.