Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/pytorch/tutorials
/ per_sample_grads.py
File
per_sample_grads.py
intermediate_source/per_sample_grads.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
# -*- coding: utf-8 -*-
2
""
"
3
Per-sample-gradients
4
====================
Callers
nothing calls this directly
Calls
6
SimpleCNN
Class · 0.85
loss_fn
Function · 0.85
compute_sample_grads
Function · 0.85
get_perf
Function · 0.70
model
Function · 0.50
backward
Method · 0.45
Tested by
no test coverage detected