Import Model API

Overview

The Import Model API provides the users with a mechanism to import the model built using the Model Builder UI to the SDK

Usage

from razor import dlmodels
trainer = dlmodels.import_model(name='name', display=True)

Arguments

Argument Description
name This is the name of the Model as defined by the user in the Model Builder UI
display A boolean attribute, that allows the user to view the code of the model imported when True.

Examples

Load a model from UI

trainer = dlmodels.import_model('iris', display=True)

Notes

Once the model is imported from UI, the user can use the model API's like fit and evaluate to perform train and infer operations respectievely