OneSidedAstNode
object, get unique identifiersget an unordered list, representing a set of all unique identifiers on one side of the expression. Named nodes become the character representing its name, ConstantAstNode nodes are just themselves, aside from 1 which is ignored. GroupAstNode nodes are flattened, and EllipsisAstNode nodes are ignored.
get_identifiers(ast, ...)
an AxisNames()
of unique identifiers
the Abstract Syntax Tree (AST) of the einops expression
positions to the ConstantAstNode
objects in the output. This will
REMOVE all other elements in the src list.
additional arguments (not used)