GoogleCloudAiplatformV1SmoothGradConfig.fromJson constructor

GoogleCloudAiplatformV1SmoothGradConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1SmoothGradConfig.fromJson(core.Map json_)
    : this(
        featureNoiseSigma: json_.containsKey('featureNoiseSigma')
            ? GoogleCloudAiplatformV1FeatureNoiseSigma.fromJson(
                json_['featureNoiseSigma']
                    as core.Map<core.String, core.dynamic>)
            : null,
        noiseSigma: json_.containsKey('noiseSigma')
            ? (json_['noiseSigma'] as core.num).toDouble()
            : null,
        noisySampleCount: json_.containsKey('noisySampleCount')
            ? json_['noisySampleCount'] as core.int
            : null,
      );