Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/patrickloeber/pytorchTutorial
/ 11_softmax_and_crossentropy.py
File
11_softmax_and_crossentropy.py
11_softmax_and_crossentropy.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
torch
2
import
torch.nn
as
nn
3
import
numpy
as
np
4
Callers
nothing calls this directly
Calls
5
softmax
Function · 0.85
cross_entropy
Function · 0.85
NeuralNet1
Class · 0.85
NeuralNet2
Class · 0.85
loss
Function · 0.70
Tested by
no test coverage detected