TorchLean API

NN.Tensor.Internal.Syntax.Parser.Transform

Transformation-pattern parsing #

This module parses and proves canonical round trips for rearrange, repeat, and reduce patterns.

Parse the shared pattern language of rearrange, repeat, and reduce.

Instances For

    Parsing a successful transformation pattern's canonical rendering succeeds with the same canonical syntax.

    This applies uniformly to patterns used by rearrange, repeat, and reduce; operation-specific shape conditions belong to the checker rather than this syntax theorem.