openvino.runtime.opset2.parameter

openvino.runtime.opset2.parameter(shape: typing.List[int], dtype: typing.Union[type, numpy.dtype, openvino._pyopenvino.Type] = <class 'numpy.float32'>, name: typing.Optional[str] = None) openvino._pyopenvino.op.Parameter

Return an openvino Parameter object.

Parameters
  • shape – The shape of the output tensor.

  • dtype – The type of elements of the output tensor. Defaults to np.float32.

  • name – The optional name for output new node.

Returns

The node that specifies input to the model.