Skip to content

Commit 0786fae

Browse files
committed
Update IPU examples to TensorFlow 2
Summary: TF2.6 only Reviewers: grahamh, #tensorflow, #framework_ip_review_-_any_oss_or_third-party_code_use_has_been_approved, #tech_docs, gauthamg Reviewed By: grahamh, #tensorflow, #framework_ip_review_-_any_oss_or_third-party_code_use_has_been_approved, gauthamg Maniphest Tasks: T73307 Differential Revision: https://phabricator.sourcevertex.net/D81850
1 parent 41b7457 commit 0786fae

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

tensorflow/compiler/plugin/poplar/docs/poplar_ops.rst

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,9 @@ for the op that can perform this padding, in addition to normalising and casting
1717
performed on-device, after the data has been transferred to the IPU.
1818

1919
An example of its use can be found in the ``fused_normalise_image()`` function in the `CNN training application
20-
example <https://github.com/graphcore/examples/blob/v3.0.0/vision/cnns/tensorflow1/training/Datasets/imagenet_preprocessing.py>`_
20+
example <https://github.com/graphcore/examples/blob/master/vision/cnns/tensorflow2/datasets/image_normalization.py>`_
2121
in Graphcore's examples repository on GitHub.
2222

23-
.. note:: This example is for TensorFlow 1.
24-
From Poplar SDK 3.1, TensorFlow 1 will only be supported in CentOS 7. In addition, `Examples <https://github.com/graphcore/examples/tree/v3.0.0>`__ and `Tutorials <https://github.com/graphcore/tutorials/tree/sdk-release-3.0>`__ for TensorFlow 1 are only available up to version 3.0 of the SDK. There has been limited testing of the 3.0 versions of the TensorFlow 1 tutorials and examples with Poplar SDK 3.1.
25-
26-
2723
Matmul serialisation
2824
~~~~~~~~~~~~~~~~~~~~
2925

@@ -32,12 +28,9 @@ the code size of the multiplication and the temporary memory requirements of the
3228

3329
See :py:func:`tensorflow.python.ipu.math_ops.serialized_matmul` for details of the op.
3430

35-
An example of its use can be found in the ``mlm_head()`` function in the `BERT application example <https://github.com/graphcore/examples/blob/v3.0.0/nlp/bert/tensorflow1/modeling.py>`_
31+
An example of its use can be found in the ``mlm_head()`` function in the `BERT application example <https://github.com/graphcore/examples/blob/master/nlp/bert/tensorflow2/model/ipu_lm_prediction_head.py>`_
3632
in Graphcore's examples repository on GitHub.
3733

38-
.. note:: This example is for TensorFlow 1.
39-
From Poplar SDK 3.1, TensorFlow 1 will only be supported in CentOS 7. In addition, `Examples <https://github.com/graphcore/examples/tree/v3.0.0>`__ and `Tutorials <https://github.com/graphcore/tutorials/tree/sdk-release-3.0>`__ for TensorFlow 1 are only available up to version 3.0 of the SDK. There has been limited testing of the 3.0 versions of the TensorFlow 1 tutorials and examples with Poplar SDK 3.1.
40-
4134

4235
Dropout
4336
~~~~~~~

0 commit comments

Comments
 (0)