Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ apply_op
Method
apply_op
imperative/python/megengine/module/rnn.py:284–285 ·
view source on GitHub ↗
(self, input, hx)
Source
from the content-addressed store, hash-verified
282
283
@abstractmethod
284
def
apply_op(self, input, hx):
285
raise
NotImplementedError(
"apply_op not implemented !"
)
286
287
def
_apply_fn_to_hx(self, hx, fn):
288
return
fn(hx)
Callers
1
forward
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected