Thank you for your kind reply.
The activation is self.spike_fn = Surrogate_BP_Function.apply.
        for m in self.modules():
            if (isinstance(m, nn.Conv2d)):
                m.threshold = 1.0

In my opinion, the threshold is in nn.Module. I try any method to get the threshold, but I failed.
Best regards