tf.contrib.layers.check_feature_columns(feature_columns)
See the guide: Layers (contrib) > Feature columns
Checks the validity of the set of FeatureColumns.
feature_columns
: A set of instances or subclasses of FeatureColumn.ValueError
: If there are duplicate feature column keys.Defined in tensorflow/contrib/layers/python/layers/feature_column_ops.py
.
© 2017 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/contrib/layers/check_feature_columns