mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
This PR follows #116751. Pull Request resolved: https://github.com/pytorch/pytorch/pull/116486 Approved by: https://github.com/albanD
12 lines
210 B
C++
12 lines
210 B
C++
#pragma once
|
|
|
|
#include <ATen/core/grad_mode.h>
|
|
#include <torch/csrc/Export.h>
|
|
|
|
namespace torch::autograd {
|
|
|
|
using GradMode = at::GradMode;
|
|
using AutoGradMode = at::AutoGradMode;
|
|
|
|
} // namespace torch::autograd
|