# _pyngraph.Input¶

class _pyngraph.Input

Bases: pybind11_builtins.pybind11_object

ngraph.impl.Input wraps ngraph::Input<Node>

__init__(*args, **kwargs)

Initialize self. See help(type(self)) for accurate signature.

Methods

 __init__(*args, **kwargs) Initialize self. The element type of the input referred to by this input handle. get_index(self) The index of the input referred to by this input handle. get_node(self) Get node referenced by this input handle. The partial shape of the input referred to by this input handle. get_shape(self) The shape of the input referred to by this input handle. A handle to the output that is connected to this input.
get_element_type(self: _pyngraph.Input)_pyngraph.Type

The element type of the input referred to by this input handle.

get_element_typeType

Type of the input.

get_index(self: _pyngraph.Input) → int

The index of the input referred to by this input handle.

get_indexint

Index value as integer.

get_node(self: _pyngraph.Input)_pyngraph.Node

Get node referenced by this input handle.

get_nodeNode

Node object referenced by this input handle.

get_partial_shape(self: _pyngraph.Input)_pyngraph.PartialShape

The partial shape of the input referred to by this input handle.

get_partial_shapePartialShape

PartialShape of the input.

get_shape(self: _pyngraph.Input)_pyngraph.Shape

The shape of the input referred to by this input handle.

get_shapeShape

Shape of the input.

get_source_output(self: _pyngraph.Input) → ngraph::Output<ngraph::Node>

A handle to the output that is connected to this input.

get_source_outputOutput

Output that is connected to the input.