tf.compat.v1.disable_resource_variables

Opts out of resource variables. (deprecated)

If your code needs tf.disable_resource_variables() to be called to work properly please file a bug.