ONE - On-device Neural Engine
Loading...
Searching...
No Matches
Shape.h File Reference
#include "ir/Layout.h"
#include <cassert>
#include <cstdint>
#include <vector>
#include <algorithm>

Go to the source code of this file.

Data Structures

struct  onert::ir::FeatureShape
 Structure to have values of dimensions for feature. More...
 
struct  onert::ir::Shape
 

Namespaces

namespace  onert
 
namespace  onert::ir
 

Functions

bool onert::ir::operator== (const Shape &lhs, const Shape &rhs)
 
bool onert::ir::operator!= (const Shape &lhs, const Shape &rhs)
 
Shape onert::ir::convertShape (const Shape &shape, const PermuteType &type)
 Converts shape when its rank is 4.
 
bool onert::ir::rankMaybeUnspecified (const ir::Shape &shape)
 Find out if tha rank in this shape is "maybe" unspecified. Note that when rank == 0, shape could represent scalar or unspecified rank.