Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ backward
Method
backward
imperative/python/test/unit/core/test_function.py:175–176 ·
view source on GitHub ↗
(self, grad_y)
Source
from the content-addressed store, hash-verified
173
return
F.round(x / scale) * scale
174
175
def
backward(self, grad_y):
176
return
grad_y
177
178
class
Simple(Module):
179
def
__init__(self, a):
Callers
15
test_advance_indexing
Function · 0.45
test_advance_indexing_with_subtensor
Function · 0.45
train
Function · 0.45
test_load_state_dict_no_cache
Function · 0.45
test_save_load
Function · 0.45
train_func
Function · 0.45
run
Function · 0.45
train_fun
Function · 0.45
train
Function · 0.45
func
Function · 0.45
runner
Function · 0.45
test_detach
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected