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

tf.contrib.layers.check_feature_columns

View source on GitHub

Checks the validity of the set of FeatureColumns.

tf.contrib.layers.check_feature_columns(feature_columns)

Args:

  • feature_columns: An iterable of instances or subclasses of FeatureColumn.

Raises:

  • ValueError: If feature_columns is a dict.
  • ValueError: If there are duplicate feature column keys.