toJson method

Implementation

@override
Object toJson(FineTuningHyperParam object) {
  if(object.nEpochs is String) {
    return object.toJson();
  }

  if(object.nEpochs is int) {
    return object.toJson();
  }
  throw UnimplementedError();
}