MCPcopy
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

247layers = {'gru': ('param_init_gru', 'gru_layer')}
248
249def get_layer(name):
250 fns = layers[name]
251 return (eval(fns[0]), eval(fns[1]))
252
253
254def init_params(options):

Callers 4

init_paramsFunction · 0.85
init_params_biFunction · 0.85
build_encoderFunction · 0.85
build_encoder_biFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected