Skip to content

Move to TF2

Compare
Choose a tag to compare
@jonas-eschle jonas-eschle released this 28 Jan 14:27

This release switched to TensorFlow 2.0 eager mode. Please upgrade your TensorFlow installation if possible and change
your code (minimal changes) as described under "Behavioral changes".
In case this is currently impossible to do, please downgrade to < 1.1.0.

Major Features and Improvements

  • full TF2 compatibility

Behavioral changes

  • generate now returns an eager Tensor. This is basically a numpy array wrapped by TensorFlow.
    To explicitly convert it to a numpy array, use the numpy() method of the eager Tensor.
  • generate_tensor is now depreceated, generate can directly be used instead.

Bug fixes and small changes

Requirement changes

  • requires now TensorFlow >= 2.0.0