1 // Copyright © 2022 Apple Inc. 2 #define TORCH_ASSERT_ONLY_METHOD_OPERATORS 3 #include <ATen/native/mps/OperationUtils.h> 4 #include <ATen/native/mps/TensorFactory.h> 5 #include <c10/core/ScalarType.h> 6 #include <unordered_map> 7 8 using namespace at::mps; 9