File size: 275 Bytes
2e1dc7f
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from enum import Enum


class ConditioningMethod(Enum):

    INPUT_PREPEND = "input_prepend"
    INPUT_SUM = "input_sum"
    CROSS_ATTENTION = "cross_attention"


if __name__ == "__main__":
    c = ConditioningMethod.INPUT_PREPEND
    print(f'{c=}')
    print(f'{c.value=}')