/**
 * Manages model loading processes and configurations
 * @module load
 */

import { Model } from "./model";

/**
 * Given a model path, load a model from the torch class
 * @param {*} path - Path to .pt model
 * @returns {Model} - A loaded pytorchjs model
 */
export const load = (path) => {
  return new Model(path);
};
