Missed TensorFlow World? Check out the recap. Learn more

tf.disable_v2_tensorshape

tf.disable_v2_tensorshape()

Defined in tensorflow/python/framework/tensor_shape.py.

Disables the V2 TensorShape behavior and reverts to V1 behavior.

See docstring for enable_v2_tensorshape for details about the new behavior.