tf.contrib.layers.check_feature_columns

View source on GitHub

Checks the validity of the set of FeatureColumns.

feature_columns An iterable of instances or subclasses of FeatureColumn.

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