Add operator selection ability to gen_unboxing (#74271)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/74271
Add operator selection ability to gen_unboxing:
- Adds ability to pass in selected_operators.yaml to gen_aten_unboxing_files target
- Creates a selective builder using the selected_operators.yaml in gen_unboxing.py and uses the selective builder to select native functions for codegen
Test Plan: Used selected_operators.yaml used in oacr_service target and ensured the codegen only generated code for included ops
Reviewed By: larryliu0820
Differential Revision: D34809772
fbshipit-source-id: c8d58e9693730b3d5b55f77ea057ee14a5ee1337
(cherry picked from commit 96f8494c21239ba4da7e61df38ddcf47c0f4db9f)