         37800 function calls (37790 primitive calls) in 0.692 seconds

   Ordered by: internal time
   List reduced from 246 to 45 due to restriction <45>

   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
        1    0.308    0.308    0.351    0.351 {method 'run_backward' of 'torch._C._EngineBase' objects}
        1    0.100    0.100    0.337    0.337 /workspace/src/snnlab/sim/execution.py:3441(_forward)
      512    0.084    0.000    0.210    0.000 /workspace/src/snnlab/sim/models.py:133(lif_step_expeuler)
      508    0.019    0.000    0.042    0.000 /workspace/src/snnlab/sim/models.py:48(backward)
     1532    0.016    0.000    0.031    0.000 /usr/local/lib/python3.12/site-packages/torch/_tensor.py:1118(__rdiv__)
     1532    0.015    0.000    0.015    0.000 {method 'reciprocal' of 'torch._C.TensorBase' objects}
     1541    0.014    0.000    0.014    0.000 {built-in method torch.zeros_like}
     1024    0.013    0.000    0.013    0.000 {built-in method torch.where}
     1030    0.012    0.000    0.012    0.000 {method 'clamp' of 'torch._C.TensorBase' objects}
     1024    0.012    0.000    0.012    0.000 {method 'float' of 'torch._C.TensorBase' objects}
      512    0.010    0.000    0.039    0.000 /workspace/src/snnlab/sim/kernels.py:75(<lambda>)
     1024    0.010    0.000    0.010    0.000 {built-in method torch.full_like}
     1024    0.009    0.000    0.009    0.000 {method 'bool' of 'torch._C.TensorBase' objects}
      512    0.008    0.000    0.015    0.000 /workspace/src/snnlab/sim/models.py:40(forward)
      512    0.007    0.000    0.007    0.000 {built-in method torch.rsub}
      508    0.006    0.000    0.006    0.000 {method 'abs' of 'torch._C.TensorBase' objects}
      512    0.006    0.000    0.020    0.000 {built-in method apply}
      508    0.006    0.000    0.006    0.000 {method 'pow' of 'torch._C.TensorBase' objects}
      512    0.005    0.000    0.005    0.000 {built-in method torch.exp}
      128    0.005    0.000    0.006    0.000 /workspace/src/snnlab/sim/kernels.py:48(step)
      512    0.004    0.000    0.214    0.000 /workspace/src/snnlab/sim/kernels.py:60(step)
     2552    0.004    0.000    0.048    0.000 /usr/local/lib/python3.12/site-packages/torch/_tensor.py:40(wrapped)
      512    0.002    0.000    0.027    0.000 /usr/local/lib/python3.12/site-packages/torch/autograd/function.py:567(apply)
      508    0.002    0.000    0.043    0.000 /usr/local/lib/python3.12/site-packages/torch/autograd/function.py:302(apply)
      512    0.001    0.000    0.003    0.000 /usr/local/lib/python3.12/site-packages/torch/_functorch/utils.py:32(unwrap_dead_wrappers)
      513    0.001    0.000    0.001    0.000 {built-in method torch._C._are_functorch_transforms_active}
     2560    0.001    0.000    0.002    0.000 /usr/local/lib/python3.12/site-packages/torch/_functorch/utils.py:34(<genexpr>)
      640    0.001    0.000    0.001    0.000 /workspace/src/snnlab/sim/execution.py:2899(push)
      512    0.001    0.000    0.028    0.000 /workspace/src/snnlab/sim/models.py:55(fast_sigmoid_spike)
      784    0.001    0.000    0.001    0.000 {method 'append' of 'list' objects}
      640    0.001    0.000    0.001    0.000 /workspace/src/snnlab/sim/execution.py:3702(intervene)
     2468    0.001    0.000    0.001    0.000 {method 'get' of 'dict' objects}
     2552    0.001    0.000    0.001    0.000 {built-in method torch._C._has_torch_function}
      949    0.001    0.000    0.001    0.000 {method 'partition' of 'str' objects}
     2154    0.001    0.000    0.001    0.000 {built-in method builtins.isinstance}
      512    0.001    0.000    0.001    0.000 {built-in method torch._C._functorch.unwrap_if_dead}
      512    0.000    0.000    0.007    0.000 /usr/local/lib/python3.12/site-packages/torch/_tensor.py:1114(__rsub__)
      512    0.000    0.000    0.000    0.000 /usr/local/lib/python3.12/site-packages/torch/autograd/function.py:600(_is_setup_context_defined)
        1    0.000    0.000    0.338    0.338 /workspace/src/snnlab/sim/execution.py:3406(forward)
      512    0.000    0.000    0.028    0.000 /workspace/src/snnlab/sim/extensions.py:67(<lambda>)
        3    0.000    0.000    0.000    0.000 /workspace/src/snnlab/sim/execution.py:1771(_signal_axes)
       18    0.000    0.000    0.000    0.000 {built-in method torch.zeros}
        1    0.000    0.000    0.000    0.000 {built-in method torch.stack}
        1    0.000    0.000    0.000    0.000 {built-in method torch._C._group_tensors_by_device_and_dtype}
      512    0.000    0.000    0.000    0.000 /usr/local/lib/python3.12/site-packages/torch/autograd/function.py:40(save_for_backward)
