Also use the other arg of sub as output.
Don't discard the previous input to OuterSS().
Fix bug.
Add a mode to docgen to run the code samples in the documentation.

This alleviates copying them elsewhere to ensure they are not broken.
Add 3d correlation based on matrix multiplication
Fix errors in the gradient definition
First version of the C op tutorial.
Added C op tutorial to tutorial index.
Small fixes
Add PyDecref(cols) when an error occurs
Rename conv_gemm to corr_gemm
Update flops method
Fix typos
Fix memory leak in scan related to the input and output storage of the inner function.
Update comment in scan execute/perform.
Typo correction
Add optimization for the GpuCorr3dMM
Add GpuCorr3d optimization tests
Added explanation about required validation of inputs and outputs
Fixed typos and removed trailing whitespaces.