Result

Result  // Allow a value to be a result


Description¶

Captures a value for use as a function result. The output of the op is the same as the input.

Inputs¶

Name

Element Type

Shape

arg

Any

Any

Outputs¶

Name

Element Type

Shape

output

Same as arg

Same as arg

Mathematical Definition¶

$\mathtt{output} = \mathtt{arg}$

C++ Interface¶

class Result : public ngraph::op::Op

Public Functions

const NodeTypeInfo &get_type_info() const

Returns the NodeTypeInfo for the node’s class. During transition to type_info, returns a dummy type_info for Node if the class has not been updated yet.

Result()

Allows a value to be used as a function result.

Result(const Output<Node> &arg, bool needs_default_layout = false)

Allows a value to be used as a function result.

Parameters
• arg: Node that produces the input tensor.

void validate_and_infer_types()

Throws if the node is invalid.