MCPcopy
hub / github.com/Omni-Avatar/OmniAvatar / to

Method to

OmniAvatar/models/model_manager.py:391–393  ·  view source on GitHub ↗
(self, device)

Source from the content-addressed store, hash-verified

389
390
391 def to(self, device):
392 for model in self.model:
393 model.to(device)
394

Callers 15

__init__Method · 0.80
forwardMethod · 0.80
merge_latentsMethod · 0.80
load_models_to_deviceMethod · 0.80
encode_imageMethod · 0.80
log_videoMethod · 0.80
register_empty_parameterFunction · 0.80
register_empty_bufferFunction · 0.80
load_state_dict_from_binFunction · 0.80
__init__Method · 0.80
offloadMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected