GoogleCloudDocumentaiV1TrainProcessorVersionRequestFoundationModelTuningOptions.fromJson constructor

GoogleCloudDocumentaiV1TrainProcessorVersionRequestFoundationModelTuningOptions.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDocumentaiV1TrainProcessorVersionRequestFoundationModelTuningOptions.fromJson(
    core.Map json_)
    : this(
        learningRateMultiplier: json_.containsKey('learningRateMultiplier')
            ? (json_['learningRateMultiplier'] as core.num).toDouble()
            : null,
        trainSteps: json_.containsKey('trainSteps')
            ? json_['trainSteps'] as core.int
            : null,
      );