toJson method

  1. @override
Object toJson()

Implementation

@override
Object toJson() => {
  'sampledShapleyAttribution': ?sampledShapleyAttribution?.toJson(),
  'integratedGradientsAttribution': ?integratedGradientsAttribution?.toJson(),
  'xraiAttribution': ?xraiAttribution?.toJson(),
  'examples': ?examples?.toJson(),
  if (topK.isNotDefault) 'topK': topK,
  'outputIndices': ?outputIndices?.toJson(),
};