Skip to content

Commit cec796c

Browse files
committed
doc: postops: update docs to describe binary select postop
1 parent b4523fb commit cec796c

File tree

13 files changed

+46
-12
lines changed

13 files changed

+46
-12
lines changed

doc/primitives/binary.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ argument index as specified by the following table.
4242
| \f$\src_1\f$ | DNNL_ARG_SRC_1 |
4343
| \f$\src_2\f$ | DNNL_ARG_SRC_2 |
4444
| \dst | DNNL_ARG_DST |
45-
| \f$\text{binary post-op}\f$ | DNNL_ARG_ATTR_MULTIPLE_POST_OP(binary_post_op_position) \| DNNL_ARG_SRC_1 |
45+
| \f$\text{binary post-op}\f$ | DNNL_ARG_ATTR_MULTIPLE_POST_OP(binary_post_op_position) \| DNNL_ARG_SRC_1,|
46+
| | DNNL_ARG_ATTR_MULTIPLE_POST_OP(binary_post_op_position) \| DNNL_ARG_SRC_2 |
4647
| \f$binary scale0\f$ | DNNL_ARG_ATTR_SCALES \| DNNL_ARG_SRC_0 |
4748
| \f$binary scale1\f$ | DNNL_ARG_ATTR_SCALES \| DNNL_ARG_SRC_1 |
4849

doc/primitives/convolution.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,8 @@ argument index as specified by the following table.
152152
| \diffbias | DNNL_ARG_DIFF_BIAS |
153153
| \diffdst | DNNL_ARG_DIFF_DST |
154154
| \f$depthwise\f$ | DNNL_ARG_ATTR_POST_OP_DW |
155-
| \f$\text{binary post-op}\f$ | DNNL_ARG_ATTR_MULTIPLE_POST_OP(binary_post_op_position) \| DNNL_ARG_SRC_1 |
155+
| \f$\text{binary post-op}\f$ | DNNL_ARG_ATTR_MULTIPLE_POST_OP(binary_post_op_position) \| DNNL_ARG_SRC_1, |
156+
| | DNNL_ARG_ATTR_MULTIPLE_POST_OP(binary_post_op_position) \| DNNL_ARG_SRC_2 |
156157
| \f$\text{prelu post-op}\f$ | DNNL_ARG_ATTR_MULTIPLE_POST_OP(prelu_post_op_position) \| DNNL_ARG_WEIGHTS |
157158

158159
## Implementation Details

doc/primitives/eltwise.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ argument index as specified by the following table.
8484
| \dst | DNNL_ARG_DST |
8585
| \diffsrc | DNNL_ARG_DIFF_SRC |
8686
| \diffdst | DNNL_ARG_DIFF_DST |
87-
| \f$\text{binary post-op}\f$ | DNNL_ARG_ATTR_MULTIPLE_POST_OP(binary_post_op_position) \| DNNL_ARG_SRC_1 |
87+
| \f$\text{binary post-op}\f$ | DNNL_ARG_ATTR_MULTIPLE_POST_OP(binary_post_op_position) \| DNNL_ARG_SRC_1,|
88+
| | DNNL_ARG_ATTR_MULTIPLE_POST_OP(binary_post_op_position) \| DNNL_ARG_SRC_2 |
8889

8990
## Implementation Details
9091

doc/primitives/group_normalization.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,8 @@ argument index as specified by the following table.
109109
| \diffsrc | DNNL_ARG_DIFF_SRC |
110110
| \f$\diffgamma\f$ | DNNL_ARG_DIFF_SCALE |
111111
| \f$\diffbeta\f$ | DNNL_ARG_DIFF_SHIFT |
112-
| \f$\text{binary post-op}\f$ | DNNL_ARG_ATTR_MULTIPLE_POST_OP(binary_post_op_position) \| DNNL_ARG_SRC_1 |
112+
| \f$\text{binary post-op}\f$ | DNNL_ARG_ATTR_MULTIPLE_POST_OP(binary_post_op_position) \| DNNL_ARG_SRC_1,|
113+
| | DNNL_ARG_ATTR_MULTIPLE_POST_OP(binary_post_op_position) \| DNNL_ARG_SRC_2 |
113114

114115
## Implementation Details
115116

doc/primitives/inner_product.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ argument index as specified by the following table.
5959
| \diffweights | DNNL_ARG_DIFF_WEIGHTS |
6060
| \diffbias | DNNL_ARG_DIFF_BIAS |
6161
| \diffdst | DNNL_ARG_DIFF_DST |
62-
| \f$\text{binary post-op}\f$ | DNNL_ARG_ATTR_MULTIPLE_POST_OP(binary_post_op_position) \| DNNL_ARG_SRC_1 |
62+
| \f$\text{binary post-op}\f$ | DNNL_ARG_ATTR_MULTIPLE_POST_OP(binary_post_op_position) \| DNNL_ARG_SRC_1, |
63+
| | DNNL_ARG_ATTR_MULTIPLE_POST_OP(binary_post_op_position) \| DNNL_ARG_SRC_2 |
6364
| \f$\text{prelu post-op}\f$ | DNNL_ARG_ATTR_MULTIPLE_POST_OP(prelu_post_op_position) \| DNNL_ARG_WEIGHTS |
6465

