ngraph.opset1.ops.Parameter

class ngraph.opset1.ops.Parameter

Bases: _pyngraph.Node

ngraph.impl.op.Parameter wraps ngraph::op::Parameter

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: _pyngraph.op.Parameter, arg0: _pyngraph.Type, arg1: _pyngraph.Shape) -> None

  2. __init__(self: _pyngraph.op.Parameter, arg0: _pyngraph.Type, arg1: _pyngraph.PartialShape) -> None

Methods

__init__(*args, **kwargs)

Overloaded function.

get_element_type(self)

Checks that there is exactly one output and returns it's element type.

get_friendly_name(self)

Gets the friendly name for a node.

get_name(self)

Get the unique name of the node

get_output_element_type(self, i)

Returns the element type for output i

get_output_partial_shape(self, i)

Returns the partial shape for output i

get_output_shape(self, i)

Returns the shape for output i

get_output_size(self)

Returns the number of outputs from the node.

get_partial_shape(*args, **kwargs)

Overloaded function.

get_rt_info(self)

Returns PyRTMap which is a dictionary of user defined runtime info.

get_type_name(self)

Returns Type's name from the node.

input(self, input_index)

A handle to the input_index input of this node.

inputs(self)

A list containing a handle for each of this node's inputs, in order.

output(self, output_index)

A handle to the output_index output of this node.

outputs(self)

A list containing a handle for each of this node's outputs, in order.

set_friendly_name(self, name)

Sets a friendly name for a node.

set_partial_shape(self, arg0)

Attributes

friendly_name

name

rt_info

shape

get_element_type(self: _pyngraph.Node) _pyngraph.Type

Checks that there is exactly one output and returns it’s element type.

get_element_typeType

Type of the output.

get_friendly_name(self: _pyngraph.Node) str

Gets the friendly name for a node. If no friendly name has been set via set_friendly_name then the node’s unique name is returned.

get_namestr

Friendly name of the node.

get_name(self: _pyngraph.Node) str

Get the unique name of the node

get_namestr

Unique name of the node.

get_output_element_type(self: _pyngraph.Node, i: int) _pyngraph.Type

Returns the element type for output i

iint

Index of the output.

get_output_element_typeType

Type of the output i

get_output_partial_shape(self: _pyngraph.Node, i: int) _pyngraph.PartialShape

Returns the partial shape for output i

iint

Index of the output.

get_output_partial_shapePartialShape

PartialShape of the output i

get_output_shape(self: _pyngraph.Node, i: int) _pyngraph.Shape

Returns the shape for output i

iint

Index of the output.

get_output_shapeShape

Shape of the output i

get_output_size(self: _pyngraph.Node) int

Returns the number of outputs from the node.

get_element_typeint

Number of outputs.

get_partial_shape(*args, **kwargs)

Overloaded function.

  1. get_partial_shape(self: _pyngraph.op.Parameter) -> _pyngraph.PartialShape

  2. get_partial_shape(self: _pyngraph.op.Parameter) -> _pyngraph.PartialShape

get_rt_info(self: _pyngraph.Node) _pyngraph.PyRTMap

Returns PyRTMap which is a dictionary of user defined runtime info.

get_rt_infoPyRTMap

A dictionary of user defined data.

get_type_name(self: _pyngraph.Node) str

Returns Type’s name from the node.

get_type_namestr

String repesenting Type’s name.

input(self: _pyngraph.Node, input_index: int) ngraph::Input<ngraph::Node>

A handle to the input_index input of this node.

input_indexint

Index of Input.

inputInput

Input of this node.

inputs(self: _pyngraph.Node) List[ngraph::Input<ngraph::Node>]

A list containing a handle for each of this node’s inputs, in order.

inputsList[Input]

List of node’s inputs.

output(self: _pyngraph.Node, output_index: int) ngraph::Output<ngraph::Node>

A handle to the output_index output of this node.

output_indexint

Index of Output.

inputOutput

Output of this node.

outputs(self: _pyngraph.Node) List[ngraph::Output<ngraph::Node>]

A list containing a handle for each of this node’s outputs, in order.

inputsList[Output]

List of node’s outputs.

set_friendly_name(self: _pyngraph.Node, name: str) None

Sets a friendly name for a node. This does not overwrite the unique name of the node and is retrieved via get_friendly_name(). Used mainly for debugging. The friendly name may be set exactly once.

namestr

Friendly name to set.

set_partial_shape(self: _pyngraph.op.Parameter, arg0: _pyngraph.PartialShape) None