TensorFlow 2.0 Beta is available Learn more

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.