Layout

Overview

The definitions & operations about layout. More…

// structs

struct ov_layout_t;

// global functions

ov_layout_create(const char \* layout_desc, ov_layout_t \*\* layout);
ov_layout_free(ov_layout_t \* layout);
ov_layout_to_string(const ov_layout_t \* layout);

Detailed Documentation

The definitions & operations about layout.

Global 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.