tf.contrib.layers.make_place_holder_tensors_for_base_features

tf.contrib.layers.make_place_holder_tensors_for_base_features(feature_columns)

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

See the guide: Layers (contrib) > Feature columns

Returns placeholder tensors for inference.

Args:

  • feature_columns: An iterable containing all the feature columns. All items should be instances of classes derived from _FeatureColumn.

Returns:

A dict mapping feature keys to SparseTensors (sparse columns) or placeholder Tensors (dense columns).