toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case Framework.tensorflow:
      return 'TENSORFLOW';
    case Framework.keras:
      return 'KERAS';
    case Framework.mxnet:
      return 'MXNET';
    case Framework.onnx:
      return 'ONNX';
    case Framework.pytorch:
      return 'PYTORCH';
    case Framework.xgboost:
      return 'XGBOOST';
    case Framework.tflite:
      return 'TFLITE';
    case Framework.darknet:
      return 'DARKNET';
    case Framework.sklearn:
      return 'SKLEARN';
  }
}