Enumerations¶
Below are all the enumerations that exist within the Forge codebase. These enumerations are mainly constructs for the graph backend within Forge. They are encoded within and outside the graphs.
String Enumerations
All enumerations are Python strings. Using Python string primitives improves the efficiency of encoding data within the graphs.
forge.relay.graph.enums.ActivationType
¶
forge.relay.graph.enums.OperatorType
¶
forge.relay.graph.enums.RelayExprType
¶
Bases: str
, Enum
FUNCTION = 'Function'
class-attribute
instance-attribute
¶
CALL = 'Call'
class-attribute
instance-attribute
¶
TUPLE = 'Tuple'
class-attribute
instance-attribute
¶
TUPLEGETITEM = 'TupleGetItem'
class-attribute
instance-attribute
¶
VAR = 'Var'
class-attribute
instance-attribute
¶
CONSTANT = 'Constant'
class-attribute
instance-attribute
¶
forge.relay.graph.enums.QuantizationType
¶
forge.relay.graph.enums.DataType
¶
Bases: str
, Enum