Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/64773
Remove loose `#pragma warning ( pop )` in TensorBase.h.
Reviewed By: ezyang
Differential Revision:
D30846958
fbshipit-source-id:
52a3fb66e426bc16ef7bde2a13e26e8293969026
TensorBase __dispatch_contiguous(c10::MemoryFormat) const;
};
-// For "multiple ... operators specified" warnings, closing brace of class
-// declaration must be included between pragma push & pop
-#ifdef _MSC_VER
-#pragma warning( pop )
-#endif
-
inline int64_t get_device(const TensorBase& self) {
return self.get_device();
}