Shortcuts

Program Listing for File Types.h

Return to documentation for file (aten/src/ATen/cudnn/Types.h)

#pragma once

#include <ATen/cudnn/cudnn-wrapper.h>
#include <ATen/Tensor.h>

namespace at { namespace native {

TORCH_CUDA_CPP_API cudnnDataType_t
getCudnnDataTypeFromScalarType(const at::ScalarType dtype);
cudnnDataType_t getCudnnDataType(const at::Tensor& tensor);

int64_t cudnn_version();

}}  // namespace at::cudnn

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources