W3cubDocs

/TensorFlow Python

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.

© 2018 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