[Torch FX] Map Namespace Names to Metatype
Changes
Created a new dictionary in operator metatypes registry to maintain mapping of namespace and function name to metatype.
Reason for changes
For a more accurate retrieval of operation metatype.
Tests
original graph tests and metatypes were used to check the correctness of the change.
@anzr299, please fix the pre-commit: KeyError: 'PTInputNoopMetatype is already registered in input_noop_metatypes'
https://github.com/openvinotoolkit/nncf/pull/3258#discussion_r1952621554
cc' @AlexanderDokuchaev
A test case have caught the issue with an embedding model here https://github.com/ynimmaga/executorch/pull/26 @anzr299, please prioritize this fix