mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-08 07:39:33 +01:00
Let's have some fun. Pull Request resolved: https://github.com/pytorch/pytorch/pull/78828 Approved by: https://github.com/ezyang
14 lines
235 B
C++
14 lines
235 B
C++
#pragma once
|
|
|
|
#include <ATen/core/grad_mode.h>
|
|
#include <torch/csrc/Export.h>
|
|
|
|
namespace torch {
|
|
namespace autograd {
|
|
|
|
using GradMode = at::GradMode;
|
|
using AutoGradMode = at::AutoGradMode;
|
|
|
|
} // namespace autograd
|
|
} // namespace torch
|