Public Member Functions | |
Output (Node *node, size_t index, const std::shared_ptr< Tensor > &tensor) | |
std::shared_ptr< Node > | get_node () const |
size_t | get_index () const |
ngraph::Output< Node > | get_output () const |
std::shared_ptr< Tensor > | get_tensor_ptr () const |
void | set_tensor_ptr (const std::shared_ptr< Tensor > &tensor) |
void | add_input (Input *input) |
void | remove_input (Input *input) |
const std::vector< Input * > & | get_inputs () const |
Tensor & | get_tensor () const |
const Shape & | get_shape () const |
const PartialShape & | get_partial_shape () const |
const element::Type & | get_element_type () const |
Output (const Output &)=default | |
Output (Output &&)=default | |
Output & | operator= (const Output &)=default |
Protected Attributes | |
Node * | m_node |
size_t | m_index |
std::shared_ptr< Tensor > | m_tensor |
std::vector< Input * > | m_inputs |
ngraph::descriptor::Output::Output | ( | Node * | node, |
size_t | index, | ||
const std::shared_ptr< Tensor > & | tensor | ||
) |
node | Node that owns this output. |
index | Position of the output tensor in all output tensors |
tensor | The tensor where the value will be written |
const element::Type& ngraph::descriptor::Output::get_element_type | ( | ) | const |
const PartialShape& ngraph::descriptor::Output::get_partial_shape | ( | ) | const |
const Shape& ngraph::descriptor::Output::get_shape | ( | ) | const |