API Reference¶
-
mlsquare.imly.
dope
(model, **kwargs)[source]¶ Transpiles a given model to it’s DNN equivalent.
Parameters: - model (class) – The primal model passed by the user that needs to be transpiled.
- using (str) – Choice of type of “model transpilation” you want your model to undergo.
- accepts None and 'dnn' as values. (Currently) –
- None: Returns the model as it is.
- dnn (default): Converts the model to it’s DNN equivalent.
- best (bool) – Whether to optmize the model or not.
- **kwargs (dict) – Dictionary of parameters mapped to their keras params.
Returns: The transpiled model.
Return type: model (class)