GPUSharingConfig.fromJson constructor

GPUSharingConfig.fromJson(
  1. Map json_
)

Implementation

GPUSharingConfig.fromJson(core.Map json_)
    : this(
        gpuSharingStrategy: json_.containsKey('gpuSharingStrategy')
            ? json_['gpuSharingStrategy'] as core.String
            : null,
        maxSharedClientsPerGpu: json_.containsKey('maxSharedClientsPerGpu')
            ? json_['maxSharedClientsPerGpu'] as core.String
            : null,
      );