MCPcopy Create free account
hub / github.com/pytorch/examples / f

Function f

regression/main.py:19–21  ·  view source on GitHub ↗

Approximated function.

(x)

Source from the content-addressed store, hash-verified

17
18
19def f(x):
20 """Approximated function."""
21 return x.mm(W_target) + b_target.item()
22
23
24def poly_desc(W, b):

Callers 1

get_batchFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected