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>
This commit is contained in:
Bartek Szmelczynski
2021-06-10 18:35:52 +02:00
committed by GitHub
parent 9e9e33e772
commit 084aa4e591
6 changed files with 41 additions and 12 deletions

View File

@@ -6,28 +6,28 @@
**Short description**: *Log* performs element-wise natural logarithm operation with given tensor.
**Detailed description**: *Log* does the following with the input tensor *a*:
\f[
a_{i} = log(a_{i})
\f]
**Attributes**:
No attributes available.
**Inputs**
* **1**: An tensor of type T. **Required.**
* **1**: An tensor of type T and arbitrary shape. **Required.**
**Outputs**
* **1**: The result of element-wise log operation. A tensor of type T.
* **1**: The result of element-wise log operation. A tensor of type T and the same shape as input.
**Types**
* *T*: any numeric type.
*Log* does the following with the input tensor *a*:
\f[
a_{i} = log(a_{i})
\f]
**Examples**
*Example 1*