Class ov::descriptor::Input¶
-
class Input¶
Public Functions
-
Input(Node *node, size_t index, Output &output)¶
- Parameters
node – The node that owns this input
index – The position of this tensor in all input tensors
output – The output that supplies a value for this input
-
Input(Node *node, size_t index)¶
Create an Input that is not connected to an output.
- Parameters
node – The node that owns this input
index – The position of this tensor in all input tensors
-
inline Node *get_raw_pointer_node() const¶
- Returns
the raw pointer to the node that this is an input of
-
inline size_t get_index() const¶
- Returns
the position within all supplied tensors of this input
-
inline bool has_output() const¶
- Returns
true if an output is connected to the input.
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.
-
inline bool get_is_relevant_to_shape() const¶
See Node::set_input_is_relevant_to_shape for more details.
- Returns
true if the value of this input is relevant to the output shapes of the corresponding node. (Usually this is false.)
-
inline bool get_is_relevant_to_value() const¶
See Node::set_input_is_relevant_to_value for more details.
- Returns
true if the value of this input is relevant to the output value of the corresponding node. (Usually this is true.)
-
const PartialShape &get_partial_shape() const¶
- Returns
the partial shape of the connected output
-
Input(Node *node, size_t index, Output &output)¶