llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
28.33k stars 11.7k forks source link

Add documentation for Linalg Ops #72240

Open superlopuh opened 10 months ago

superlopuh commented 10 months ago

Many of the operations currently are blank. Some have fairly unintuitive semantics, like the max and sum pool ops that take a tensor not for its contents but for its shape specification. Also, some seem to only be possible to lower using the transform dialect, not a linalg pass. It would be great to have some short descriptions of what each of the parameters is and what the recommended way to lower them is.

Similar in spirit to #44864

llvmbot commented 10 months ago

@llvm/issue-subscribers-mlir-linalg

Author: Sasha Lopoukhine (superlopuh)

Many of the operations currently are blank. Some have fairly unintuitive semantics, like the max and sum pool ops that take a tensor not for its contents but for its shape specification. Also, some seem to only be possible to lower using the transform dialect, not a linalg pass. It would be great to have some short descriptions of what each of the parameters is and what the recommended way to lower them is. Similar in spirit to #44864