The documentation on implementing new backends points to RegistrationDeclaration.h
. I noticed that existing implementations register functions with slightly different signatures. For instance:
Tensor view(const Tensor & self, c10::SymIntArrayRef size);
- Is declared here for vukan the backend with
inline Tensor view(const Tensor& self_arg, IntArrayRef shape)
Is this an oversight? Is the Dispatcher intelligent enough to distinguish implemented versions?