getModel
Gets a model package.
Example
const upscaler = new Upscaler();
upscaler.getModel().then(modelPackage => {
console.log(modelPackage);
})
Returns
Promise<ModelPackage>
- a modelPackage object of shape { model: tf.LayersModel, modelDefinition: ModelDefinition }