revise atan op (#6288)

* 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>
This commit is contained in:
song, bell
2021-07-06 14:45:18 +08:00
committed by GitHub
parent e209a33fcc
commit bee21b5c5b
9 changed files with 67 additions and 24 deletions

View File

@@ -6,31 +6,27 @@
**Short description**: *Atan* performs element-wise inverse tangent (arctangent) operation with given tensor.
**Attributes**:
No attributes available.
**Inputs**
* **1**: An tensor of type *T*. **Required.**
**Outputs**
* **1**: The result of element-wise atan operation. A tensor of type *T*.
**Types**
* *T*: any numeric type.
*atan* does the following with the input tensor *a*:
**Detailed description**: Operation takes one input tensor and performs the element-wise inverse tangent function on a given input tensor, based on the following mathematical formula:
\f[
a_{i} = atan(a_{i})
\f]
**Examples**
**Attributes**: *Atan* operation has no attributes.
*Example 1*
**Inputs**
* **1**: A tensor of type *T* and arbitrary shape. **Required.**
**Outputs**
* **1**: The result of element-wise *Atan* applied to the input tensor. A tensor of type *T* and same shape as the input tensor.
**Types**
* *T*: any supported numeric type.
**Examples**
```xml
<layer ... type="Atan">