Caffe2 - C++ API
A deep learning, cross platform ML framework
Related Pages
Modules
Data Structures
Files
C++ API
Python API
GitHub
File List
Globals
torch
csrc
autograd
functions
accumulate_grad.h
1
#pragma once
2
3
#include <torch/csrc/autograd/function.h>
4
#include <torch/csrc/autograd/variable.h>
5
6
namespace
torch
{
namespace
autograd {
7
8
struct
AccumulateGrad
:
public
Function {
9
explicit
AccumulateGrad
(
Variable
variable_);
10
11
variable_list apply(variable_list&& grads)
override
;
12
13
Variable
variable;
14
};
15
16
}}
// namespace torch::autograd
torch::autograd::Variable
Variable A Variable augments a Tensor with the ability to interact in our autograd machinery...
Definition:
variable.h:85
torch
Definition:
jit_type.h:17
torch::autograd::AccumulateGrad
Definition:
accumulate_grad.h:8
Generated on Thu Mar 21 2019 13:06:22 for Caffe2 - C++ API by
1.8.11