mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 12:21:27 +01: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
|