Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/MingchaoZhu/DeepLearning
/ loss
Method
loss
code/chapter7.py:517–518 ·
view source on GitHub ↗
(self, y_true, y_pred)
Source
from the content-addressed store, hash-verified
515
516
@abstractmethod
517
def
loss(self, y_true, y_pred):
518
return
NotImplementedError()
519
520
@abstractmethod
521
def
grad(self, y, y_pred):
Callers
2
fit
Method · 0.45
fit
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected