Replace `c10::ScalarType` with native equivalent
Summary: X-link: https://github.com/pytorch/pytorch/pull/117181 ## Context This change is part of a set of changes that removes all references to the `c10` library in the `api/`, `graph/`, and `impl/` folders of the PyTorch Vulkan codebase. This is to ensure that these components can be built as a standalone library such that they can be used as the foundations of a Android GPU delegate for ExecuTorch. ## Notes for Reviewers This changeset introduces `api::ScalarType` in `api/Types.h`, which is intended to function the same as `c10::ScalarType`; thus `api/Types.h` is the primary file of interest. The rest of the changes are straightforward replacements of `c10::ScalarType` with `api::ScalarType`. ghstack-source-id: 211899066 exported-using-ghexport Reviewed By: yipjustin, liuk22 Differential Revision: D52662237 fbshipit-source-id: 824b59c4595731562a64de798f4f36c9ac6065c1
S
Stephen Jia committed
96166da657f7df6a079320be31eccbcaf2a76b4a
Parent: 7a6abb4
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
on 1/11/2024, 9:35:12 PM