mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 00:21:07 +01:00
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/56830 Opt into formatting on GitHub and format everything. This is a trial run before turning on formatting for more and eventually all of the codebase. Test Plan: CI Reviewed By: zertosh Differential Revision: D27979080 fbshipit-source-id: a80f0c48691c08ae8ca0af06377b87e6a2351151
24 lines
350 B
C++
24 lines
350 B
C++
#pragma once
|
|
|
|
#include <cstddef>
|
|
|
|
namespace c10 {
|
|
|
|
struct in_place_t {
|
|
explicit in_place_t() = default;
|
|
};
|
|
|
|
template <std::size_t I>
|
|
struct in_place_index_t {
|
|
explicit in_place_index_t() = default;
|
|
};
|
|
|
|
template <typename T>
|
|
struct in_place_type_t {
|
|
explicit in_place_type_t() = default;
|
|
};
|
|
|
|
constexpr in_place_t in_place{};
|
|
|
|
} // namespace c10
|