-
public class TrainingModule.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static TrainingModule.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final TrainingModuleload(String modelPath, String dataPath)Loads a serialized ExecuTorch Training Module from the specified path on the disk. final TrainingModuleload(String modelPath)Loads a serialized ExecuTorch training module from the specified path on the disk. -
-
Method Detail
-
load
final TrainingModule load(String modelPath, String dataPath)
Loads a serialized ExecuTorch Training Module from the specified path on the disk.
- Parameters:
modelPath- path to file that contains the serialized ExecuTorch module.dataPath- path to file that contains the ExecuTorch module external weights.
-
load
final TrainingModule load(String modelPath)
Loads a serialized ExecuTorch training module from the specified path on the disk.
- Parameters:
modelPath- path to file that contains the serialized ExecuTorch module.
-
-
-
-