View source: R/compiler-AxisNames.R
get_identifiers | R Documentation |
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, ...)
ast |
the Abstract Syntax Tree (AST) of the einops expression
positions to the |
... |
additional arguments (not used) |
an AxisNames()
of unique identifiers
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.