public class KetosWorker2 extends ArchiveModelWorker
  • Constructor Details

    • KetosWorker2

      public KetosWorker2()
  • Method Details

    • loadModel

      public org.jamdev.jdl4pam.ArchiveModel loadModel(String currentPath2) throws ai.djl.MalformedModelException, IOException
      Load a model from a file
      Overrides:
      loadModel in class ArchiveModelWorker
      Parameters:
      currentPath - - the path to the model.
      Throws:
      ai.djl.MalformedModelException
      IOException
    • makeModelParams

      public org.jamdev.jdl4pam.genericmodel.GenericModelParams makeModelParams(String jsonString)
      Create the parameters from a JSON string.
      Overrides:
      makeModelParams in class ArchiveModelWorker
      Parameters:
      jsonString - - the json string.
      Returns:
      the paramters.