Commit Graph

184 Commits

Author SHA1 Message Date
Patryk Elszkowski
de53c40578 bulk change type T to type *T* in spec (#6486)
* bulk change `type T` to `type *T*` in spec

* update all `T` which referee to type to use *T* pattern

* get back with `T` where T is dimension

* fix *T*1 -> *T1*

* Make italic types where was no formating
2021-07-02 13:51:00 +03:00
Bartosz Lesniewski
520a6bd647 Revise PriorBox Spec (#6364)
* Revise PriorBox spec

* Tex cosmetics

* use backticks for attr types, add types section

* Add missing default values for optional attributes

* Remove redundant sentences in attr descriptions, add clip to detailed description
2021-07-01 13:11:36 +03:00
Piotr Szmelczynski
6d5e6de895 Revise cos (#6429)
* Update docs

* create type_prop test for cos

* Create visitor test foor cos

* add RTTI macro

* Create separate ref impl for integer input

* add cos to SLT integer activation type

* add backend test for int input

* add cos to constants.py

* style apply

* fix spec

* add ngraph check for outputs and inputs

* fix inputs ngraph check

* remove unnecessary includes

* style dix
2021-06-30 18:46:11 +03:00
Patryk Elszkowski
65aa58a06f update spec for DepthToSpace operation (#6315)
* Update speck

* remove ONNX link and fix type of output

* fix `block_size` description
2021-06-29 16:02:57 +03:00
LuweiZhou
c483cdced6 Revise swish (#5983)
* Update Swish OP description.

Signed-off-by: Luwei Zhou <luwei.zhou@intel.com>

* Use RTTI to declare/define NGraph Swish OP.
Add input element type check when constructing Swish OP.

Signed-off-by: Luwei Zhou <luwei.zhou@intel.com>

* Add Swish into activation serialization test list.

Signed-off-by: Luwei Zhou <luwei.zhou@intel.com>

* Add Swish into IE CPU plugin activation single layer test suit.

Signed-off-by: Luwei Zhou <luwei.zhou@intel.com>

* Add Swish NGraph backend and visitor API tests.

Signed-off-by: Luwei Zhou <luwei.zhou@intel.com>

* Add Swish unsupported parameter data type test cases.

Signed-off-by: Luwei Zhou <luwei.zhou@intel.com>

* Update the Swish OP visistor API to use typed test.

Signed-off-by: Luwei Zhou <luwei.zhou@intel.com>
2021-06-23 10:50:52 +03:00
cecilia peng
38bb6dc874 spec revise: add attribute "normalize" to Paddle NMS operators. (#6290) 2021-06-22 12:34:34 +03:00
Pavel Esir
b2d25da04d [spec] add Gather-8 with negative indices (#6172)
* add Gather-8 with negative indices

* incremented version

* updated opset8.md
2021-06-21 15:33:13 +03:00
cecilia peng
ac01777166 MatrixNMS-8 spec. (#5948)
* Specification of a new operator called MatrixNMS.

This Op functionally equivalent to NonMaxSuppression-5, with an non max suppression algorithm called matrix_nms, and perform more post-processing phases, and lay out
the detection outputs in the way of PaddlePaddle detection.

* Update docs/ops/sort/MatrixNMS_8.md

Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>

* Update docs/ops/sort/MatrixNMS_8.md

Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>

* Update docs/ops/sort/MatrixNMS_8.md

Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>

* Update docs/ops/sort/MatrixNMS_8.md

Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>

* Update docs/ops/sort/MatrixNMS_8.md

Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>

* Update docs/ops/sort/MatrixNMS_8.md

Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>

* Update docs/ops/sort/MatrixNMS_8.md

Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>

* Update docs/ops/sort/MatrixNMS_8.md

Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>

* Update MatrixNMS_8.md

* Update MatrixNMS_8.md

Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>
2021-06-18 17:39:23 +03:00
Ivan Tikhonov
8543b42ac0 DeformableConvolution v8 specification (#5684)
* ModulatedDeformableConvolution spec

* add bilinear_interpolation_mode attribute

* updated formulas for DeformableConv v1 and v8, applied review remarks

* fix doxygen formulas

* Update Deformable conv v8 spec, update docs
2021-06-18 09:50:29 +03:00
Gabriele Galiero Casay
9dd0531599 Negative operation specification refactoring (#6204)
* update spec

* update supported types in spec

* Minor changes in spec

Co-authored-by: pszmel <piotr.szmelczynski@intel.com>
2021-06-18 09:20:40 +03:00
cecilia peng
73ef2ffb41 MulticlassNms-8 spec. (#5907)
* MulticlassNms-8 spec.

This Op functionally extends NonMaxSuppression-5, to perform more post-processing phases, and lay out
the detection outputs in the way of PaddlePaddle detection.

* Update MulticlassNMS_8.md

Clarify the meaning of "nms_top_k".

* Update MulticlassNMS_8.md

* Update MulticlassNMS_8.md

* Update MulticlassNMS_8.md

* Update MulticlassNMS_8.md

* Update MulticlassNMS_8.md
2021-06-18 09:20:00 +03:00
Piotr Szmelczynski
94352874a5 Revise ceiling (#6124)
* update spec

* add RTTI macro

* clean backend test file

* create visitor test

* remove Ceiling cpu functional tests from skip_test_config

* fix skip_test_config conflict

* Add type_prop test for Ceiling.

* Fix failing ceiling type_prop tests.

* Replace unary_ops.cpp with single test op files.

* Enable integer tests.

Co-authored-by: Szymon Durawa <szymon.durawa@intel.com>
2021-06-18 05:50:02 +03:00
Patryk Elszkowski
59fd456ba2 minor fixes in Parameter spec (#6146)
* minor fixes in Parameter spec

* expand supported type list and add output shape info
2021-06-16 07:37:37 +03:00
Bartosz Lesniewski
58eef532e9 Revise ExtractImagePatches op - specification (#6105)
* Change example input matrices to tex

* Remove leftover matrix template

* Remove reference to TF operation
2021-06-15 13:54:00 +00:00
Jozef Daniecki
5ebdcfe15b StridedSlice operation specification refactoring (#5887)
* StridedSlice spec refactored against explicit type indication.

* Add name to data input.

* Add new examples.

* Changed T to 'any supported type'.

* Remove mention about 'generalized python indexing' from short
description.
2021-06-15 15:35:47 +03:00
Bartek Szmelczynski
d7b2e4e50e revise space_to_batch spec (#5767)
* refactor part of the docs file to use \dots

* refector docs

* add function enclosure for docs

* split function enclosurs across lines

* add latex operations to spec

* fix style

* fix missing index

* remove link to tensorflow operation

* Remove commas from formula.

Co-authored-by: jdanieck <jozef.daniecki@intel.com>
2021-06-15 15:24:40 +03:00
Katarzyna Mitrus
a248d84894 [Spec] ShuffleChannels spec update (#5813) 2021-06-15 15:02:37 +03:00
Bartek Szmelczynski
084aa4e591 Revise log (#6061)
* refactor ngraph log class, add type_prop tests

* udpate inputs, outputs decscription in spec

Co-authored-by: jdanieck <jozef.daniecki@intel.com>
2021-06-10 19:35:52 +03:00
Maxim Vafin
c3ad7dc2a4 Specify AdaptiveAvgPool-8 and AdaptiveMaxPool-8 (#5773)
* Specify AdaptiveAvgPool-8 and AdaptiveMaxPool-8

* Apply review feedback

* Describe indices output

* Apply review feedback

* Apply review feedback

* Update AdaptiveMaxPool_8.md

* Apply suggestions from code review

Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>

* Apply review feedback

Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>
2021-06-10 18:09:35 +03:00
Jozef Daniecki
6a42b47c2f RegionYolo operation specification refactoring. (#5926)
* RegionYolo spec refactored against explicit type indication.

* Improve readability.
2021-06-07 20:12:57 +03:00
Bartosz Lesniewski
9384cfefc6 Revise NonZero op - specification (#5804)
* Revise spec for nonzero op

* Applying suggestions from review comments

* Change naming in detailed description, using tuple instead of column.

* add missing newlines in attributes section

* Remove trailing space from line 7
2021-06-03 14:18:01 +03:00
Katarzyna Mitrus
5f54ec559a [Spec] Prelu - Remove 1D slope restriction and update broadcast info (#5951)
* Remove 1D restriction and update broadcast info

* Add link to Broadcast Rules description
2021-06-02 14:30:15 +02:00
Jozef Daniecki
9970f5b248 Interpolate operation specification refactoring. (#5928)
* Interpolate  spec refactored against explicit type indication.

* Chnaged types names.
2021-06-02 08:22:20 +03:00
Jozef Daniecki
45ce06c57c CTCGreedyDecoder operation specification refactoring (#5885)
* CTCGreedyDecoder spec refactored against explicit type indication.

* Add backticks to output tensor description.
2021-06-01 13:58:45 +03:00
Jozef Daniecki
d40636f835 LRN operation specification refactoring (#5890)
* LRN spec refactored against explicit type indication.

* Fix spelling.
2021-06-01 12:01:43 +03:00
Ivan Tikhonov
0350dfe886 delete wrong spec for RNNCell (#5117) 2021-06-01 09:53:05 +03:00
Tomasz Socha
87a47aa117 🦒Nonzero-adjustment (#5863) 2021-05-27 17:42:52 +03:00
Gabriele Galiero Casay
6b66f8f47f Reduction operations specification refactoring (#5612)
* Reduction operations specification refactoring

* Change axes input element type to any supported integer

* Address review comments related to wording
2021-05-27 16:38:51 +03:00
Alexandra Sidorova
a74ba7b18e Fixed Softplus ref (#5755) 2021-05-24 14:34:12 +03:00
Piotr Szmelczynski
4b860890ed Revise floor (#5618)
* create type_prop tests

* add visitors test

* fix bug in visitor test

* add RTTI macro

* fix bug in visitors test

* add newline

* update spec

* update spec

* update RTTI definition

* move RTTI definitioion to the top of he file

* Remove broadcast from attribute tests.

* Add Floor-1 to summarize.py report.

Co-authored-by: jdanieck <jozef.daniecki@intel.com>
2021-05-21 07:55:26 +03:00
Anton Chetverikov
538f407829 Fix errors for VariadicSplit layer restored from serialized IR (#5613)
* Fix errors in VariadicSplit layer restored from serialized IR

* Update VariadicSplit specification and error message to allow 1D tensors on 1st input

* Update spec

* Resolve comments

* Apply comments, add unit tests

* Update unit tests
2021-05-19 19:03:58 +03:00
Gabriele Galiero Casay
6a8f8a0761 Enable zero epsilon attribute in BatchNormInference operation (#5657) 2021-05-18 07:30:10 +03:00
Patryk Elszkowski
8300e9d5a1 update reshape spec (#5575)
* update reshape spec

* fix input description

* use T_SHAPE instead T_INT

Co-authored-by: Patryk Elszkowski <patryk.elszkowki@intel.com>
2021-05-17 13:44:31 +03:00
Szymon Durawa
d5a8861475 Update specification for ConvolutionBackpropData. (#4679)
* Update specification for ConvolutionBackpropData.

* Add backticks to attribute types, changed layout description for input, filter and output.

* Correct xml example.

* Add new examples.

* Add link with convolution backprop description.

* Repleace additional link with argxiv website.

* Insert enumeration for examples.

* Fix example with output_shape input.
2021-05-17 09:21:07 +03:00
Pavel Esir
5fa899a39e [nG] Gather-7 update for negative batch_dims (#5522)
* corrected negative batch_dims normalization, some improvements in dynamism for Gather_7

* corrected transformation

* added batch_dims and axis normalization for reference

* updated INTERPRETER backend tests; replaced sizet_t -> int64_t in Gather evaluate

* returned back size_t in reference

* made Gather-1 source compatible with previous ngraph library versions

* added unittest for v7->v1, with nonzero batch_dims transformation should not be executed

* fix axis validation error message

* fix batch_dims gettter

* fixed v7->v1 unittest for nonzero batch_dims
2021-05-14 10:31:36 +03:00
Ilya Lavrenov
07a49184c0 Fixed typo in length (#5611) 2021-05-13 07:52:55 +03:00
Bartosz Lesniewski
af0aa5f430 Revise Unsqueeze op - specification (#5526)
* Revise unsqueeze op spec

* Second input value boundaries fix

* adjust first input description
2021-05-07 17:03:25 +03:00
Gabriele Galiero Casay
b9812a4275 ConvertLike specification refactoring (#5534)
* ConvertLike specification refactoring

* Corrected typos and clean up

* Changed supported types of Convert to align with ConvertLike
2021-05-07 14:53:49 +02:00
Gabriele Galiero Casay
b9fe465cf0 BatchNormInference specification refactoring (#5489)
* BatchNormInference specification refactoring

* Address review comments

 * Remove he term Transform from definition
 * Add title of the paper where this operation is introduced
 * Add missing backticks
 * Remove redundant information in attribute epsilon range of values

* Refinement of spec

Remove more mentions to transformation to avoid confusion

* Corrected typos and added changes to improve readability

* Use third person to express operation steps
2021-05-07 14:06:28 +03:00
Gabriele Galiero Casay
edfec9171f ReduceSum specification refactoring (#5527) 2021-05-07 12:58:06 +03:00
Jozef Daniecki
2896b3af8c Convert op specification refactoring. (#5530)
* Convert op specification refactoring.

* Minor readability improvements.

* Fixed 'category' formatting.
2021-05-06 17:16:52 +03:00
Anton Chetverikov
e86b9b17b0 Update Gather-7 specification (#5441)
* Allow nagative values for batch_dims

* Update formula

* Update spec according to comments

* clarified cases when batch_dims and axis less than zero and enhanced restriction for index types

Co-authored-by: Pavel Esir <pavel.esir@intel.com>
2021-05-06 16:01:53 +03:00
Patryk Elszkowski
dc49035eaa update tanh v1 spec (#5413)
* update tanh v1 spec

* Apply review suggestions

* add rounding info

* Move Tanh to activation functions

* reorganize spec and add rounding rule for integers

* back to arithemtic functions

* Update `short description` to adjust with new EW description template

Co-authored-by: Patryk Elszkowski <patryk.elszkowki@intel.com>
2021-05-05 14:27:51 +03:00
Alexandra Sidorova
03ca3d1ef7 [CPU] Fixed SoftPlus for large positive values (#4932) 2021-04-30 13:34:33 +03:00
Katarzyna Mitrus
cec1e4ae1c Remove new line symbol (#5459) 2021-04-30 09:53:32 +03:00
Gabriele Galiero Casay
2062a648a7 Gelu-7 specification refactoring (#5439)
* Review spec of Gelu-7 operation

* Address review comments

 * Modified formulas
 * Changed type from `T` to *T*
2021-04-29 19:21:45 +03:00
Katarzyna Mitrus
8e87087acf [Spec] Revision of Sqrt op specification (#5369)
* Update attributes info

* Update math form to render sqrt symbol

* Update input description

* Update output description

* Add new example

* Update description and move math formula

* Style refactor

* Add info about integer rounding and negative values

* Update examples with integer cases
2021-04-28 20:18:12 +03:00
Gabriele Galiero Casay
59a001580f Revise Split operation reference implementation (#5174)
* Review Split operation class

   * Added node validation checks
   * Added type_prop unit tests with invalid cases and negative axis value

* Add ngraph check for host tensor inputs and outputs

* Enable CPU backend tests

* Add serialization single layer tests

* Add more precisions, axis and num of splits in single layer tests

* Add op to script of trusted operations

* Fix check macro for inputs and outputs in evaluate method

* Fix comparison of integer expressions of different signedness compilation error

* Add validation check for upper bound dimension for dynamic shapes

* Add node validation check for num_splits attribute greater than zero

* Align spec with num_splits attribute range of values
2021-04-23 15:58:08 +03:00
Katarzyna Mitrus
311416ac02 [Spec] Transpose op spec update (#5215)
* Update detailed description

* Update input info

* Output description update

* Update math formula

* Change T1, T2 to T and T_AXIS

* Update input description

* Update output description

* Update examples

* Simplify output description

* Add missed comma
2021-04-22 15:31:06 +03:00
Roman Kazantsev
7a500e185b Specify Einsum-7 operation (#5145)
* Specify Einsum-7 operation

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Finalize specification for Einsum-7 operation

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Remove duplicate example

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Update doc headers with Einsum operation

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Apply comments after the first review: grammar corrections and sentence rephrase

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Apply feedback from tech-writers and online review

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Make additional grammar corrections

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Correct documentation: optimize some sentences, links and examples

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Support capital letters in equation and implicit mode

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
2021-04-20 11:04:38 +03:00