MCPcopy Create free account
hub / github.com/OpenMOSS/MOSS-TTS / save_file

Function save_file

scripts/fuse_moss_tts_delay_with_codec.py:78–79  ·  view source on GitHub ↗
(tensors: dict[str, torch.Tensor], filename: str)

Source from the content-addressed store, hash-verified

76
77
78def save_file(tensors: dict[str, torch.Tensor], filename: str) -> None:
79 _SAVE_FILE(tensors, filename)
80
81
82def load_json(path: Path) -> JSONDict:

Callers 4

flush_backbone_shardFunction · 0.85
flush_backbone_shardFunction · 0.85
flush_shardFunction · 0.85
export_finetuned_to_hfFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected