Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/ddbourgin/numpy-ml
/ backward
Method
backward
numpy_ml/tests/nn_torch_models.py:134–135 ·
view source on GitHub ↗
(grad_output)
Source
from the content-addressed store, hash-verified
132
133
@staticmethod
134
def
backward(grad_output):
135
return
torch.ones_like(grad_output)
136
137
138
class
TorchBatchNormLayer(nn.Module):
Callers
15
get_grad
Function · 0.45
torch_xe_grad
Function · 0.45
torch_mse_grad
Function · 0.45
extract_grads
Method · 0.45
extract_grads
Method · 0.45
extract_grads
Method · 0.45
extract_grads
Method · 0.45
extract_grads
Method · 0.45
extract_grads
Method · 0.45
extract_grads
Method · 0.45
extract_grads
Method · 0.45
extract_grads
Method · 0.45
Calls
no outgoing calls
Tested by
1
get_grad
Function · 0.36