Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/hanzhanggit/StackGAN
/ get_layer
Function
get_layer
misc/skipthoughts.py:249–251 ·
view source on GitHub ↗
(name)
Source
from the content-addressed store, hash-verified
247
layers = {
'gru'
: (
'param_init_gru'
,
'gru_layer'
)}
248
249
def
get_layer(name):
250
fns = layers[name]
251
return
(eval(fns[0]), eval(fns[1]))
252
253
254
def
init_params(options):
Callers
4
init_params
Function · 0.85
init_params_bi
Function · 0.85
build_encoder
Function · 0.85
build_encoder_bi
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected