Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/black0017/MedicalZooPytorch
/ ELUCons
Function
ELUCons
lib/medzoo/Vnet.py:18–22 ·
view source on GitHub ↗
(elu, nchan)
Source
from the content-addressed store, hash-verified
16
17
18
def
ELUCons(elu, nchan):
19
if
elu:
20
return
nn.ELU(inplace=True)
21
else
:
22
return
nn.PReLU(nchan)
23
24
25
class
LUConv(nn.Module):
Callers
5
__init__
Method · 0.85
__init__
Method · 0.85
__init__
Method · 0.85
__init__
Method · 0.85
__init__
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected