Struct ov::result_shape#

template<class TShape>
struct result_shape

Get correct return type of input shape when call shape_infer.

The input shapes are vector like std::vector<TShape>, where TShape can be std::vector<const size_t> This will provide correct return especially for static shape which can work as reference to dimension or hold them.

Template Parameters:

TShape – Type of input shape.