minor fixes in Parameter spec (#6146)
* minor fixes in Parameter spec * expand supported type list and add output shape info
This commit is contained in:
parent
c4274d4c32
commit
59fd456ba2
@ -11,18 +11,27 @@
|
||||
* *element_type*
|
||||
|
||||
* **Description**: the type of element of output tensor
|
||||
* **Range of values**: u8, u16, u32, u64, i8, i16, i32, i64, f16, f32, boolean, bf16
|
||||
* **Type**: string
|
||||
* **Range of values**: u1, u4, u8, u16, u32, u64, i4, i8, i16, i32, i64, f16, f32, boolean, bf16
|
||||
* **Type**: `string`
|
||||
* **Default value**: None
|
||||
* **Required**: *Yes*
|
||||
* **Required**: *yes*
|
||||
|
||||
* *shape*
|
||||
|
||||
* **Description**: the shape of the output tensor
|
||||
* **Range of values**: list of non-negative integers, empty list is allowed that means 0D or scalar tensor
|
||||
* **Type**: int[]
|
||||
* **Range of values**: list of non-negative integers, empty list is allowed, which means 0D or scalar tensor
|
||||
* **Type**: `int[]`
|
||||
* **Default value**: None
|
||||
* **Required**: *Yes*
|
||||
* **Required**: *yes*
|
||||
|
||||
|
||||
**Outputs**
|
||||
|
||||
* **1**: Output tensor of type *T* and shape equal to *shape* attribute.
|
||||
|
||||
**Types**
|
||||
|
||||
* *T*: any type from *element type* values.
|
||||
|
||||
**Example**
|
||||
|
||||
@ -38,4 +47,4 @@
|
||||
</port>
|
||||
</output>
|
||||
</layer>
|
||||
```
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user