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
jit
passes
specialize_autogradzero.h
1
#pragma once
2
3
#include <torch/csrc/jit/ir.h>
4
5
namespace
torch
{
6
namespace
jit {
7
8
// propagate autograd zero information through a gradient graph and
9
// remove grad_of blocks if present.
10
// Note: this is a very limited pass. It only propagates autograd zeros for
11
// operations generated by the symbolic autodiff code and cleans up
12
// AutogradAdds when possible. Outputs of other nodes are conservatively
13
// marked Unknown and not optimized.
14
TORCH_API
void
specializeAutogradZero(Graph& g);
15
16
}
// namespace jit
17
}
// namespace torch
torch
Definition:
jit_type.h:17
Generated on Thu Mar 21 2019 13:06:23 for Caffe2 - C++ API by
1.8.11