MCPcopy Create free account
hub / github.com/pytorch/tutorials / func_x1

Function func_x1

intermediate_source/neural_tangent_kernels.py:199–200  ·  view source on GitHub ↗
(params)

Source from the content-addressed store, hash-verified

197def empirical_ntk_ntk_vps(func, params, x1, x2, compute='full'):
198 def get_ntk(x1, x2):
199 def func_x1(params):
200 return func(params, x1)
201
202 def func_x2(params):
203 return func(params, x2)

Callers

nothing calls this directly

Calls 1

funcFunction · 0.85

Tested by

no test coverage detected