Also match the gradient output to the input, in terms of memory layout
Attach a file by drag & drop or click to upload