Update Constant OP spec (#5195)
Co-authored-by: Patryk Elszkowski <patryk.elszkowki@intel.com>
This commit is contained in:
parent
75f9242cb4
commit
4e8655ae3c
@ -12,23 +12,23 @@
|
||||
|
||||
* **Description**: specifies position in binary file with weights where the content of the constant begins; value in bytes
|
||||
* **Range of values**: non-negative integer value
|
||||
* **Type**: int
|
||||
* **Default value**: none
|
||||
* **Type**: `int`
|
||||
* **Default value**: None
|
||||
* **Required**: *yes*
|
||||
|
||||
* *size*
|
||||
|
||||
* **Description**: size of constant content in binary files; value in bytes
|
||||
* **Range of values**: positive integer bigger than zero
|
||||
* **Type**: int
|
||||
* **Default value**: none
|
||||
* **Type**: `int`
|
||||
* **Default value**: None
|
||||
* **Required**: *yes*
|
||||
|
||||
* *element_type*
|
||||
|
||||
* **Description**: the type of element of output tensor
|
||||
* **Range of values**: u1, u8, u16, u32, u64, i8, i16, i32, i64, f16, f32, boolean, bf16
|
||||
* **Type**: string
|
||||
* **Type**: `string`
|
||||
* **Default value**: None
|
||||
* **Required**: *Yes*
|
||||
|
||||
@ -36,10 +36,19 @@
|
||||
|
||||
* **Description**: the shape of the output tensor
|
||||
* **Range of values**: list of non-negative integers, empty list is allowed, which means 0D or scalar tensor
|
||||
* **Type**: int[]
|
||||
* **Type**: `int[]`
|
||||
* **Default value**: None
|
||||
* **Required**: *Yes*
|
||||
|
||||
|
||||
**Outputs**
|
||||
|
||||
* **1**: Output tensor of type *T*.
|
||||
|
||||
**Types**
|
||||
|
||||
* *T*: any type from *element type* values.
|
||||
|
||||
**Example**
|
||||
|
||||
```xml
|
||||
|
Loading…
Reference in New Issue
Block a user