#pragma once #include namespace at { namespace detail { TORCH_CUDA_CPP_API TensorBase empty_cuda( IntArrayRef size, ScalarType dtype, c10::optional device_opt, c10::optional memory_format_opt); TORCH_CUDA_CPP_API TensorBase empty_cuda( IntArrayRef size, c10::optional dtype_opt, c10::optional layout_opt, c10::optional device_opt, c10::optional pin_memory_opt, c10::optional memory_format_opt); TORCH_CUDA_CPP_API TensorBase empty_cuda( IntArrayRef size, const TensorOptions &options); TORCH_CUDA_CPP_API TensorBase empty_strided_cuda( IntArrayRef size, IntArrayRef stride, ScalarType dtype, c10::optional device_opt); TORCH_CUDA_CPP_API TensorBase empty_strided_cuda( IntArrayRef size, IntArrayRef stride, c10::optional dtype_opt, c10::optional layout_opt, c10::optional device_opt, c10::optional pin_memory_opt); TORCH_CUDA_CPP_API TensorBase empty_strided_cuda( IntArrayRef size, IntArrayRef stride, const TensorOptions &options); }} // namespace at::detail