[jit] Replace get_executor() with call() in abstract Function interface. (#65969)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/65969
ghstack-source-id: 141759210
Test Plan: no behavior change.
Reviewed By: anjali411
Differential Revision: D31326151
fbshipit-source-id: 201f6dc4c23fdb2531f6b8c73d26127f9e212de4