MCPcopy Create free account
hub / github.com/OpenGVLab/HumanBench / iter_params

Function iter_params

PATH/core/fp16/utils.py:54–57  ·  view source on GitHub ↗
(param_groups)

Source from the content-addressed store, hash-verified

52 return x[0]
53
54def iter_params(param_groups):
55 for group in param_groups:
56 for p in group['params']:
57 yield p
58
59def is_fp_tensor(x):
60 if is_nested(x):

Callers 1

unscale_and_updateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected