Skip to content Skip to sidebar Skip to footer

What Is The Purpose Of The Tf.contrib Module In Tensorflow?

I'm curious about what tf.contrib is, and why the code would be included in TensorFlow, but not in the main repository. Furthermore, looking at the example here (from the tensorflo

Solution 1:

In general, tf.contrib contains contributed code. It is meant to contain features and contributions that eventually should get merged into core TensorFlow, but whose interfaces may still change, or which require some testing to see whether they can find broader acceptance.

The code in tf.contrib isn't supported by the Tensorflow team. It is included in the hope that it is helpful, but it might change or be removed at any time; there are no guarantees.

The source of tf.contrib.layers.sparse_column_with_hash_bucket can be found at

https://github.com/tensorflow/tensorflow/blob/master/tensorflow/contrib/layers/python/layers/feature_column.py#L365

Post a Comment for "What Is The Purpose Of The Tf.contrib Module In Tensorflow?"