Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
19
def
f(x):
20
""
"Approximated function."
""
21
return
x.mm(W_target) + b_target.item()
22
23
24
def
poly_desc(W, b):
Callers
1
get_batch
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected