tf.contrib.layers.check_feature_columns

tf.contrib.layers.check_feature_columns(feature_columns)

Defined in tensorflow/contrib/layers/python/layers/feature_column_ops.py.

See the guide: Layers (contrib) > Feature columns

Checks the validity of the set of FeatureColumns.

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.