struct ov_partial_shape

Overview

It represents a shape that may be partially or totally dynamic. A PartialShape may have: Dynamic rank. (Informal notation: ?) Static rank, but dynamic dimensions on some or all axes. (Informal notation examples: {1,2,?,4}, {?,?,?}, {-1,-1,-1}) Static rank, and static dimensions on all axes. (Informal notation examples: {1,2,3,4}, {6}, {}) More…

#include <ov_partial_shape.h>

struct ov_partial_shape
{
    // fields

    ov_rank_t rank;
    ov_dimension_t \* dims;
};

Detailed Documentation

It represents a shape that may be partially or totally dynamic. A PartialShape may have: Dynamic rank. (Informal notation: ?) Static rank, but dynamic dimensions on some or all axes. (Informal notation examples: {1,2,?,4}, {?,?,?}, {-1,-1,-1}) Static rank, and static dimensions on all axes. (Informal notation examples: {1,2,3,4}, {6}, {})

An interface to make user can initialize ov_partial_shape_t

Fields

The rank.

The dimension.