Hi, I’d like to write a custom autograd.Function so it can be called in nn.Module.
So for the mini-batch, do we need to manually write the code to support this operation or PyTorch can automatically handle it?
Thanks in advance!