MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / fuse_add_relu

Function fuse_add_relu

imperative/python/megengine/xla/rules/elemwise.py:337–338  ·  view source on GitHub ↗
(x, y)

Source from the content-addressed store, hash-verified

335
336
337def fuse_add_relu(x, y):
338 return relu(x + y)
339
340
341def relu(inp):

Callers

nothing calls this directly

Calls 1

reluFunction · 0.70

Tested by

no test coverage detected