pytorch
ccad77aa - Added OperatorMap for mapping Operator to any template <T> (#58060)

Commit
3 years ago
Added OperatorMap for mapping Operator to any template <T> (#58060) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/58060 Generic way to check if Operator belongs to predefined map, and if so via public method(s) access to map value. In general value can be anything for example Operator's schema. Test Plan: buck test caffe2/test/cpp/jit:jit -- OperatorMap Reviewed By: Krovatkin Differential Revision: D28357933 fbshipit-source-id: ba3248cf06c07f16aebafccb7ae71c1245afb083
Author
Edvard Ghazaryan
Parents
Loading