(params, x)
| 79 | params = {k: v.detach() for k, v in net.named_parameters()} |
| 80 | |
| 81 | def fnet_single(params, x): |
| 82 | return functional_call(net, params, (x.unsqueeze(0),)).squeeze(0) |
| 83 | |
| 84 | ###################################################################### |
| 85 | # Compute the NTK: method 1 (Jacobian contraction) |
nothing calls this directly
no outgoing calls
no test coverage detected