AcceleratorConfig.fromJson constructor
AcceleratorConfig.fromJson(
- Map json_
Implementation
AcceleratorConfig.fromJson(core.Map json_)
: this(
acceleratorCount: json_.containsKey('acceleratorCount')
? json_['acceleratorCount'] as core.int
: null,
acceleratorType: json_.containsKey('acceleratorType')
? json_['acceleratorType'] as core.String
: null,
);