docc 0.8.3 (0d44999b)
C++ API Reference
Loading...
Searching...
No Matches
sdfg::einsum::OperandContribution Struct Reference

A single consumed dimension's contribution to one operand, found during promotion. More...

#include <sdfg/einsum/einsum_detection.h>

Public Attributes

bool contributes = false
size_t index = 0
 Index position within the operand's subset it contributes to.
int64_t factor = 1
 Integer coefficient of the indvar in that index expression.

Detailed Description

A single consumed dimension's contribution to one operand, found during promotion.

contributes is false when the dimension's indvar does not appear in the operand's subset.

Member Data Documentation

◆ contributes

bool sdfg::einsum::OperandContribution::contributes = false

◆ factor

int64_t sdfg::einsum::OperandContribution::factor = 1

Integer coefficient of the indvar in that index expression.

◆ index

size_t sdfg::einsum::OperandContribution::index = 0

Index position within the operand's subset it contributes to.


The documentation for this struct was generated from the following file: