mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
7 lines
191 B
C++
7 lines
191 B
C++
#include "caffe2/core/context_gpu.h"
|
|
#include "caffe2/operators/stop_gradient.h"
|
|
|
|
namespace caffe2 {
|
|
REGISTER_CUDA_OPERATOR(StopGradient, StopGradientOp<CUDAContext>);
|
|
} // namespace caffe2
|