Package 

Object TrainingModule.Companion

    • Method Summary

      Modifier and Type Method Description
      final TrainingModule load(String modelPath, String dataPath) Loads a serialized ExecuTorch Training Module from the specified path on the disk.
      final TrainingModule load(String modelPath) Loads a serialized ExecuTorch training module from the specified path on the disk.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.