6566
## Implementation Details

doc/primitives/layer_normalization.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ argument index as specified by the following table.
9999
| \diffbeta | DNNL_ARG_DIFF_SHIFT |
100100
| \f$src scale\f$ | DNNL_ARG_ATTR_SCALES \| DNNL_ARG_SRC |
101101
| \f$dst scale\f$ | DNNL_ARG_ATTR_SCALES \| DNNL_ARG_DST |
102-
| \f$\text{binary post-op}\f$ | DNNL_ARG_ATTR_MULTIPLE_POST_OP(binary_post_op_position) \| DNNL_ARG_SRC_1 |
103-
102+
| \f$\text{binary post-op}\f$ | DNNL_ARG_ATTR_MULTIPLE_POST_OP(binary_post_op_position) \| DNNL_ARG_SRC_1,|
103+
| | DNNL_ARG_ATTR_MULTIPLE_POST_OP(binary_post_op_position) \| DNNL_ARG_SRC_2 |
104104

105105
## Implementation Details
106106

doc/primitives/matmul.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ argument index as specified by the following table.
5353
| \f$\text{dropout output mask}\f$ | DNNL_ARG_ATTR_DROPOUT_MASK |
5454
| \f$\text{dropout probability}\f$ | DNNL_ARG_ATTR_DROPOUT_PROBABILITY |
5555
| \f$\text{dropout rng seed}\f$ | DNNL_ARG_ATTR_DROPOUT_SEED |
56-
| \f$\text{binary post-op}\f$ | DNNL_ARG_ATTR_MULTIPLE_POST_OP(binary_post_op_position) \| DNNL_ARG_SRC_1 |
56+
| \f$\text{binary post-op}\f$ | DNNL_ARG_ATTR_MULTIPLE_POST_OP(binary_post_op_position) \| DNNL_ARG_SRC_1, |
57+
| | DNNL_ARG_ATTR_MULTIPLE_POST_OP(binary_post_op_position) \| DNNL_ARG_SRC_2 |
5758
| \f$\text{prelu post-op}\f$ | DNNL_ARG_ATTR_MULTIPLE_POST_OP(prelu_post_op_position) \| DNNL_ARG_WEIGHTS |
5859

5960
## Implementation Details

doc/primitives/pooling.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ argument index as specified by the following table.
6868
| workspace | DNNL_ARG_WORKSPACE |
6969
| \diffsrc | DNNL_ARG_DIFF_SRC |
7070
| \diffdst | DNNL_ARG_DIFF_DST |
71-
| \f$\text{binary post-op}\f$ | DNNL_ARG_ATTR_MULTIPLE_POST_OP(binary_post_op_position) \| DNNL_ARG_SRC_1 |
71+
| \f$\text{binary post-op}\f$ | DNNL_ARG_ATTR_MULTIPLE_POST_OP(binary_post_op_position) \| DNNL_ARG_SRC_1,|
72+
| | DNNL_ARG_ATTR_MULTIPLE_POST_OP(binary_post_op_position) \| DNNL_ARG_SRC_2 |
7273

7374
## Implementation Details
7475

doc/primitives/reduction.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ argument index as specified by the following table.
5959
|-----------------------------|---------------------------------------------------------------------------|
6060
| \src | DNNL_ARG_SRC |
6161
| \dst | DNNL_ARG_DST |
62-
| \f$\text{binary post-op}\f$ | DNNL_ARG_ATTR_MULTIPLE_POST_OP(binary_post_op_position) \| DNNL_ARG_SRC_1 |
62+
| \f$\text{binary post-op}\f$ | DNNL_ARG_ATTR_MULTIPLE_POST_OP(binary_post_op_position) \| DNNL_ARG_SRC_1,|
63+
| | DNNL_ARG_ATTR_MULTIPLE_POST_OP(binary_post_op_position) \| DNNL_ARG_SRC_2 |
6364

6465
## Implementation Details
6566

doc/primitives/resampling.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ argument index as specified by the following table.
9090
| \dst | DNNL_ARG_DST |
9191
| \diffsrc | DNNL_ARG_DIFF_SRC |
9292
| \diffdst | DNNL_ARG_DIFF_DST |
93-
| \f$\text{binary post-op}\f$ | DNNL_ARG_ATTR_MULTIPLE_POST_OP(binary_post_op_position) \| DNNL_ARG_SRC_1 |
93+
| \f$\text{binary post-op}\f$ | DNNL_ARG_ATTR_MULTIPLE_POST_OP(binary_post_op_position) \| DNNL_ARG_SRC_1,|
94+
| | DNNL_ARG_ATTR_MULTIPLE_POST_OP(binary_post_op_position) \| DNNL_ARG_SRC_2 |
9495

9596
## Implementation Details
9697

0 commit comments

Comments
 (0)