toFramework method
Implementation
Framework toFramework() {
switch (this) {
case 'TENSORFLOW':
return Framework.tensorflow;
case 'KERAS':
return Framework.keras;
case 'MXNET':
return Framework.mxnet;
case 'ONNX':
return Framework.onnx;
case 'PYTORCH':
return Framework.pytorch;
case 'XGBOOST':
return Framework.xgboost;
case 'TFLITE':
return Framework.tflite;
case 'DARKNET':
return Framework.darknet;
case 'SKLEARN':
return Framework.sklearn;
}
throw Exception('$this is not known in enum Framework');
}