Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Oneflow-Inc/oneflow
/ acc_grad
Method
acc_grad
oneflow/core/framework/tensor_impl.cpp:52–52 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
50
}
51
52
Maybe<Tensor> TensorImpl::acc_grad() const { return autograd_meta_->acc_grad(); }
53
54
Maybe<TensorArg> TensorImpl::current_grad() const { return autograd_meta_->current_grad(); }
55
Callers
4
CopyOrAccGrad
Function · 0.45
AccGrad4LeafTensor
Method · 0.45
PyTensorObject_zero_grad
Function · 0.45
PyTensorObject_grad
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected