Parse-shape reports #
This module reports the ordered axis bindings certified by parse_shape.
def
TorchLean.Tensor.Internal.Report.Impl.decodeNameLength
(expression : Lean.Expr)
:
Lean.MetaM (Option (String × ℕ))
Decode one reflected (axis name, length) parse-shape binding.
Instances For
Decode one source axis retained by parse-shape ellipsis expansion.
Instances For
Describe one parse-shape position after ellipsis expansion.
Instances For
def
TorchLean.Tensor.Internal.Report.Impl.concreteParseShapeReport
(pattern inputShapeExpression : Lean.Expr)
:
Decode the structural parse-shape check. The tensor scalar term is absent because this operation inspects only static shape metadata.