Group Node#

group ov_node_c_api

The definitions & operations about node.

Functions

ov_const_port_get_shape(const ov_output_const_port_t *port, ov_shape_t *tensor_shape)#

Get the shape of port object.

Parameters:
Returns:

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

ov_port_get_shape(const ov_output_port_t *port, ov_shape_t *tensor_shape)#

Get the shape of port object.

Parameters:
Returns:

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

ov_port_get_any_name(const ov_output_const_port_t *port, char **tensor_name)#

Get the tensor name of port.

Parameters:
Returns:

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

ov_port_get_partial_shape(const ov_output_const_port_t *port, ov_partial_shape_t *partial_shape)#

Get the partial shape of port.

Parameters:
Returns:

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

ov_port_get_element_type(const ov_output_const_port_t *port, ov_element_type_e *tensor_type)#

Get the tensor type of port.

Parameters:
Returns:

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

ov_output_port_free(ov_output_port_t *port)#

free port object

Parameters:

port – The pointer to the instance of the ov_output_port_t to free.

ov_output_const_port_free(ov_output_const_port_t *port)#

free const port

Parameters:

port – The pointer to the instance of the ov_output_const_port_t to free.

struct ov_output_const_port_t#
#include <ov_node.h>

type define ov_output_const_port_t from ov_output_const_port

struct ov_output_port_t#
#include <ov_node.h>

type define ov_output_port_t from ov_output_port