MimIR
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
constraints.h File Reference
#include <mim/def.h>
Include dependency graph for constraints.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  mim
namespace  mim::plug
namespace  mim::plug::tensor
 The tensor Plugin
namespace  mim::plug::tensor::phase

Functions

bool mim::plug::tensor::phase::check_gather_shape_constraints (const Def *rank, const Def *dim, const Def *source_shape, const Def *index_shape)
 Checks statically decidable gather constraints. Returns false for unresolved relations.
bool mim::plug::tensor::phase::check_scatter_shape_constraints (const Def *rank, const Def *dim, const Def *source_shape, const Def *index_shape, const Def *updates_shape)
 Checks statically decidable scatter constraints. Returns false for unresolved relations.