26. IPU TensorFlow Addons API changes

26.1. Release 3.0

The following changes have been made to the TensorFlow API in the Poplar SDK version 3.0. This may require you to change your code.

26.1.1. Breaking changes

Warning

These will require changes to any code that uses them.

Removal of deprecated APIs:

  • The available_memory_proportion_fwd and available_memory_proportion_bwd arguments have been removed from the following layers: ipu_tensorflow_addons.keras.layers.rnn.PopnnLSTM, ipu_tensorflow_addons.keras.layers.rnn.PopnnGRU, ipu_tensorflow_addons.v1.layers.rnn_ops.PopnnLSTM, ipu_tensorflow_addons.v1.layers.rnn_ops.PopnnDynamicLSTM, ipu_tensorflow_addons.v1.layers.rnn_ops.PopnnGRU, ipu_tensorflow_addons.v1.layers.rnn_ops.PopnnDynamicGRU, ipu_tensorflow_addons.v1.layers.rnn_ops.PopnnAUGRU.

26.2. Release 2.5

The following changes have been made to the IPU TensorFlow Addons API in the Poplar SDK version 2.5. This may require you to change your code.

26.2.1. Non-breaking changes

RNN available_memory_proportion_fwd/available_memory_proportion_bwd deprecated

The available_memory_proportion_fwd and available_memory_proportion_bwd arguments have been deprecated and will be removed from the following layers in a future release:

  • ipu_tensorflow_addons.keras.layers.rnn.PopnnLSTM

  • ipu_tensorflow_addons.keras.layers.rnn.PopnnGRU

  • ipu_tensorflow_addons.v1.layers.rnn_ops.PopnnLSTM

  • ipu_tensorflow_addons.v1.layers.rnn_ops.PopnnDynamicLSTM

  • ipu_tensorflow_addons.v1.layers.rnn_ops.PopnnGRU

  • ipu_tensorflow_addons.v1.layers.rnn_ops.PopnnDynamicGRU

  • ipu_tensorflow_addons.v1.layers.rnn_ops.PopnnAUGRU

These values are now set using the 'availableMemoryProportion' key of the options and options_bwd arguments correspondingly.

26.3. Release 2.4

First IPU TensorFlow Addons release.