The backward kernel should be defined here. I don’t know how exactly SliceBackward0 is generated, but it should be located in torch/csrc/autograd/generated/Functions.cpp (or a related file) in a local source build. @albanD might know details about the internals how the auto-generated method calls into the kernel.
That is correct!
SliceBackward0 is the autograd “Node” that goes into the “autograd graph”
While at::slice_backward() is the aten op being called by this node to perform the computations it needs to perform.