Group Shape#
- group Shape
The definitions & operations about shape.
Functions
-
ov_shape_create(const int64_t rank, const int64_t *dims, ov_shape_t *shape)#
Initialize a fully shape object, allocate space for its dimensions and set its content id dims is not null.
- Parameters:
rank â The rank value for this object, it should be more than 0(>0)
dims â The dimensions data for this shape object, itâs size should be equal to rank.
shape â The input/output shape object pointer.
- Returns:
ov_status_e The return status code.
-
ov_shape_free(ov_shape_t *shape)#
Free a shape objectâs internal memory.
- Parameters:
shape â The input shape object pointer.
- Returns:
ov_status_e The return status code.
-
struct ov_shape_t#
- #include <ov_shape.h>
Reprents a static shape.
-
ov_shape_create(const int64_t rank, const int64_t *dims, ov_shape_t *shape)#