modelsInUse property

Iterable<GpuModel> get modelsInUse

The GPU models in use.

Implementation

Iterable<GpuModel> get modelsInUse sync* {
  for (final p in _proxies) {
    final model = p.path.isEmpty ? null : models.get(p.path);
    if (model != null) yield model;
  }
}