A handle for one of a node's inputs. More...
#include <node_input.hpp>
Public Member Functions | |
Input (Node *node, size_t index) | |
Constructs a Input. More... | |
Node * | get_node () const |
size_t | get_index () const |
const element::Type & | get_element_type () const |
const Shape & | get_shape () const |
const PartialShape & | get_partial_shape () const |
Output< Node > | get_source_output () const |
descriptor::Tensor & | get_tensor () const |
std::shared_ptr< descriptor::Tensor > | get_tensor_ptr () const |
bool | get_is_relevant_to_shapes () const |
bool | get_is_relevant_to_values () const |
void | replace_source_output (const Output< Node > &new_source_output) const |
Replaces the source output of this input. More... | |
bool | operator== (const Input &other) const |
bool | operator!= (const Input &other) const |
bool | operator< (const Input &other) const |
bool | operator> (const Input &other) const |
bool | operator<= (const Input &other) const |
bool | operator>= (const Input &other) const |
A handle for one of a node's inputs.
ngraph::Input< Node >::Input | ( | Node * | node, |
size_t | index | ||
) |
Constructs a Input.
node | Pointer to the node for the input handle. |
index | The index of the input. |
const element::Type& ngraph::Input< Node >::get_element_type | ( | ) | const |
size_t ngraph::Input< Node >::get_index | ( | ) | const |
bool ngraph::Input< Node >::get_is_relevant_to_shapes | ( | ) | const |
bool ngraph::Input< Node >::get_is_relevant_to_values | ( | ) | const |
Node* ngraph::Input< Node >::get_node | ( | ) | const |
const PartialShape& ngraph::Input< Node >::get_partial_shape | ( | ) | const |
const Shape& ngraph::Input< Node >::get_shape | ( | ) | const |
Output<Node> ngraph::Input< Node >::get_source_output | ( | ) | const |
descriptor::Tensor& ngraph::Input< Node >::get_tensor | ( | ) | const |
std::shared_ptr<descriptor::Tensor> ngraph::Input< Node >::get_tensor_ptr | ( | ) | const |
void ngraph::Input< Node >::replace_source_output | ( | const Output< Node > & | new_source_output | ) | const |
Replaces the source output of this input.
new_source_output | A handle for the output that will replace this input's source. |