* opset to rst
* change list indentations
* fix formula
* add n operations
* add negative and nonzero
* fix link
* specs to rst
* fix matrixnms path
* change path to if
* fix list
* fix format
* tmp
* Fix atanh correctness test issue and veriyf pass.
Signed-off-by: Yan, Xiping <xiping.yan@intel.com>
* Only keep available input value for correctness test.
Signed-off-by: Yan, Xiping <xiping.yan@intel.com>
* revise ../docs/ops/arithmetic/Atanh_3.md
* revise atanh
* recall atanh input data type description
* Revert "recall atanh input data type description"
This reverts commit 08e38f8c76.
* Migrate atanh to template plugin reference tests
Signed-off-by: Yan, Xiping <xiping.yan@intel.com>
* fix build fail.
Signed-off-by: Yan, Xiping <xiping.yan@intel.com>
* Remove atanh.in.cpp
Signed-off-by: Yan, Xiping <xiping.yan@intel.com>
* Atanh only accept [-1,1].
If input value outside of this range, it will return nan.
But nan is not value, can't compare.
So I update the reference implement.
Signed-off-by: Yan, Xiping <xiping.yan@intel.com>
* clang format
Signed-off-by: Yan, Xiping <xiping.yan@intel.com>
* Revert submodule mkl-dnn
Signed-off-by: Yan, Xiping <xiping.yan@intel.com>
* op::Atanh->op::v3::Atanh
Signed-off-by: Yan, Xiping <xiping.yan@intel.com>
* Keep algin with "Tensorflow", revert range input to [-1.0, 1.0];
Signed-off-by: Yan, Xiping <xiping.yan@intel.com>
* fix template test issue: if expect and actual both are nan, return true.
Signed-off-by: Yan, Xiping <xiping.yan@intel.com>
* 1: revert add new code to process condition: res and ref both are nan.
2: change || to ^, it looks like better.
Signed-off-by: Yan, Xiping <xiping.yan@intel.com>
* revise tan op
Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com>
* update doc
add examples in desciption
add the unit of measure
clear input type
Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com>
* add template plugin test case for int type
Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com>
* add template plugin test case for uint and float
remove the float test in backend
Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com>
* modify document
change type to any supported numeric type
Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com>
* fix compile error in openvino-lin
Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com>
* Revise Erf OP sepc
Signed-off-by: Luwei Zhou <luwei.zhou@intel.com>
* Revise the NGraph Erf OP implment to switch to RTTI.
Signed-off-by: Luwei Zhou <luwei.zhou@intel.com>
* Remove the duplicated Erf in the activation type vector.
Signed-off-by: Luwei Zhou <luwei.zhou@intel.com>
* Add NGraph visitor API test case.
Signed-off-by: Luwei Zhou <luwei.zhou@intel.com>
* Enalbe the Erf visitor API CmakeLists.txt.
Signed-off-by: Luwei Zhou <luwei.zhou@intel.com>
* Revise the Erf OP backend test
Signed-off-by: Luwei Zhou <luwei.zhou@intel.com>
* Migrate to use the template test.
* Add erf type_prop test.
* Update the license
* Unary Visitor test template fix
-Migrate OP Tanh to use RTTI;
-Remove the using namespace in the header file
-Migrate the Swish and Tanh visitor test to use template code
Signed-off-by: Luwei Zhou <luwei.zhou@intel.com>
* Revert "Unary Visitor test template fix"
This reverts commit b686c933d3.
* Update the doc format.
* Update the document format and description.
Signed-off-by: Luwei Zhou <luwei.zhou@intel.com>
* Add Erf OP into the layer test summary list
* Migrate the Erf backend test into template_plugin infrastructure
* Update the Erf supported input type.
* Remove the boolean type support in erf reference implement.
validate_and_infer_elementwise_arithmetic() will fail with boolean type.
* Update the erf test with all supported types.
* Update with separate namespace of CommonReferenceTest
* update docs
* add sign to intActivationTypes
* add RTTI macro
* update backend test
* add type prp test
* add visitor test
* add visitor and type_prop test to CMakeList
* add sign to constants.py
* delete backend tests and create new reference tests
* style fix
* remoove sign backend test from CMakeList
* create reference test for all supported types
* remove boolean type from evaluate method
* revise atan op
* use parametrized vistor API
* use new gtest macros
* Update docs/ops/arithmetic/Atan_1.md
Co-authored-by: Gabriele Galiero Casay <gabriele.galiero.casay@intel.com>
* Update docs/ops/arithmetic/Atan_1.md
Co-authored-by: Gabriele Galiero Casay <gabriele.galiero.casay@intel.com>
* Update ngraph/core/src/op/atan.cpp
Co-authored-by: Gabriele Galiero Casay <gabriele.galiero.casay@intel.com>
* update doc to follow the rules
* create type_prop for atan
* drop op_eval to be covered in backend
* add the missing type prop case
* add integer type ref impl
* fix clang issue
Co-authored-by: Gabriele Galiero Casay <gabriele.galiero.casay@intel.com>
* update sinh spec
* add rounding for integral type
* refactor ngraph sinh class, add backend, visitors and type_prop tests
* refactor backend test for int32, remove redundant includes, refactor spec, add SLT for ints
* fix style
* add sinh to list of trusted ops
* re-add Sinh to int SLT
* update python modules
* revert update of python modules, and fix the depracated typed_test formula
* fix deprecated typed_test formula
* 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
* 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
* 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>
* 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
* Review spec of Selu operation
* Fix path for Selu op in opset files
* Remove unnecessary line in example
* Address review comments related to wording
* Mod operation specification refactoring.
* Add dummy broadcast_rules.md.
* Minor fixes, e.g. capitalize operation names, typos.
* Add comment about division by zero.
* Division by zero update.
Co-authored-by: jdanieck <jozef.daniecki@intel.com>
* Update spec for ADD operation.
* Change back quote for attribute name and value.
* Update link for auto_broadcast attribute.
* Move detailed description section, add suto_broadcast attribite to examples.
* Remove github link in numpy attribute description and replace it with local link.
* Add brodcast_rules.md for specific broadcast rules.
* Add new line at the end of broadcast_rules.md, modify font for add inputs.
* Change link for Broadcast_1.md
* Add description of broadcast in broadcast_rules.md
* Correct output shape description.
* Add bidirectional broadcast description and new examples.
* Add description for auto_broadcast types: None and PDPD.
* Add examples for pdpd and bidirectional broadcasts, add pdpd attributte for Add, modify Broadcast ops to refer broadcast_rules file.
* Duplicated 'openvino_docs_ops_broadcast_rules' label change.
* Add example with scalar for bidiretional broadcast.
* Add new lines for examples.