AcceleratorConfig.fromJson constructor

AcceleratorConfig.fromJson(
  1. Map json_
)

Implementation

AcceleratorConfig.fromJson(core.Map json_)
    : this(
        topology: json_.containsKey('topology')
            ? json_['topology'] as core.String
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );