Skip to content

Commit e91c977

Browse files
dzakharJaccovG
authored andcommitted
[DOCS] Headings Hierarchy: Move Kernels and groups one level higher
1 parent ef4dc66 commit e91c977

29 files changed

+272
-275
lines changed

doc/documents/index.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ embARC Machine Learning Inference Library
1515
overview/overview.rst
1616
mli_api_data/mli_api_data.rst
1717
mli_kernels/mli_kernels.rst
18+
mli_kernels/convolution_grp.rst
19+
mli_kernels/rec_fully_con_grp.rst
20+
mli_kernels/pooling_grp.rst
21+
mli_kernels/diverse_kernels_grp.rst
22+
mli_kernels/transform_grp.rst
23+
mli_kernels/elemw_grp.rst
1824
data_movement/data_movement.rst
1925
utility_functions/utility_functions.rst
2026
platform_specific/platform_hint_sum.rst

doc/documents/mli_kernels/conv_2d.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
.. _conv_2d:
22

33
Convolution 2D Prototype and Function List
4-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4+
------------------------------------------
55

66
Description
7-
"""""""""""
7+
^^^^^^^^^^^
88

99
This kernel implements a general 2D convolution operation. It applies each filter
1010
of weights tensor to each framed area of the size of input tensor.
@@ -38,7 +38,7 @@ related quantization aspects. The Number of accumulation series in terms of abov
3838
equal to :math:`(Hk * Wk * Ci)`.
3939

4040
Functions
41-
"""""""""
41+
^^^^^^^^^
4242

4343
The functions which implement 2D Convolutions have the following prototype:
4444

@@ -162,7 +162,7 @@ Here is a list of all available 2D Convolution functions:
162162
..
163163

164164
Conditions
165-
""""""""""
165+
^^^^^^^^^^
166166

167167
Ensure that you satisfy the following general conditions before calling the function:
168168

@@ -257,7 +257,7 @@ Ensure that you satisfy the platform-specific conditions in addition to those li
257257
(see the :ref:`platform_spec_chptr` chapter).
258258

259259
Result
260-
""""""
260+
^^^^^^
261261

262262
These functions only modify the memory pointed by ``out.data.mem`` field.
263263
It is assumed that all the other fields of ``out`` tensor are properly populated

doc/documents/mli_kernels/conv_depthwise.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
.. _conv_depthwise:
22

33
Depthwise Convolution Prototype and Function List
4-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4+
-------------------------------------------------
55

66
Description
7-
"""""""""""
7+
^^^^^^^^^^^
88

99
This kernel implements a 2D depthwise convolution operation applying each filter
1010
channel to each input channel separately. It applies each filter of weights tensor
@@ -45,7 +45,7 @@ on related quantization aspects. The Number of accumulation series in terms of a
4545
is equal to :math:`(Hk * Wk)`.
4646

4747
Functions
48-
"""""""""
48+
^^^^^^^^^
4949

5050
Kernels which implement depthwise convolution have the following prototype:
5151

@@ -148,7 +148,7 @@ Here is a list of all available Depth-Wise Convolution functions:
148148
..
149149

150150
Conditions
151-
""""""""""
151+
^^^^^^^^^^
152152

153153
Ensure that you satisfy the following general conditions before calling the function:
154154

@@ -223,7 +223,7 @@ Ensure that you satisfy the platform-specific conditions in addition to those li
223223
(see the :ref:`platform_spec_chptr` chapter).
224224

225225
Result
226-
""""""
226+
^^^^^^
227227

228228
These functions only modify the memory pointed by ``out.data.mem`` field.
229229
It is assumed that all the other fields of ``out`` tensor are properly populated

doc/documents/mli_kernels/conv_grp.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
.. _grp_conv:
22

33
Group Convolution Prototype and Function List
4-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4+
---------------------------------------------
55

66
Description
7-
"""""""""""
7+
^^^^^^^^^^^
88

99
This kernel implements a grouped 2D convolution which applies general 2D
1010
convolution operation on a separate subset (groups) of inputs. In grouped
@@ -41,7 +41,7 @@ This is a MAC-based kernel which implies accumulation. See :ref:`quant_accum_inf
4141
The Number of accumulation series is equal to :math:`(Hk * Wk * Cw)`.
4242

4343
Functions
44-
"""""""""
44+
^^^^^^^^^
4545

4646
Kernels which implement a group convolution have the following prototype:
4747

@@ -152,7 +152,7 @@ Here is a list of all available Group Convolution functions:
152152
..
153153

154154
Conditions
155-
""""""""""
155+
^^^^^^^^^^
156156
Ensure that you satisfy the following general conditions before calling the function:
157157

158158

@@ -228,7 +228,7 @@ Ensure that you satisfy the platform-specific conditions in addition to those li
228228
(see the :ref:`platform_spec_chptr` chapter).
229229

230230
Result
231-
""""""
231+
^^^^^^
232232

233233
These functions only modify the memory pointed by ``out.data.mem`` field.
234234
It is assumed that all the other fields of ``out`` tensor are properly populated

doc/documents/mli_kernels/conv_transp.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Transpose Convolution Prototype and Function List
2-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2+
-------------------------------------------------
33

44
Description
5-
"""""""""""
5+
^^^^^^^^^^^
66

