MCPcopy Index your code
hub / github.com/tensorlayer/TensorLayer / str2func

Function str2func

tensorlayer/files/utils.py:91–94  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

89
90
91def str2func(s):
92 b = base64.b64decode(s)
93 expr = cloudpickle.loads(b)
94 return expr
95
96
97# def net2static_graph(network):

Callers 1

generate_funcFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…