MCPcopy Create free account
hub / github.com/Gabesarch/ICAL / get_params

Function get_params

TEACh/utils/basic.py:617–618  ·  view source on GitHub ↗
(model_part)

Source from the content-addressed store, hash-verified

615 return loc_r, loc_z, loc_y, loc_x
616
617def get_params(model_part):
618 return [copy.deepcopy(p) for p in model_part.parameters()]
619
620def check_equal(a, b):
621 # first check that the length of the two list are equal

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected