Variable.gradVariable

get gradient as variable

struct Variable(T, size_t dim, alias Storage = HostStorage, SliceKind kind = Contiguous)
gradVariable
(
bool requiresGrad = false
)

Meta