You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TensorFlow 2 User Guide: Updating links to Graphcore examples repo
Summary:
The structure of the Graphcore Examples repo on GitHub has changed. This diff updates the following:
* the links to refer to the updated location for the referenced examples
* updates the example links to refer to TensorFlow 2.
TF2.6 Only
Test Plan: docs-only!
Reviewers: #tensorflow, #framework_ip_review_-_any_oss_or_third-party_code_use_has_been_approved, alfiee
Reviewed By: #tensorflow, #framework_ip_review_-_any_oss_or_third-party_code_use_has_been_approved, alfiee
Subscribers: alfiee
Maniphest Tasks: T65489
Differential Revision: https://phabricator.sourcevertex.net/D70714
Copy file name to clipboardExpand all lines: tensorflow/compiler/plugin/poplar/docs/poplar_ops.rst
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,28 +7,28 @@ available in PopLibs. See the :ref:`api-section` for more details.
7
7
Image operations
8
8
~~~~~~~~~~~~~~~~
9
9
10
-
Our architecture is well-suited to efficiently handle convolutions over four-channel tensors, however it is common
11
-
for images to be represented with three channels.
12
-
In order to obtain better IPU performance, both from a latency and memory standpoint, we advise that when
13
-
dealing with three-channel inputs, you pad the fourth channel dimension.
10
+
Our architecture is well-suited to efficiently handle convolutions over four-channel tensors, however it is common
11
+
for images to be represented with three channels.
12
+
In order to obtain better IPU performance, both from a latency and memory standpoint, we advise that when
13
+
dealing with three-channel inputs, you pad the fourth channel dimension.
14
14
15
-
See :py:func:`tensorflow.python.ipu.image_ops.normalise_image`
16
-
for the op that can perform this padding, in addition to normalising and casting if needed. Note that this padding will be
17
-
performed on-device, after the data has been transferred to the IPU.
15
+
See :py:func:`tensorflow.python.ipu.image_ops.normalise_image`
16
+
for the op that can perform this padding, in addition to normalising and casting if needed. Note that this padding will be
17
+
performed on-device, after the data has been transferred to the IPU.
18
18
19
19
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/master/applications/tensorflow/cnns/training/Datasets/imagenet_preprocessing.py>`_
21
-
in Graphcore's examples repository on GitHub.
20
+
example <https://github.com/graphcore/examples/blob/master/vision/cnns/tensorflow1/training/Datasets/imagenet_preprocessing.py>`_
21
+
in Graphcore's examples repository on GitHub.
22
22
23
23
Matmul serialisation
24
24
~~~~~~~~~~~~~~~~~~~~
25
25
26
-
You have the option to serialise matrix multiplications along a particular dimension, in order to reduce
26
+
You have the option to serialise matrix multiplications along a particular dimension, in order to reduce
27
27
the code size of the multiplication and the temporary memory requirements of the matmul, at the expense of extra computation.
28
28
29
-
See :py:func:`tensorflow.python.ipu.math_ops.serialized_matmul` for details of the op.
29
+
See :py:func:`tensorflow.python.ipu.math_ops.serialized_matmul` for details of the op.
30
30
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/applications/tensorflow/bert/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/tensorflow1/modeling.py>`_
0 commit comments