77
This kernel implements a general 2D transposed convolution operation
88
which works by swapping the forward and backward passes of a convolution.
@@ -55,7 +55,7 @@ This is a MAC-based kernel which implies accumulation. See :ref:`quant_accum_inf
5555
The Number of accumulation series is up to (:math:`Wk*Hk*Ci`).
5656

5757
Functions
58-
"""""""""
58+
^^^^^^^^^
5959

6060
Kernels which implement Transpose Convolutions have the following prototype:
6161

@@ -170,7 +170,7 @@ The following table lists all the available Transpose Convolution functions:
170170
..
171171

172172
Conditions
173-
""""""""""
173+
^^^^^^^^^^
174174

175175
Ensure that you satisfy the following general conditions before calling the function:
176176

@@ -241,7 +241,7 @@ Ensure that you satisfy the platform-specific conditions in addition to those li
241241
(see the :ref:`platform_spec_chptr` chapter).
242242

243243
Result
244-
""""""
244+
^^^^^^
245245

246246
These functions only modify the memory pointed by ``out.data.mem`` field.
247247
It is assumed that all the other fields of ``out`` tensor are properly populated

doc/documents/mli_kernels/convolution_grp.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.. _chap_conv:
22

3-
Convolution Group
4-
-----------------
3+
Convolution Kernels Group
4+
=========================
55

66
The Convolution Group describes operations related to convolution layers, where
77
input features are convolved with a set of trained filters. For a comprehensive guide

doc/documents/mli_kernels/div_argmax.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
.. _argmax_prot:
22

33
Argmax Prototype and Function List
4-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4+
----------------------------------
55

66
Description
7-
"""""""""""
7+
^^^^^^^^^^^
88

99
This kernel returns the positions of maximum values across the whole tensor, or for each slice
1010
across a dimension.
1111

1212
Functions
13-
"""""""""
13+
^^^^^^^^^
1414

1515
Argmax functions have the following prototype:
1616

@@ -82,7 +82,7 @@ parameters are shown in the following table:
8282
..
8383

8484
Conditions
85-
""""""""""
85+
^^^^^^^^^^
8686

8787
Ensure that you satisfy the following general conditions before calling the function:
8888

@@ -126,7 +126,7 @@ Ensure that you satisfy the platform-specific conditions in addition to those li
126126
(see the :ref:`platform_spec_chptr` chapter).
127127

128128
Result
129-
""""""
129+
^^^^^^
130130

131131
These functions modify:
132132

doc/documents/mli_kernels/div_permute.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
.. _permute_prot:
22

33
Permute Prototype and Function List
4-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4+
-----------------------------------
55

66
Description
7-
"""""""""""
7+
^^^^^^^^^^^
88

99
The kernel permutes dimensions of input tensor according to provided order. In other words,
1010
it transposes input tensors.
1111

1212
Functions
13-
"""""""""
13+
^^^^^^^^^
1414

1515
The functions which implement Permute have the following prototype:
1616

@@ -86,7 +86,7 @@ Here is a list of all available permute functions:
8686
..
8787

8888
Conditions
89-
""""""""""
89+
^^^^^^^^^^
9090

9191
Ensure that you satisfy the following general conditions before calling the function:
9292

@@ -104,7 +104,7 @@ Ensure that you satisfy the platform-specific conditions in addition to those li
104104
(see the :ref:`platform_spec_chptr` chapter).
105105

106106
Result
107-
""""""
107+
^^^^^^
108108

109109
These functions modify:
110110

doc/documents/mli_kernels/diverse_kernels_grp.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.. _chap_diverse_kern:
22

33
Diverse Kernels Group
4-
---------------------
4+
=====================
55

66
The Diverse Kernels Group provides operations for common machine learning processing.
77

doc/documents/mli_kernels/elemw_grp.rst

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
.. _chap_element_wise:
22

3-
Element-wise Group
4-
^^^^^^^^^^^^^^^^^^
3+
Element-wise Kernels Group
4+
==========================
5+
6+
Element-wise Operations Prototype and Function List
7+
---------------------------------------------------
58

69
Description
7-
"""""""""""
10+
^^^^^^^^^^^
811

912
The Element-wise Group describes operations that are applied element-by-element
1013
on two tensors of the same shape and return a tensor of the same shape. These kernels
@@ -17,7 +20,7 @@ element of the other tensor.
1720
:math:`\text{out}_{i} = operation(\text{in}_{\text{scalar}}^{1},\ \text{in}_{i}^{2}`)
1821

1922
Functions
20-
"""""""""
23+
^^^^^^^^^
2124

2225
Kernels which implement Element-wise functions have the following prototype:
2326

@@ -76,7 +79,7 @@ Kernels which implement Element-wise functions have the following prototype:
7679
..
7780

7881
Conditions
79-
""""""""""
82+
^^^^^^^^^^
8083

8184
Ensure that you satisfy the following general conditions before calling the function:
8285

@@ -112,7 +115,7 @@ Ensure that you satisfy the platform-specific conditions in addition to those li
112115
(see the :ref:`platform_spec_chptr` chapter).
113116

114117
Result
115-
""""""
118+
^^^^^^
116119

117120
These functions only modify the memory pointed by ``out.data.mem`` field.
118121
It is assumed that all the other fields of ``out`` tensor are properly populated

0 commit comments

Comments
 (0)