Tfv2 code of the contrib.eager module

Hey, so I need to convert a code from v1 to v2, but the converter cannot convert the part of my code that utilizes contrib.eager

a part of my code uses contrib.eager.Network. I know this isn’t supported in tfv2 anymore, but I am unable to find the equivalent online.

please help

Hi @Aravgeorge7,

Welcome to TensorFlow Forum!

As mentioned in the official document you can consider using tf.keras.Model as a replacement for tfe.Network. Thank You!

1 Like