bytedeco/javacpp

How to replace deprecated "new Context(Device.TYPE_GPU)"

Open

#645 创建于 2022年12月15日

在 GitHub 查看
 (5 评论) (0 反应) (0 负责人)Java (620 fork)batch import
help wantedquestion

仓库指标

Star
 (4,279 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

I used the constructor "new Context(int dtype)" to get information about installed GPU devices. However, in current version this constructor is deprecated. How can I replace this call in modern API?

贡献者指南