W3cubDocs

/TensorFlow Python

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

© 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/make_place_holder_tensors_for_base_features