MCPcopy
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
138class TorchBatchNormLayer(nn.Module):

Callers 15

get_gradFunction · 0.45
torch_xe_gradFunction · 0.45
torch_mse_gradFunction · 0.45
extract_gradsMethod · 0.45
extract_gradsMethod · 0.45
extract_gradsMethod · 0.45
extract_gradsMethod · 0.45
extract_gradsMethod · 0.45
extract_gradsMethod · 0.45
extract_gradsMethod · 0.45
extract_gradsMethod · 0.45
extract_gradsMethod · 0.45

Calls

no outgoing calls

Tested by 1

get_gradFunction · 0.36