MCPcopy
hub / github.com/explosion/spaCy / get_all_params

Function get_all_params

spacy/tests/test_models.py:45–50  ·  view source on GitHub ↗
(model)

Source from the content-addressed store, hash-verified

43
44
45def get_all_params(model):
46 params = []
47 for node in model.walk():
48 for name in node.param_names:
49 params.append(node.get_param(name).ravel())
50 return node.ops.xp.concatenate(params)
51
52
53def get_docs():

Callers 3

get_updated_modelFunction · 0.85

Calls 1

appendMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…