
Public Member Functions | |
| Input (Node *node, size_t index, Output &output) | |
| Input (Node *node, size_t index) | |
| Create an Input that is not connected to an output. More... | |
| std::shared_ptr< Node > | get_node () const |
| Node * | get_raw_pointer_node () const |
| size_t | get_index () const |
| const Output & | get_output () const |
| Output & | get_output () |
| bool | has_output () const |
| const Tensor & | get_tensor () const |
| Tensor & | get_tensor () |
| void | replace_output (std::shared_ptr< Node > node, size_t i) |
| Replace the current output that supplies a value for this input with output i of node. | |
| void | replace_output (Output &output) |
| Replace the current output that supplies a value for this input with output. | |
| void | remove_output () |
| Remove the output from this input. The node will not be valid until another output is supplied. | |
| bool | get_is_relevant_to_shape () const |
| bool | get_is_relevant_to_value () const |
| const Shape & | get_shape () const |
| const PartialShape & | get_partial_shape () const |
| const element::Type & | get_element_type () const |
| Input (const Input &)=default | |
| Input (Input &&)=default | |
| Input & | operator= (const Input &)=default |
Protected Member Functions | |
| std::shared_ptr< const Tensor > | get_tensor_ptr () const |
| std::shared_ptr< Tensor > | get_tensor_ptr () |
Protected Attributes | |
| std::shared_ptr< Node > | m_src_node |
| Node * | m_node |
| size_t | m_index |
| Output * | m_output |
Friends | |
| class | ngraph::Node |
| node | The node that owns this input |
| index | The position of this this tensor in all input tensors |
| output | The output that supplies a value for this input |
| ngraph::descriptor::Input::Input | ( | Node * | node, |
| size_t | index | ||
| ) |
Create an Input that is not connected to an output.
| node | The node that owns this input |
| index | The position of this this tensor in all input tensors |
| const element::Type& ngraph::descriptor::Input::get_element_type | ( | ) | const |
|
inline |
|
inline |
See Node::set_input_is_relevant_to_shape for more details.
|
inline |
See Node::set_input_is_relevant_to_value for more details.
| std::shared_ptr<Node> ngraph::descriptor::Input::get_node | ( | ) | const |
|
inline |
|
inline |
| const PartialShape& ngraph::descriptor::Input::get_partial_shape | ( | ) | const |
|
inline |
| const Shape& ngraph::descriptor::Input::get_shape | ( | ) | const |
| Tensor& ngraph::descriptor::Input::get_tensor | ( | ) |
| const Tensor& ngraph::descriptor::Input::get_tensor | ( | ) | const |
|
protected |
|
protected |
|
inline |