GoogleCloudAiplatformV1ExplanationParameters.fromJson constructor

GoogleCloudAiplatformV1ExplanationParameters.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1ExplanationParameters.fromJson(core.Map json_)
    : this(
        examples: json_.containsKey('examples')
            ? GoogleCloudAiplatformV1Examples.fromJson(
                json_['examples'] as core.Map<core.String, core.dynamic>)
            : null,
        integratedGradientsAttribution: json_
                .containsKey('integratedGradientsAttribution')
            ? GoogleCloudAiplatformV1IntegratedGradientsAttribution.fromJson(
                json_['integratedGradientsAttribution']
                    as core.Map<core.String, core.dynamic>)
            : null,
        outputIndices: json_.containsKey('outputIndices')
            ? json_['outputIndices'] as core.List
            : null,
        sampledShapleyAttribution:
            json_.containsKey('sampledShapleyAttribution')
                ? GoogleCloudAiplatformV1SampledShapleyAttribution.fromJson(
                    json_['sampledShapleyAttribution']
                        as core.Map<core.String, core.dynamic>)
                : null,
        topK: json_.containsKey('topK') ? json_['topK'] as core.int : null,
        xraiAttribution: json_.containsKey('xraiAttribution')
            ? GoogleCloudAiplatformV1XraiAttribution.fromJson(
                json_['xraiAttribution']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );