Group Layout

group ov_layout_c_api

The definitions & operations about layout.

Functions

ov_layout_create(const char *layout_desc, ov_layout_t **layout)

Create a layout object.

Parameters
  • layout – The layout input pointer.

  • layout_desc – The description of layout.

Returns

ov_status_e a status code, return OK if successful

ov_layout_free(ov_layout_t *layout)

Free layout object.

Parameters

layout – will be released.

ov_layout_to_string(const ov_layout_t *layout)

Convert layout object to a readable string.

Parameters

layout – will be converted.

Returns

string that describes the layout content.

struct ov_layout_t
#include <ov_layout.h>

type define ov_layout_t from ov_layout