MCPcopy
hub / github.com/hunkim/PyTorchZeroToAll / 03_auto_gradient.py

File 03_auto_gradient.py

03_auto_gradient.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import torch
2import pdb
3
4x_data = [1.0, 2.0, 3.0]

Callers

nothing calls this directly

Calls 2

forwardFunction · 0.70
lossFunction · 0.70

Tested by

no test coverage detected