Node

Detailed Documentation

The definitions & operations about node.

Global Functions

const ov_output_const_port_t \*ov_shape_t \* ov_const_port_get_shape(, )

Get the shape of port object.

Parameters:

port

A pointer to ov_output_const_port_t.

tensor_shape

tensor shape.

Returns:

Status code of the operation: OK(0) for success.

const ov_output_port_t \*ov_shape_t \* ov_port_get_shape(, )

Get the shape of port object.

Parameters:

port

A pointer to ov_output_port_t.

tensor_shape

tensor shape.

Returns:

Status code of the operation: OK(0) for success.

const ov_output_const_port_t \*char \*\* ov_port_get_any_name(, )

Get the tensor name of port.

Parameters:

port

A pointer to the ov_output_const_port_t.

tensor_name

A pointer to the tensor name.

Returns:

Status code of the operation: OK(0) for success.

const ov_output_const_port_t \*ov_partial_shape_t \* ov_port_get_partial_shape(
    ,

    )

Get the partial shape of port.

Parameters:

port

A pointer to the ov_output_const_port_t.

partial_shape

Partial shape.

Returns:

Status code of the operation: OK(0) for success.

const ov_output_const_port_t \*ov_element_type_e \* ov_port_get_element_type(, )

Get the tensor type of port.

Parameters:

port

A pointer to the ov_output_const_port_t.

tensor_type

tensor type.

Returns:

Status code of the operation: OK(0) for success.

ov_output_port_t \* ov_output_port_free()

free port object

Parameters:

port

The pointer to the instance of the ov_output_port_t to free.

ov_output_const_port_t \* ov_output_const_port_free()

free const port

Parameters:

port

The pointer to the instance of the ov_output_const_port_t to free.