fromJson method

Implementation

@override
FineTuningHyperParam fromJson(Object json) {
  if(json is String) {
    return FineTuningHyperParam(nEpochs: json);
  }
  else if (json is int) {
    return FineTuningHyperParam(nEpochs: json);
  }

  throw UnimplementedError();
}