Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

There is no tensorflow.contrib package in TensorFlow version 2. TensorFlow version 2 has been reorganized to have a modular structure, and many of the functions previously available in tensorflow.contrib have been moved into other modules or packages. Some functions have been deprecated or removed altogether.

Many of the previously available functions can now be found in the tensorflow.keras package, which provides a high-level API for building and training deep learning models. Other functions have been moved to the tensorflow.compat.v1 package to support backward compatibility with TensorFlow version 1.

It is recommended to refer to the TensorFlow documentation for the latest information on how to use and access the various functionalities.