TF 2.0 is out! Get hands-on practice at TF World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

tf.contrib.layers.make_place_holder_tensors_for_base_features

View source on GitHub

Returns placeholder tensors for inference.

tf.contrib.layers.make_place_holder_tensors_for_base_features(feature_columns)

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).