numexprは環境によってはCPU上でtorchよりも早く動く可能性があるので,(安全性度外視で)ダメ押しの高速化をどうしても行いたいときのみ使いましょう. Register as a new user and use Qiita more conveniently You get articles that match your needs ...