Public Member Functions
ngraph::Output< const Node > Class Reference

Public Member Functions

 Output (const Node *node, size_t index)
 Constructs a Output. More...
 
 Output (const std::shared_ptr< const Node > &node, size_t index)
 Constructs a Output. More...
 
template<typename T >
 Output (const std::shared_ptr< T > &node)
 Constructs a Output, referencing the zeroth output of the node. More...
 
 Output ()=default
 A null output.
 
void reset ()
 
Output< const Nodefor_node (const std::shared_ptr< const Node > &node)
 This output position for a different node.
 
const Nodeget_node () const
 
std::shared_ptr< const Nodeget_node_shared_ptr () const
 
size_t get_index () const
 
descriptor::Tensor & get_tensor () const
 
std::shared_ptr< descriptor::Tensor > get_tensor_ptr () const
 
const element::Type & get_element_type () const
 
const Shapeget_shape () const
 
const PartialShapeget_partial_shape () const
 
std::set< Input< Node > > get_target_inputs () const
 
bool operator== (const Output &other) const
 
bool operator!= (const Output &other) const
 
bool operator< (const Output &other) const
 
bool operator> (const Output &other) const
 
bool operator<= (const Output &other) const
 
bool operator>= (const Output &other) const
 

Constructor & Destructor Documentation

◆ Output() [1/3]

ngraph::Output< const Node >::Output ( const Node node,
size_t  index 
)

Constructs a Output.

Parameters
nodeA pointer to the node for the output handle.
indexThe index of the output.

◆ Output() [2/3]

ngraph::Output< const Node >::Output ( const std::shared_ptr< const Node > &  node,
size_t  index 
)

Constructs a Output.

Parameters
nodeA shared_ptr to the node for the output handle.
indexThe index of the output.

TODO: Make a plan to deprecate this.

◆ Output() [3/3]

template<typename T >
ngraph::Output< const Node >::Output ( const std::shared_ptr< T > &  node)
inline

Constructs a Output, referencing the zeroth output of the node.

Parameters
nodeA shared_ptr to the node for the output handle.

Member Function Documentation

◆ get_element_type()

const element::Type& ngraph::Output< const Node >::get_element_type ( ) const
Returns
The element type of the output referred to by this output handle.

◆ get_index()

size_t ngraph::Output< const Node >::get_index ( ) const
Returns
The index of the output referred to by this output handle.

◆ get_node()

const Node* ngraph::Output< const Node >::get_node ( ) const
Returns
A pointer to the node referred to by this output handle.

◆ get_node_shared_ptr()

std::shared_ptr<const Node> ngraph::Output< const Node >::get_node_shared_ptr ( ) const
Returns
A shared_ptr to the node referred to by this output handle.

TODO: Make a plan to deprecate this.

◆ get_partial_shape()

const PartialShape& ngraph::Output< const Node >::get_partial_shape ( ) const
Returns
The partial shape of the output referred to by this output handle.

◆ get_shape()

const Shape& ngraph::Output< const Node >::get_shape ( ) const
Returns
The shape of the output referred to by this output handle.

◆ get_target_inputs()

std::set<Input<Node> > ngraph::Output< const Node >::get_target_inputs ( ) const
Returns
A set containing handles for all inputs targeted by the output referenced by this output handle.

◆ get_tensor()

descriptor::Tensor& ngraph::Output< const Node >::get_tensor ( ) const
Returns
A reference to the tensor descriptor for this output.

◆ get_tensor_ptr()

std::shared_ptr<descriptor::Tensor> ngraph::Output< const Node >::get_tensor_ptr ( ) const
Returns
A shared point to the tensor ptr for this output.

The documentation for this class was generated from the following file: