operator + method
Implementation
operator +(Object other) {
final effectiveOther = _fromObject(other);
final out = Value(data + effectiveOther.data, {
this,
effectiveOther,
}, ValueOperation.add);
out.localBackward = () {
grad += out.grad;
effectiveOther.grad += out.grad;
};
return out;
}