View source: R/compiler-semantic-validator.R
| validate_reduction_operation | R Documentation |
Syntactically Validate the reduction operation in the einops expression
validate_reduction_operation(einops_ast, operation)
einops_ast |
the parsed Abstract Syntax Tree (AST) of the einops expression |
operation |
the reduction operation, either a string or a function |
the input einops_ast (invisibly) if the validation passes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.