Variable.backward

computes gradients of creator variables w.r.t. this variable

  1. void backward(UntypedVariable* grad, size_t pos)
  2. void backward()
    struct Variable(T, size_t dim, alias Storage = HostStorage, SliceKind kind = Contiguous)
    static if(dim == 0)
    void
    backward
    ()

Meta