* 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
1.1 KiB
1.1 KiB
Parameter
@sphinxdirective
Versioned name: Parameter-1
Category: Infrastructure
Short description: Parameter layer specifies input to the model.
Attributes:
-
element_type
- Description: the type of element of output tensor
- Range of values: u1, u4, u8, u16, u32, u64, i4, i8, i16, i32, i64, f16, f32, boolean, bf16
- Type:
string - Required: yes
-
shape
- 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[] - Required: yes
Outputs
- 1: Output tensor of type T and shape equal to shape attribute.
Types
- T: any type from element type values.
Example
.. code-block:: cpp
<layer ... type="Parameter" ...> element_type="f32" shape="1,3,224,224" 1 3 224 224
@endsphinxdirective